@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Sofia&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;

    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
}

body, main {
    height: auto;
    min-width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

nav {
    height: 100px;
    width: 100%;

    display: flex;
    justify-content: center;

    background-color: #F45D8B;
}
nav > div {
    max-width: 1500px;
    width: 80%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav div span {
    font-size: 2em;
    font-weight: bold;
    color: white;
}
nav div div {
    display: flex;
    
    gap: 30px;
}
nav div div a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

.HamburgerMenu {
    display: none;
}
.HamburgerMenu .Button {
    width: 50px;
    height: 50px;

    background-color: transparent;
    background-image: url('../assets/images/Hamburger.png');
    background-size: cover;
    border: none;
}
.HamburgerMenu div {
    width: 100%;
    height: auto;
    padding: 20px 50px;

    display: none;
    flex-direction: column;

    position: absolute;
    top: 100px;
    left: 0;

    background-color: #F45D8B;
}
.HamburgerMenu:hover > div,
.HamburgerMenu:focus-within > div {
    display: flex;
}
.HamburgerMenu:hover > .Button,
.HamburgerMenu:focus-within > .Button {
    background-image: url('../assets/images/CloseHamburger.png');
}
header {
    width: 100%;
    height: 40svh;
    min-height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../assets/images/BackgroundMainLand.png');
}
header h1 {
    font-size: 3em;
    font-weight: 900;
    color: #000000;
}

section {
    max-width: 1500px;
    width: 80%;
    padding: 50px 0;
    border-top: 1px solid #00000050;
}
section:first-child {
    border-top: none;
}
section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
section > div {
    width: 100%;
    gap: 20px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}
section div div {
    max-width: 500px;
    min-width: 300px;

    flex: 1;
}
section > div > div {
    box-shadow: 2px 2px 15px #00000050;
}
section div div div:first-child {
    width: 100%;

    display: flex;
    justify-content: center;
}
section div div div:first-child img {
    width: 50%;
    padding: 15px 0;

    object-fit: contain;
}
section div div div:last-of-type {
    padding: 50px;
}
section div div div:last-of-type h2 {
    font-size: 2em;
    margin-bottom: 5px;
}

footer {
    height: 100px;
    width: 100%;

    display: flex;
    justify-content: center;

    color: white;
    background-color: #F45D8B;
}
footer div {
    max-width: 1500px;
    width: 80%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
footer div span {
    font-size: 1.5em;
}
footer div a {
    color: white;
    font-size: 1.2em;
}

@media (width <= 900px) {
    nav > div > div {
        display: none;
    }
    nav div span {
        font-size: 1.5em;
    }
    .HamburgerMenu {
        display: block;
    }

    header h1 {
        font-size: 1.8em;
    }
}