/* Homepage stylesheet */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #1a1a1a;
    overflow-x: hidden;
    touch-action: manipulation;
}
header {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 50px;
    color: #fff;
}
main {
    padding: 20px;
}
h1 {
    font-size: 80px;
    text-transform: uppercase;
}
h2 {
    font-weight: 400;
    font-size: 48px;
    text-transform: lowercase;
}
h3 {
    text-transform: uppercase;
    font-size: 44px;
}
p {
    font-size: 16px;
}
.background-video {
    object-fit: cover;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}
.desktop-menu {
    background-color: #fff;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    text-transform: uppercase;
}
.desktop-menu nav ul {
    list-style-type: none;
    padding: 6px;
}
.desktop-menu nav ul li {
    display: inline-block;
    padding: 0px 15px;
    margin: 0px;
}
.desktop-menu nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}
.desktop-menu nav a:hover {
    background-color: #ddd;
}
.logo {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 98;
    border-radius: 10px;
}
.hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
}
.hamburger-menu.active {
    transform: translateX(0);
}
.hamburger-menu ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    padding: 0;
}
.hamburger-menu ul li {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.hamburger-menu a {
    text-decoration: none;
    color: #fff;
}
.hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 99;
}
.close {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: none;
}
.hamburger-menu.active .close {
    display: block;
}
.landing-text {
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.landing-text h2 {
    transition: opacity 0.5s ease;
}
.landing-text.fade-out {
    opacity: 0;
}
.fade-out {
    opacity: 0;
}
section {
    text-align: center;
    width: 80%; /* Change this */
    margin: -60px auto 140px auto;
    padding: 0px 30px 40px 30px;
    border-radius: 8px;
    color: #1a1a1a;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    box-sizing: border-box;
}
section p {
    font-size: 24px;
    margin-top: -20px;
}
footer {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    background-color: #fff;
    color: #1a1a1a;
}
.in-view {
    opacity: 1;
    transform: translateY(0);
}
.funnel-button {
    display: inline-block;
    text-align: center;
    padding: 0;
}
.funnel-button a {
    font-size: 24px;
    display: block;
    /* Makes the anchor tag a block-level element to take up the entire width of the parent div */
    border: 3px solid #dc1e1e;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    color: #dc1e1e;
    font-weight: bold;
}
.funnel-button a:hover {
    background-color: #dc1e1e;
    color: #fff;
}

@media only screen and (max-width: 1500px) {
    h1 {
        font-size: 60px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 32px;
    }
    p {
        font-size: 12px;
    }
    .landing-text {
        margin-top: -160px;
    }
    section {
        width: 80%;
        margin: -60px auto 140px auto;
        padding: 15px;
    }
    section p {
        font-size: 22px;
    }
    .funnel-button {
        padding-bottom: 20px;
    }
    .funnel-button a {
        font-size: 22px;
    }

    .desktop-menu {
        display: none;
    }

    @media only screen and (max-width: 480px) {
        h1 {
            font-size: 48px;
        }
        h2 {
            font-size: 32px;
        }
        h3 {
            font-size: 28px;
        }
        p {
            font-size: 11px;
        }
        .landing-text {
            margin-top: -160px;
        }
        section {
            width: 100%;
            margin: -60px auto 140px auto;
            padding: 10px;
        }
        section p {
            font-size: 20px;
        }
        .funnel-button {
            padding-bottom: 20px;
        }
        .funnel-button a {
            font-size: 20px;
        }
        .desktop-menu {
            display: none;
        }
    }
}

@media only screen and (min-width: 1499px) {
    .logo {
        display: none;
    }
    .hamburger {
        display: none;
    }
    .hamburger-menu {
        display: none;
    }
}
