: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%);
}
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: "Open Sans", serif;
}
li{
    list-style: none;
}
.container{
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
@media(max-width:767){
    .container{
        width: 100%;
    }

}
h3 , h2{
    color: var(--Very-Dark-Cyan);
    font-family: "Poppins", serif;
}
/* ///////////////////////////////////// */
.header{
    padding-top: 40px;
    background-image: url(./images/bg-hero-desktop.svg);
    background-size: cover;
    position: relative;
    margin-bottom: 150px;
}
@media(max-width:767px){
    .header{
        background-image: url(./images/bg-hero-mobile.svg);
    }
}
.header::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--Very-Pale-Cyan);
    z-index: -1;
}
.header .nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
}
.header .nav img{
    height: 30px;
}
@media(max-width:767px){
    .header .nav img{
        height: 20px;
    }
    
}
.header .nav button{
    width: 170px;
    height: 40px;
    border-radius: 20px;
    border: none;
    background-color: white;
    font-weight: 600;
    box-shadow: 0px 0px 12px -4px var(--Grayish-Blue);
    cursor: pointer;
    transition: .3s;
}
@media(max-width:767px){
    .header .nav button{
        width: 100px;
        height: 35px;
        font-size: 12px;
    }
}
.header .nav button:hover{
    background-color: rgba(255, 255, 255, 0.61);
}
/* /////////////////////////////// */
.header .subscribe-in-the-community{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 50px;
}
@media(max-width:767px){
    .header .subscribe-in-the-community{
        flex-direction: column;
    }

}
.header .subscribe-in-the-community .text-content{
    max-width: 500px;
    min-width: 200px;
}
@media(max-width:767px){
    .header .subscribe-in-the-community .text-content{
        text-align: center;
    }

}
.header .subscribe-in-the-community .text-content h2{
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--Very-Dark-Cyan);
}
@media(max-width:767px){
    .header .subscribe-in-the-community .text-content h2{
        font-size: 28px;
    }

}
.header .subscribe-in-the-community .text-content p{
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--Very-Dark-Cyan);
    width: 88%;
}
@media(max-width:767px){
    .header .subscribe-in-the-community .text-content p{
        width: 100%;
    }

}
.header .subscribe-in-the-community .text-content button{
    width: 45%;
    height: 40px;
    border-radius: 20px;
    border: none;
    background-color: var(--Pink);
    color: var(--Very-Pale-Cyan);
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}
@media(max-width:767px){
    .header .subscribe-in-the-community .text-content button{
        width: 85%;
    }
}
.header .subscribe-in-the-community .text-content button:hover{
    background-color: hsla(322, 100%, 66%, 0.781);
}
.header .subscribe-in-the-community img{
    max-width: 600px;
    min-width: 200px;
}
@media(max-width:767px){
    .header .subscribe-in-the-community img{
        width: 100%;
        margin-top: 30px;
    }
    
}

/* //////////////////////////////////////////////////////////////////////////// */

.grow-together ,
.flowing-conversations ,
.your-users{
    margin-bottom: 50px;
}

.grow-together .container ,
.flowing-conversations .container ,
.your-users .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 15px -7px var(--Grayish-Blue);
    border-radius: 15px;
}

@media(max-width:767px){
    .grow-together .container ,
    .flowing-conversations .container ,
    .your-users .container{
        flex-direction: column;
    }

}

.grow-together .text-content ,
.flowing-conversations .text-content ,
.your-users .text-content {
    margin-left: 40px;
    max-width: 440px;
}

@media(max-width:767px){
    .grow-together .text-content ,
    .flowing-conversations .text-content ,
    .your-users .text-content{
        margin-left: 0;
        text-align: center;
        padding-bottom: 30px;
    }
    
}

.grow-together .text-content h3 ,
.flowing-conversations .text-content h3 ,
.your-users  .text-content h3 {
    margin-bottom: 25px;
}

.grow-together .text-content p ,
.flowing-conversations .text-content p ,
.your-users  .text-content p {
    line-height: 1.5;
    color: var(--Grayish-Blue);
}

.grow-together img ,
.flowing-conversations img ,
.your-users  img {
    max-width: 500px;
    min-width: 200px;
    margin: 40px;
}

@media(max-width:767px){
    .grow-together img ,
    .flowing-conversations img ,
    .your-users  img {
        order: -1;
        width: 100%;
    }

}

/* ////////////////////////////////////////////////////////// */
.flowing-conversations .text-content {
    margin-left: 0;
}

.flowing-conversations img {
    order: -1;
}

/* ///////////////////////////////////////////////// */

.your-users{
    margin-bottom: 150px;
}

/* ///////////////////////////////////////////////////////// */
.because-of-messsage{
    position: relative;
}
.message{
    margin: auto;
    text-align: center;
}
.message .container{
    box-shadow: 0px 0px 15px -7px var(--Grayish-Blue);
    padding: 50px 0;
    border-radius: 15px;
    background-color: white;
    margin-bottom: -72px;
    width: 45%;
    position: absolute;
    top: -131px;
    left: 50%;
    transform: translateX(-50%);
}
@media(max-width:767px){
    .message .container{
        box-shadow: 0px 0px 15px -7px var(--Grayish-Blue);
        padding: 50px 0;
        border-radius: 15px;
        background-color: white;
        margin-bottom: -72px;
        width: calc(90% - 40px);
        position: absolute;
        top: -131px;
        left: 50%;
        transform: translateX(-50%);
    }

}
.message h2{
    margin-bottom: 30px;
    color: var(--Very-Dark-Cyan);
}
@media(max-width:767px){
    .message h2{
        font-size: 17px;
    }
}
.message button{
    width: 45%;
    height: 50px;
    border-radius: 30px;
    border: none;
    background-color: var(--Pink);
    color: var(--Very-Pale-Cyan);
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0px 3px 15px -7px var(--Grayish-Blue);
}
@media(max-width:767px){
    .message button{
        width: 60%;
        height: 45px;
    }
}
.message button:hover{
    background-color: hsla(322, 100%, 66%, 0.781);
}

/* ////////////////////////////////////////////////////////////////////// */

.footer{
    background-color: var(--Very-Dark-Cyan);
    padding: 100px 0;
    color: var(--Grayish-Blue);
    font-size: 15px;
    margin-top: 300px;
}
.footer .logo img{
    background-color: var(--Very-Pale-Cyan);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    width: 170px;
}
.footer .text-content{
    display: flex;
    justify-content: space-between;
}
@media(max-width:767px){
    .footer .text-content{
        flex-direction: column;
        font-size: 14px;
    }

}
.footer .text-content .contact{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media(max-width:767px){
    .footer .text-content .contact{
        margin-bottom: 35px;
    }
}
.footer .text-content .contact .location ,
.footer .text-content .contact .phone,
.footer .text-content .contact .email{
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
.footer .text-content .contact .location span{
    line-height: 1.4;
}
.footer .text-content .contact .phone img{
    width: 15px;
}
.footer .text-content .contact .email img{
    width: 19px;
}
.footer .text-content ul li{
    margin-bottom: 20px;
}
.footer .text-content ul li a{
    text-decoration: none;
    color: var(--Grayish-Blue);
}
.footer .text-content ul li a:hover{
    border-bottom: 1px solid var(--Grayish-Blue);
}
.footer .text-content .icons-and-copyright{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 180px;
}
@media(max-width:767px){
    .footer .text-content .icons-and-copyright{
        align-items: center;
        gap: 30px;
        margin-top: 35px;
    }

}
.footer .text-content .icons-and-copyright .icons i{
    color: white;
    margin-right: 10px;
    border: 1px solid white;
    border-radius: 50%;
    font-size: 16px;
    transition: .3s;
}
.footer .text-content .icons-and-copyright .icons i:first-child{
    padding: 10px 13px;
}
.footer .text-content .icons-and-copyright .icons i:not(:first-child){
    padding: 10px;
}
.footer .text-content .icons-and-copyright .icons i:hover{
    color: var(--Pink);
    border-color: var(--Pink);
    cursor: pointer;
}
.footer .text-content .icons-and-copyright .copyright span{
    font-size: 13px;
}
