@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    color: #23272A;
    
}

h1 {
    font-family: "Luckiest Guy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}

p {
    margin-bottom: 25px;
}

p,
button {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

h2 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;    
    font-weight: 800;
    font-style: extrabold;
    margin-bottom: 25px;
    font-variation-settings:
        "wdth" 100;

}

.container {
    padding: 50px 20px;
    max-width: 1400px;
    margin: 0 auto;

}

/* HEADER */
header {
    height: 60vh;
    background-image: url('../img/Header.png');
    background-position: center;
    background-size: cover;
    color: #fff;
    display: flex;
    align-items: center;
}

header h1 {
    width: 50%;
}

header h1,
header p {
    margin-bottom: 20px;
}

.header-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-buttons button {
    padding: 10px;
    border-radius: 50px;
    border: none;
}

.header-buttons button:hover {
    box-shadow: 3px 3px 30px #ffffff;
    font-weight: 600;
}

.btn-black {
    background-color: #23272A;
    color: #fff;
}

/* MAIN */
section {
    display: flex;
    flex-direction: column;
}

section img {
    max-width: 100%;
    margin-bottom: 20px;
}

.lightgray-bg {
    background-color: #f6f6f6;
}

section h1 {
    margin-bottom: 20px;
}

section:last-child {
    align-items: center;
}

/* FOOTER */
footer {
    background-color: #23272A;
    height: 25vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer img {
    max-width: 80%;
}

/* MEDIA QUERIES */
@media (min-width: 767.98px) {
    .header-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .header-buttons button {
        padding: 20px;
        min-width: 300px;
    }
}

@media (min-width: 900px) {

    section {
        flex-direction: row;
    }

    section:last-child {
        flex-direction: column;
    }

    .row-reverse {
        flex-direction: row-reverse;
    }

    body {
        font-size: 1.2rem;
    }

    .container {
        padding: 80px;
    }

    figure {
        width: 60%;
    }

    .section-text {
        width: 40%;
    }

    h1 {
        font-size: 3rem;
        text-align: center;
        width: 55%;
        margin: 0 auto;
    }

    h2 {
        font-size: 3rem;
        min-width: 70%;
        max-width: 350px;
    }

    header {
        background-position: right;
        background-repeat: repeat-y;
    }

    header h1 {
        width: 35%;
    }

}
