@import url('http://fonts.cdnfonts.com/css/poppins');
                

body{
    font-family: 'Poppins', sans-serif;                                        
}
.form-group{
        margin: 1.3rem;
}
.form-group .btn{
    width: 100%;
}
.modal-body{
    padding: 2rem .5rem 1.8rem .5rem;
}
#container{
    min-height: 100vh;
    min-width: 100%;
    background-color: #d9d9d9;
    padding: 2rem;
}
#section1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem; 
}
._brand{
    width: 100px;
    margin-left: 30%;
}
#section{
    display: none;
}
.text{
    margin: 30% 0 0 10%;
}
.text .desktop{
    display: block;
    font-size: 3rem;
    color: #4f5259;
}
.text div{
    display: none;
}
.image{
    margin: 10% 0 0 10%;
    width: 400px;
    height: 500px;
}
.image img{
    width: 300px;
    height: 500px;
}
.btns{
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: .3rem;
    color: #000000;
    padding: .5rem 1.5rem;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
.modal-content{
    background: #d9d9d9;;
    margin: 20% 4%;
}
.my_form{
    color: #000000;
    font-size: 1rem;
    border-radius: .5rem;  
}
.my_form::placeholder{
    color: #000000;
    font-size: .65rem;
}

@media only screen and (max-width: 768px) {
    #container{
        padding: 1rem;
    }
    .image{
        margin: 10% 8% 0 8%;
        width: 200px;
        height: 500px;
    }
    .image img{
        width: 200px;
        height: 500px;
    }
    .text .desktop{
        display: block;
        font-size: 2rem;
        color: #4f5259;
    }
    .btns{
        margin: 3px 1px;
    }
    .modal-dialog{
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .modal-content{
        margin: 45% 1%;
    }
}

@media only screen and (max-width: 480px) {
    #container{
        padding: 1rem;
        padding-top: 25%;
    }
   
    #section{
        display: block;
        margin: 2% 0 0 8%;
    }
    #section1{
        gap: .2rem; 
    }
    .text{
        margin: 25% 0 0 3%;
        line-height: 1.3;
    }
    .text .desktop{
        display: none;
    }
    .text div{
        display: block;
    }
    .text .mobile1{
        font-size: 1.5rem;
        font-weight: 600;
        color: #4f5259;
    }
    .text .mobile2{
        font-size: 1rem;
        font-weight: 600;
        color: #4f5259;
    }
    .descr{
        font-size: .6rem;
        line-height: 2;
    }
    #section1 .logi_text{
        display: none;
    }
    .image{
        margin: 10% 5% 0 6%;
        width: 100px;
        height: 300px;
    }
    .image img{
        width: 100px;
        height: 280px;
    }
}

@media only screen and (max-width: 280px) {
    .modal-dialog{
        padding-left: .3rem;
        padding-right: .3rem;
    }
    .modal-content{
        margin: 50% 0;
    }
    .my_form::placeholder{
        color: #000000;
        font-size: .5rem;
    }
}