/* Google Font Applied to Navigation */

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

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(0,0,0,.1),
            rgba(0,0,0,.1)
        ),
        url("images/background.jpg");

    background-size: cover;
    background-position: top;
    color: white;
}

/* HEADER */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding-top: 20px;
}

/* CENTER LOGO */

.header-logo {
    text-align: center;
}

.logo {
    width: 250px;
    max-width: 40vw;
}

/* DESKTOP NAVIGATION */

.navbar {
    position: absolute;
    top: 30px;
    right: 50px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    padding: 0px 5px 0px 5px;
}

.nav-links a {
    background: lightgrey;
    color: darkorange;
    text-decoration: none;
    font-family: "Caveat Brush", cursive;
    font-size: 2.5rem;
    transition: opacity .3s ease;
    padding: 0px 5px 0px 5px;
}

.nav-links a:hover {
    opacity: .7;
}

/* HAMBURGER */

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;

    position: absolute;
    top: 30px;
    right: 25px;

    width: 32px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    margin: 6px 0;
    background: white;
    border-radius: 3px;
}

/* HERO */

.hero {
    height: 95vh;

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

    text-align: center;
    padding-top: 450px;
    
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;

    background: orange;
    color: #222;

    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}


/* FOOTER */

footer{
    background-image: 
        linear-gradient(
            rgba(0,0,0,.1),
            rgba(0,0,0,.1)
        ),url(images/Footer.jpg);
    color:white;
    text-align:center;
    padding:20px;
}

/* TABLET & MOBILE */

@media (max-width: 768px) {

    .logo {
        width: 120px;
    }

    .hamburger {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 80px;
        right: 20px;

        width: 220px;

        background: rgba(0,0,0,0.9);

        border-radius: 10px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: all .3s ease;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 1.5rem;
    }

    #menu-toggle:checked ~ .navbar {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {

    .logo {
        width: 90px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}