@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
/* font-family: "Raleway", sans-serif;
font-family: "Open Sans", sans-serif; */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
   
    --Very-Dark-Blue: hsl(243, 87%, 12%);
    --Desaturated-Blue: hsl(238, 22%, 44%);
    --Bright-Blue: hsl(224, 93%, 58%);
    --Moderate-Cyan: hsl(170, 45%, 43%);
    --Light-Grayish-Blue: hsl(240, 75%, 98%);
    --Light-Gray: hsl(0, 0%, 75%);

}

body{
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}
.nav{
    margin: 4.5rem;
    display: flex;
    justify-content: space-between;
}
.nav ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
}
.nav li{
    padding: 0 1rem;
}
.card-one{
    display: grid;
    grid-template-columns: .85fr 1fr;
    margin: 0 4rem;
}
.card-one-right img{
    width: 80%;
}
.card-one-left h1,.two-cont-one h1{
    font-size: 2.5rem;
    color: var(--Very-Dark-Blue);
    line-height: 3.5rem;
}
.card-three-left h1{
    font-size: 2.5rem;
    line-height: 3.5rem;
}
.card-three-left p{
    line-height: 1.7rem;
    font-weight:200;
    width: 88%;
}
.card-one-left p,.two-cont-one p{
    color: var(--Very-Dark-Blue);
    line-height: 1.7rem;
    font-weight:200;
}
.search-box{
    margin-top: 2rem;
}
.search-box input,.card-three-right input{
    padding: 1rem;
    width: 15rem;
    border:1.5px solid var(--Light-Gray) ;
}
.card-three-right input{
    padding: 1rem;
    width: 20rem;
    border:1.5px solid var(--Light-Gray) ;
}
.search-box button,.card-three-right button{
    padding: 1rem;
    border-radius: 5px;
    width: 10rem;
    color: white;
    border: var(--Bright-Blue);
    background-color: var(--Bright-Blue);
}
.card-two{
    background-image: url(images/bg-curve-desktop.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: grid;
    grid-template-columns: .85fr 1fr;
    
}
.card-two-left,.card-two-right{
    background-color: var(--Light-Grayish-Blue);
    margin-top: 6rem;
}
.card-two-right img{
    width: 100%;
}
.card-two-right{
    background-color: var(--Light-Grayish-Blue);   
}
.card-two-left a{
    color: var(--Moderate-Cyan);
    text-decoration: none;
}
.two-cont-one{
    margin-left: 4rem;
}
.anchar a{
    border-bottom: 1px solid var(--Moderate-Cyan);
    
}
.two-cont-two{
    max-width: 360px;
    background-color: white;
    margin: 3rem 4rem;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 2px 2px 8px rgb(216, 214, 214);
}
.avater{
    display: flex;
    align-items: center;
    margin-top: 2rem;
}
.avater img{
    width: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}
.avater h3{
    font-size: smaller;
}
.avater p{
    font-size: small;
}
.card-three{
    background-color: var(--Desaturated-Blue);
    padding: 4rem;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}
footer{
    background-color: var(--Very-Dark-Blue);
    color: white;
}
.footimg img{
    margin: 4rem ;
}
.footcont{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8rem;
    margin: 0 4rem;
    padding-bottom: 3rem;
}
.footright img{
    width: 32px;
}
.footmid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.footcont ul{
    list-style: none;
}
.phone,.email{
    display: flex;
    align-items: center;
}
.footleft img{
    margin-right: 1rem;
}
@media only screen and (max-width: 425px){
    .card-one,.card-two,.card-three,.footcont,.footmid{
        grid-template-columns: 1fr;

    }
    .nav.{
        margin: 3rem 0;
    }
}