/* global styles */

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body{
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 2.6rem;
}

li,
button,
label,
input,
p{
    font-size: 2rem;
}

h2{
    font-size: 4.8rem;
}
h3{
    font-size: 3rem;
    font-weight: 400;
}

h4,
h5{
    font-size: 2.8rem;
}

a{
    color: white;
    text-decoration: none;
}

button{
    padding: 2rem 5rem;
    background:rgb(84, 115, 196);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    
}
button:hover{
    background: darkgreen;
    font-size: 2rem;
}

/* nav section with hero */

.main-head {
    background:rgb(23, 59, 71);
    color: white;
    position: sticky;
    top: 0px;
    z-index: 3;
}

nav{
    
    display: flex;
    width: 90%;
    margin: auto;
    padding: 2rem;
    min-height: 5rem;
    align-items: center;
    flex-wrap: wrap;
}

nav ul{
    display: flex;  
    flex: 1 1 40rem;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    
    
}

#logo{
    flex: 3 1 40rem;
    font-family: 'Pattaya', sans-serif;
    font-weight:400;
    
}

.hero{
    min-height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5),transparent),url(/images/landing-page.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h3{
    padding: 5rem;
}

/* LOCATIONS SECTION*/

#locations {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5),transparent), url("/images/new-york-page.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; 
}
.locations-head{
    width: 90%;
    margin: auto;
    
}

.locations-head h2 {
    padding: 1rem 0rem;
    text-decoration: underline;
    font-family: Georgia, 'Times New Roman', Times, serif;
    
}

.locations-head h3 {
    padding: 4rem 0rem;
    
    background-clip: text;
    -webkit-text-fill-color: white;
}

.cloud {
    position: absolute;
    top: 0%;
    right: 0%;
    animation: cloudAnimation 3s infinite alternate ease-in-out;

    
}

.moving-cloud-1{
    animation: cloudAnimation 3s infinite alternate ease-in-out;

}

.moving-cloud-2{
    top: 20%;
    z-index: -1;
    opacity: 0.5;
}

@keyframes cloudAnimation {
    from{
        transform: translate(10%, -10%);
    }
    to{
        transform: translate(0%, 0%);

    }
}

/* the benefits */
.benefits-head{
    background: rgb(23, 59, 71);
    padding: 3rem;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    
}

.benefits-head h3{
    padding: 1rem;
}

.cards{
    width: 100%;
    margin: auto;
    display: flex;
    min-height: 70vh;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    box-shadow: 0px 10px 10px rgb(36, 34, 34),  0px 20px 20px rgb(36, 34, 34);
    flex: 1 1 25rem;
    min-height: 40vh ;
    margin: 2rem 5rem;
    text-align: center;
}


.cards img{
   max-width: 15%;
   margin: 2rem

}


.card h4{
    padding: 1rem;
    font-size: large;
    font-family: Arial, Helvetica, sans-serif;
}

.card p{
    padding: 1rem;
}

.card-icon{
    background: rgb(84, 115, 196);
}

#contacts {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5),transparent), url(/images/contact-mountain.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper{
    background:rgba(19,28,39,0.8);
    width: 60%;
    color: white;
    border-radius: 20px;
}

.form-head {
    text-align: center;
    padding: 4rem;
}

.name-form,
.email-form{
    padding: 3rem;
    text-align: center;

}

.form-wrapper label {
    margin: 0rem 3rem;
}

.form-wrapper button{
    width: 100%;
    padding: 2rem;
    margin-top: 8rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.form-wrapper input{
    padding: 1rem 3rem;
}

footer{
    color:white;
    background:rgba(19,28,39,1);
}

.footer-wrapper {
    display: flex;
    padding: 2rem;
    width: 100%;
    margin: auto;
    align-items: center;
    min-height: 10vh;
    flex-wrap: wrap;
}

footer h5{
    flex: 1 1 40rem;
}

footer ul{
    display: flex;
    list-style: none;
    flex: 1 1 40rem;
    justify-content: space-between;
    align-items: center;
}

button:focus{
    background: rgb(84, 115, 196);
    outline-style: solid; 
}



/* MEDIA QUERY */
@media screen and (max-width : 932px) {

    html{
        font-size: 45%;
    }
    nav{
        text-align: center;

    }
    #logo{
        padding: 2rem;
    }
    .cloud{
        height: 40rem;
        pointer-events: none;
    }
    .moving-cloud-1{
        z-index: -1;
    }
    .moving-cloud-2{
        z-index: -2;
    }
    .locations-head h3{
        background:rgba(12, 18, 34, 0.8);
        opacity: 0.5;
    }
    .form-wrapper{
        width: 100%;
    }
    footer {
        text-align: center;
    }
    footer h5 {
        padding-bottom: 3rem ;
    }
    

}