*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    width: 100%;
    height: 100%;
    background: #232323;
}

#main{
    height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 50px;
}

.inner-box{
    height: 80vh;
    background-position: center!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    flex: 1;
    transition: all 1s ease-in;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
}

.inner-box h3{
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 2px black;
    opacity: 0;

}

.inner-box.active{
    flex: 5;
}


.inner-box.active h3{
    opacity: 1;
    transition: opacity 2s ease;
}

#back{
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#back a{
    color: aqua;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

@media (max-width: 500px){
    #main{
        flex-direction: column;
        justify-content: center;
        padding: 50px 10px;
    }

    .inner-box{
        height: 15%;
        width: 100%;
    }

    .inner-box.active{
        width: 100%;
    }
}

