.body {
    overflow-x: hidden;
}

/*                  HERO SECTION                     */
.head {
    padding-left: 5vw;
}
.background {
    overflow: hidden;
}
.background-plane{
    position: absolute;
    width: 50vw;
    top: 5vh;
    right: 0;
    z-index: -10;
}
.background-sun {
    position: absolute;
    top: -150px;
    right: -250px;
    z-index: -1;
    filter: blur(100px);
    width: 500px;
    overflow: hidden;
    opacity: 90%;
}
.hero--title {
    font-size: 80px;
    color: rgb(255, 239, 129);
    font-family: "Roboto", sans-serif;
}
.hero--sub-text {
    max-width: 500px;
    font-size: 40px;
    font-style: italic;
    font-weight: lighter;
    color: white;
    margin-top: 30px;
}

.hero--button {
    width: 290px;
    height: 50px;
    background-color:rgb(255, 239, 129);
    color: black;
    font-size: 30px;
    border: none;
    border-radius: 15px;
    margin-top: 50px;
    font-weight: 600;
    cursor: pointer;
}

/*              CARDS SECTION               */

.cards-section {
    justify-self: center;
    text-align: center;
    margin-top: 250px;
}
.full-cards {
    display: flex;
    justify-content: space-evenly;
    max-width: 1440px;
    gap: 15px;
}

.card img {
    width: 350px;
    height: 300px;
    margin: 0;
    padding: 0;
    object-fit: cover;
}
.card-subtext {
    margin-top: 0;
    padding-top: 0;
    background-color: rgb(22, 68, 165);
    height: 400px;
}
.card-subtext h3 {
    padding-top: 25%;
    font-size: 30px;
    font-style: italic;
    font-weight: lighter;
    color: white;
}
.card-button {
    height: 100px;
    background-color: rgb(77, 184, 255);
    margin-bottom: 300px;
}
.card-button button {
    width: 350px;
    height: 100px;
    background-color: rgb(77, 184, 255);
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.card-button button:hover {
    color: white;
}

/*                  TABLET/SMALLER SCREENS               */

@media (max-width: 1440px){
    .full-cards {
    display: flex;
    justify-content: space-evenly;
    max-width: 1440px;
    gap: 15px;
    flex-wrap: wrap; /* Allow cards to wrap to the next row */
    }
    .background-sun {
        display: none;
    }
    .card {
        width: 40vw;
    }
    .card img{
        width: 40vw;
    }
    .card-button button{
        width: 40vw;
    }
}


/*                  PHONE                           */

@media (max-width: 700px) {
    /* navbar */
    .hamburger {
        display: flex;
        cursor: pointer;
    }
    .background-sun{
        display: none;
    }
    .nav-bar{
        display: none;
        position: absolute;
        top: 100px;
        left: 0; 
        flex-direction: column;
        width: 100%;
        background-color: rgb(46, 98, 211);
        gap: 15px;
        font-size: 20px;
    }
    .nav-bar.active {
        display: flex;
    }
    .nav-bar li{
        text-align: center;
        padding: 10px 0;
    }
    .nav-bar li:hover {
        background-color: rgb(79, 127, 231);
    }
    .nav-bar a{
        color: rgb(255, 239, 129);
    }
    .background-plane {
        display: none;
        overflow: hidden;
    }


    /* HERO SECTION */

    .hero--title {
        font-size: 60px;
    }
    .hero--sub-text{
        font-size: 30px;
    }
    .hero--button {
        width: 200px;
        font-size: 30px;
    }

    /* CARD SECTION */
    .full-cards {
        display: flex;
        flex-direction: column;
        gap: 0px;
        overflow: hidden;
    }
    .card {
        width: auto;
    }
    .card img{
        width: 100%;
        height: 2%;
    }
    .card-subtext {
        text-align: center;
    }

    /* FOOTER SECTION */

    footer {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mid-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-us__spots {
        flex-direction: column;
        align-items: center;
    }

    .contact-us__spots p {
        text-align: center;
    }

    .socials img {
        margin: 0 auto;
    }

    .legal-info {
        font-size: 12px;
    }

}

