body{
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 23px auto;
    font-family: 'Raleway', sans-serif;
    margin: 20px 0px 50px 12px;
}

header img{
    height: clamp(25px,21px + 2vw,60px);
}

header ul{
    padding: auto;
}

header ul li{
    display: inline-block;
    font-size: clamp(12px, 2vw ,45px);
    list-style: none;
    margin-right: max(2vw,13px);
    
}
header a{
    text-decoration: none;
    color:  hsl(243, 87%, 12%);
}


footer a,
a:hover{
    text-decoration: underline;
}





.sec2,
.sec1{
    
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 50px;
}
.sec2 div,
.sec1 div{
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.sec2 .img,
.sec1 .img{
    margin-right: 30px;
    width: min(520px,40%);
}



aside input,
.sec1 input{
    height: 25px;
    border: none;
    padding: 5px;
    box-shadow: 0px 0px 8px 0px black;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

input::placeholder{
    color: rgb(187, 185, 185);
}


aside button,
.sec1 button{

    width: 105px;
    padding: 10px;
    margin-top: 10px;
    margin-left: 5px;
    border: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    color: white;
    background-color: hsl(224, 93%, 58%);
}

aside button:hover,
.sec1 button:hover{
    background-color: hsl(224, 96%, 73%);
}

input:indeterminate{
    border-color: red;
}

.bg-desktop{
    height: 77px;
    width: 100%;
}

.sec2{
    position: relative;
    bottom: 5px;
    background-color: #F8F8FE;
    margin-bottom: 0px;
    padding-bottom: 40px;
}

.sec2 .img{
    height: 600px;
}

h2{
    margin-top: 5px;
}
.sec2 p{
    opacity: .8;
    width: min(400px,60%);
}

.sec2 a{
    color:  hsl(170, 45%, 43%);
    text-decoration: none;
}

.sec2 a:hover{
    opacity: .8;
}

.sec2 .arrow-div{
    margin-left: 0;
    width:170px;
    flex-direction: row;
    border-bottom: 1px solid hsl(170, 45%, 43%);
}

.sec2 .arrow-div img{
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

article{
    box-sizing: border-box;
    margin: 30px 0;
    width:250px ;
    height: 240px;
    background-color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    box-shadow: 0px 2px 10px 0px black;
    padding:25px ;
}

.quotes{
    width: 20px ;
    margin-right: 0;
}

article p{
    font-size: 15px;
    color:  hsl(243, 87%, 12%);
    width:initial !important; 
    opacity: 1 !important;
}

article img{
    width: 40px;
    
    display: inline;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
}


article span{
    position: relative;
    display: inline-block;
    font-size: 15px;
    bottom: 22px;
    left: 55px;
}


article span:first-of-type{
    color: hsl(243, 87%, 12%);
    left: 10px;
}

article span:last-of-type{
    font-size: 10px;
}

aside{
    display: flex;
    position: relative;
    bottom:5px ;
    box-sizing: border-box;
    color: white;
    background-color: hsl(238, 22%, 44%);
    padding: 45px;
}

aside div{
    flex-basis: min(660px,60%);
}

h3{
    font-size: 1.5em;
    margin: 0;
}

aside p {
    opacity: .8;
    width: min(500px,60%);
    
}

aside form{
    flex-basis:  min(400px,40%);
}

aside input{
    height:40px;
    width: 100%;
    padding: 1px;
}



aside button{
    width: min(200px,150px);

}

footer{
    padding: 30px;
    position: relative;
    bottom: 5px;
    background-color:hsl(243, 87%, 12%);
    
}

footer .footer-div{
    display: flex;
    justify-content: space-between;
    text-align: center;
    
}






footer .footer-div ul{
    padding-left: 0;
    
}

footer .footer-div ul li{
    font-size: clamp(12px, 2vw ,45px);
    list-style: none;
    margin-bottom: 15px;
}

footer a{
    text-decoration: none;
    margin-left: 12px;
    color: #fff;
}

footer a:hover{
    color: hsl(238, 22%, 44%);
}

footer .footer-div div:last-of-type{
    display: flex;
    flex-basis: 255px;
}

.footer-icon{
    display: flex;
    /* flex-direction: row; (is th default value)*/
}

svg{
    width: 31px;
    padding: 4.5px;
    border: 0.1px solid #fff;
    border-radius: 50%;
    height: 26px;
}

svg:hover{
    border-color: hsl(224, 93%, 58%);
}


@media  screen and (max-width:500px) {
    .sec2 .img,
    .sec1 .img{
        margin: 20px 8%;
        width: 86%;

    }
    .sec2,
    .sec1{
        text-align: center;
        flex-direction: column;
    }
    .sec1 div,
    .sec2 div{
        margin-left: 0;
    }
    form{
        display: flex;
        flex-direction: column;
    }
    .sec1 input{
        width: 80%;
        margin: auto 10%;
        margin-top: 10px;
    }
    .sec1 button{
        width: 80%;
        margin: auto 10%;
        margin-top: 20px;
    }
    .sec2{
        background-image: url('/images/bg-curve-mobile.svg');
    }
    .sec2 h2{
        margin-top: 40px;
    }
    .sec2 p{
        width:initial;
    }
    .sec2 .arrow-div{
        margin: 40px auto;
    }
    article{
        margin: 30px auto;
    }
    article img{
        margin-right: 14px;
    }
    
    
    article span{
        left: 42px;
    }
    
    
    article span:first-of-type{
        
        left: -2px;
    }

    aside{
        flex-direction: column;
        text-align: center;
    }
    aside p{
        width: initial;
        margin-bottom: 30px;
    }
    aside input,
    aside button{
        height: 30px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    img[alt='footer-logo']{
        margin-bottom: 20px;
    }
    footer .footer-div{
        flex-direction: column;
    }
    footer .footer-div  div:last-of-type {
        flex-basis: 0px;
        justify-content: center;
    }
}