#main{
    background-color: #E6E6E6;
    height: 720px;
    position: relative;
    padding: 35px 0;
}

#container{
    width: 1740px;
    height: 710px ;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    border-radius: 20px;
}

#container img{
    width: 510px;
    height: 640px;
    margin: 30px;
    object-fit: cover;
    border-radius: 10px;
}

#texts{
    padding: 30px 0px;
    width: 1200px;
}

#texts h1{
    display: inline;
    font-size: 70px;
    font-weight: normal;
    color: #016E95;
    text-transform: uppercase;
}

#texts h2{
    display: inline;
    color: #707070;
    font-size: 40px;
    font-weight: normal;
}

#texts p{
    color: #707070;
    font-size: 40px;
}

@media only screen and (max-width: 900px){
    #main{
        background-color: #E6E6E6;
        height: max-content;
        position: relative;
        padding: 5vw 0;
    }
    
    #container{
        width: 90vw;
        height: max-content ;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin: 0 auto;
        border-radius: 4vw;
    }
    
    #container img{
        width: 90%;
        height: 100vw;
        margin: 5%;
        object-fit: cover;
        border-radius: 3vw;
    }
    
    #texts{
        padding: 5% 5%;
        width: 90%;
    }
    
    #texts h1{
        display: inline;
        font-size: 10vw;
        font-weight: normal;
        color: #016E95;
        text-transform: uppercase;
    }
    
    #texts h2{
        display: inline;
        color: #707070;
        font-size: 5vw;
        font-weight: normal;
    }
    
    #texts p{
        color: #707070;
        font-size: 5vw;
    }
    
}
