@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root{
    --Pink: hsl(322, 100%, 66%);
    --Very-Pale-Cyan: hsl(193, 100%, 96%);
    --Very-Dark-Cyan: hsl(192, 100%, 9%);
    --Grayish-Blue: hsl(208, 11%, 55%);
    --font-family1: "Poppins", sans-serif;
    --font-family2: "Open Sans", sans-serif;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: var(--font-family1);
    font-size: 18px;
}
header{
    background-image: url(images/bg-hero-desktop.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--Very-Pale-Cyan);
}
.nav{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 3rem;
}
.nav .logo img{
    width: 70%;
}
.nav button{
    padding: 1rem 3rem;
    font-weight: 600;
    background-color: white;
    border-radius: 50px;
    border: none;
    box-shadow: 2px 2px 8px rgb(132, 132, 132);
}
.headcont{
    display: grid;
    grid-template-columns: .80fr 1fr;
    padding: 4rem  4rem 3.7rem 3rem;
    gap: 3rem;
}
.head-right img{
    width: 100%;
}
.head-left{
    margin-top: 5.5rem;
}
.head-left h1{
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: var(--Very-Dark-Cyan);
}
.head-left p{
    font-size: 16px;
    color: var(--Very-Dark-Cyan);
}
.head-left button{
    margin-top: 2rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    background-color: var(--Pink);
    color: white;
    font-family: var(--font-family2);
    font-weight: 500;
}
.midcont{
    place-items: center;
}
.card-one{
    display: flex;
    padding: 3rem 1rem 2.3rem 1rem ;
    width: 87%;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 8px rgb(228, 225, 225);
    border-radius: 5px;
    margin-top: 6rem;
}
.card-one img{
    width: 92%;
}
.card-two{
    display: flex;
    padding: 3rem 1rem 2.3rem 1rem ;
    width: 87%;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 8px rgb(228, 225, 225);
    border-radius: 5px;
    margin-top: 6rem;
}
.card-two img{
    width: 92%;
}
.card-three{
    display: flex;
    padding: 3rem 1rem 2.3rem 1rem ;
    width: 87%;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 8px rgb(228, 225, 225);
    border-radius: 5px;
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.card-three img{
    width: 92%;
}
.cardone-left h1,.cardtwo-left h1,.cardthree-left h1{
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.cardone-left p,.cardtwo-left p,.cardthree-left p{
    color: var(--Grayish-Blue);
}
footer{
    background-color: var(--Very-Dark-Cyan);
    width: 100%;
    color: white;
    padding: 8rem 4rem;
}
.footimg img{
    width: 15%;
    margin-bottom: 1rem;
}
.footcont{
    display: grid;
    grid-template-columns: 40% 40% 20%;
}
.location{
    display: flex;
    margin-bottom: 1rem;
}
.location img{
    margin-right: 1rem;
    height: 100%;
}
.phone{
    display: flex;
    margin-bottom: 1rem;
}
.phone img{
    margin-right: 1rem;
    height: 100%;
}
.mail{
    display: flex;
}
.mail img{
    margin-right: 1rem;
    height: 100%;
}
.attribution{
    text-align: right;
    margin-top: 6rem;
}
.footright img{
    width: 32px;
}
.relativecontainer{
    position: relative;
}
.relative{
    margin: 3rem auto;
    padding: 1rem 0;
    width: 55%;
    place-items: center;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgb(176, 174, 174);
    position: absolute;
    top: -120px;
    left: 350px;
    background-color: white;
}
.relative h2{
    font-weight: 500;
}
.relative button{
    padding: .5rem 2rem;
    border-radius: 50px;
    border: none;
    background-color: var(--Pink);
    color: white;
    font-family: var(--font-family2);
    margin: 1rem 0;
}
.footmid{
    display: flex;
    justify-content: start;
}
.footmid ul{
    padding: 0 3rem;
    line-height: 3rem;
}
.footmid li{
    list-style: none;
}
footer p,li{
    font-size: 16px;
    color: var(--Grayish-Blue);
}
@media only screen and (max-width: 425px){
    .headcont{
        grid-template-columns: 1fr;
    }
    .card-one,.card-two,.card-three{
        flex-direction: column;
    }
    .relative{
        position: initial;
        width: 80%;
    }
    .footcont{
        grid-template-columns: 1fr;
    }
    .footimg img{
        width: 50%;
    }
    .footmid{
        flex-direction: column;
    }
    .footright{
        display: flex;
        justify-content: center;
 
    }
    .attribution{
        text-align: center;
    }
    .nav button{
        width: 150px;
        padding: .5rem 1rem;
    }
}