/* All */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
    font-size: 20px;
}

body {
    opacity: 0;
    transition: opacity .5s;
    background: linear-gradient(to right, #f5dade, #fafaef);
}

h1, h2, h3 {
    font-family: "Corben", Arial;
}

h2 {
    font-size: 45px;
    font-weight: 300;
}

img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

a {
    cursor: pointer;
    transition: .5s;
}

button {
    padding: 10px 30px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: .5s;
    background-color: #ffffff;
    color: #000;
}

button:hover {
    transform: scale(1.2);
}

/* Main */
main {
    margin: 0 auto 132px;
    padding: 0 24px;
    max-width: 1440px;
}

/* Page header */
body > header {
    margin-bottom: 48px;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 100;
}

/* Navbar */
nav {
    margin: 0 auto;
    padding: 12px 24px;
    max-width: 1350px;
    display: flex;
    align-items: center;
}

.left {
    display: flex;
    flex-grow: 1;
}

.left a {
    font-family: "Corben", Arial;
    font-size: 24px;
    text-decoration: none;
}

.left a:hover {
    transform: scale(1.2);
}

.menu {
    display: flex;
    flex-grow: 1;
}

.menu .center {
    display: flex;
    gap: 1rem;
}

.center a, .right a {
    display: inline-block;
    padding-bottom: 2px;
    background-image: linear-gradient(#f5dade 0 0);
    background-position: 0 100%;
    background-size: 0% 2px;
    background-repeat: no-repeat;
    transition:
        background-size .5s,
        background-position 0s .3s;
}

.center a:hover, .right a:hover {
    background-position: 0 100%;
    background-size: 100% 2px;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 20px;
    width: 100%;
    background-color: #ffffff;
}

footer a {
    text-decoration: none;
    color: #000;
}

footer > section {
    margin: 0 auto;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .box {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.socials .icons {
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
}

.socials a i {
    font-size: 35px;
    transition: .5s;
}

.socials a i:hover {
    transform: scale(1.2);
}

.copyright {
    padding: 10px 24px;
    background-color: #f5f5f5;
}
.copyright-content {
    margin: 0 auto;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright i, .copyright p {
    font-size: 16px;
}

.copyright a {
    font-family: "Corben", Arial;
    text-decoration: none;
    color: #000;
    transition: .5s;
}

.copyright p a:hover {
    color: #f5dade;
}

@media (max-width: 900px) {
    footer > section {
        flex-wrap: wrap;
    }

    .socials h2 {
        display: none;
    }
}

@media (max-width: 800px) {
    .menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    
    .menu.show {
        opacity: 1;
        max-height: 300px;
    }
    
    .right {
        display: none;
    }
    
    .center {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 700px) {
    footer > section {
        gap: 2rem;
    }

    .copyright-content {
        flex-direction: column;
    }
}

