
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    /* background-size: cover; */
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url(./airplane_bg.jpg)no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;

}

/* .box{
    height: 100vh;
    width: 100%;
    opacity: 0.3;
    background-color: black;
    position: absolute;
    top: 0;
} */

nav {
    /* background-color: white; */
    
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
}


.logo {
    font-size: 2.5em;
    font-weight: 700;
    color: white;

}

.menu a {
    text-decoration: none;
    padding: 10px 20px;
    color: white;
    font-size: 20px;
    font-weight: 400;
    position: relative;
}

.menu a:hover{
   color: rgb(175, 253, 253);
}

.menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;

    /* background-color: red; */
    border-bottom: 3px solid red;
    transition: .3s linear;
}

.menu a:hover::before {
    width: 90%;
    
}


.register a {
    text-decoration: none;
    padding: 10px 20px;
    color: white;
    background-color: rgb(182, 41, 41);
    border-radius: 8px;
    transition: .5s;
}

.register a:hover {
    background-color: transparent;
    border: 1px solid white;
}

section {
    max-width: 630px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

section span:nth-child(1) {
    /* font-size: 50px; */
    font-size: 20px;
    letter-spacing: 5px;
      font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

section span:nth-child(3) {
    font-size: 3.5em;
     font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  /* letter-spacing: 1px; */
}

.booking {
    background-color: rgb(182, 41, 41);
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 5px;
    border-radius: 6px;
    transition: .5s;
}

.booking:hover {
    background-color: rgb(197, 59, 59);
    border: 1px solid white;
}

body::after {
    content: "";
    position: fixed;
    /* stays at bottom even if you scroll */
    left: 0;
    bottom: 0;
    width: 100%;
    height: 350px;
    /* height of gradient area */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    pointer-events: none;
    /* allows clicks through it */
    z-index: 10;
    /* make sure it’s above the background but below content */
}

/* Default styles (desktop first) are already above */

/* Tablet screens */
@media (max-width: 1024px) {
    nav {
        justify-content: space-between;
        padding: 0 20px;
    }

    .menu a {
        font-size: 18px;
        padding: 8px 15px;
    }

    .register a{
        display: inline-block;
        margin-top: 5px;
    }

    section {
        margin-top: 50px;;
        max-width: 500px;
    }

    section span:nth-child(3) {
        font-size: 2.8em;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .menu a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .logo {
        font-size: 2em;
        margin-bottom: 10px;
    }

    section {
        max-width: 90%;
        padding: 0 10px;
    }

    section span:nth-child(1) {
        font-size: 16px;
        letter-spacing: 3px;
    }

    section span:nth-child(3) {
        font-size: 2em;
    }

    .booking {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 3px;
    }
}

/* Very small mobile (like old phones) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.8em;
    }

    .menu a {
        font-size: 14px;
    }

    .register a{
        display: inline-block;
        margin-top: 5px;
        padding: 10px 12px;
    }

    section span:nth-child(1) {
        display: inline-block;
        margin-top: 4px;
        font-size: 14px;
    }

    section span:nth-child(3) {
        font-size: 1.8em;
    }

    .booking {
        padding: 6px 12px;
        font-size: 13px;
    }
}
