/* Global Styles */

@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Pattaya&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Oxygen", sans-serif;
}

h1 {
    font-size: 2.8rem;
}

li,
button,
label,
input,
p {
    font-size: 1.8rem;
}

h2 {
    font-size: 4.4rem;
}

h3 {
    font-size: 2.6rem;
    font-weight: normal;
}

h4,
h5 {
    font-size: 2rem;
}

button {
    padding: 1.8rem 3.6rem;
    background: #4c6e97;
    border: none;
    color: #fff;
    font-size: 2rem;
    letter-spacing: 0.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s linear;
}

button:hover {
    background-color: #131c27;
}


/* Navigation and Hero */

.main-head {
    background: #1d2b3b;
    color: #fff;
}

nav {
    display: flex;
    width: 90%;
    margin: auto;
    padding: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

nav ul {
    display: flex;
    flex: 1 1 40rem;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

#logo {
    flex: 2 1 40rem;
    font-family: "Pattaya", sans-serif;
    letter-spacing: 0.1rem;
    font-weight: 400;
}

.hero {
    min-height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent), url("/img/landing-page.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h3 {
    padding: 5rem;
    padding-bottom: 2.4rem;
}

.hero button {
    border-radius: 0.6rem;
}


/* Benefits Section */

#locations {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent), url("/img/new-york-page.png");
    background-repeat: no-repeat;
    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 0;
    text-decoration: underline;
    text-decoration-thickness: 0.5rem;
}

.locations-head h3 {
    width: 60vw;
    padding: 4rem 0;
    background: linear-gradient(#131c27, #663b34);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cloud {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.moving-cloud-1 {
    animation: cloudAnimation 3s infinite alternate ease-in-out;
}

.moving-cloud-2 {
    top: 20%;
    z-index: -1;
    opacity: 0.5;
    animation: cloudAnimation2 3s infinite alternate ease-in-out;
}

@keyframes cloudAnimation {
    from {
        transform: translate(10%, -10%);
    }
    to {
        transform: translate(0%, 0%);
    }
}

@keyframes cloudAnimation2 {
    from {
        transform: translate(5%, -5%);
    }
    to {
        transform: translate(0%, 0%);
    }
}


/* Benefits */

.benefits-head {
    background: #343c44;
    padding: 3rem;
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.benefits-head h2 {
    margin-bottom: 0.5rem;
}

.benefits-head h3 {
    padding: 1rem;
}

.cards {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    min-height: 70vh;
    align-items: center;
}

.card {
    text-align: center;
    flex: 1 1 25rem;
    min-height: 40vh;
    margin: 2rem 5rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1), 0 20px 20px rgba(0, 0, 0, 0.1);
}

.cards img {
    height: 10rem;
    max-width: 15%;
}

.card-icon {
    background: #131c27;
}

.card h4,
.card p {
    padding: 2rem;
}


/* Contact */

#contact {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent), url("/img/contact-mountain.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper {
    background: rgba(19, 28, 39, 0.8);
    width: 60%;
    color: #fff;
    border-radius: 2rem;
}

.form-head {
    text-align: center;
    padding: 4rem;
}

.name-form,
.email-form {
    padding: 3rem;
    text-align: center;
}

.form-wrapper label {
    margin: 0 3rem;
}

.form-wrapper button {
    width: 100%;
    padding: 2rem;
    margin-top: 8rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.form-wrapper input {
    padding: 1rem 3rem;
}


/* footer */

footer {
    color: #fff;
    background: #131c27;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin: auto;
    justify-content: center;
    max-height: 20vh;
    text-align: center;
}

footer h5 {
    flex: 1 1 40rem;
    margin-bottom: 1rem;
}

footer ul {
    display: flex;
    list-style: none;
    flex: 1 1 40rem;
    justify-content: space-around;
    align-items: center;
}

@media screen and (max-width: 673px) {
    html {
        font-size: 45%;
    }
    nav {
        flex-wrap: wrap;
        text-align: center;
    }
    #logo {
        padding: 1rem;
    }
}

@media screen and (max-width: 830px) {
    .locations-head-text {
        transform: translateY(-30%);
    }
    .benefits-head {
        height: 40vh;
    }
}

@media screen and (max-width: 1330px) {
    .moving-cloud-1 {
        z-index: -1;
    }
    .moving-cloud-2 {
        top: 10%;
        z-index: -2;
    }
}

@media screen and (max-width: 570px) {
    .moving-cloud-2 {
        top: 5%;
    }
    .form-wrapper {
        width: 100%;
    }
}