.section {
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 1;
}

#vanta-bg-home,
#vanta-bg-events,
#vanta-bg-gallery,
#vanta-bg-contact {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#vanta-bg-about {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.text h1 {
    --font-color: #323232;
    --bg-color: #fff;
    --main-color: #404040;
    font-size: 100px;
    line-height: 100px;
    z-index: 1;
    color: #ffff;
    position: absolute;
    margin-top: 13%;
    margin-left: 52%;
    transform: translate(-50%, -50%);
    font-family: "Jersey 10", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-shadow: 6px 6px var(--main-color);
    opacity: 1;
    position: relative;
}

.text p {
    font-size: 30px;
    line-height: 150px;
    z-index: 1;
    color: #ffff;
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Jersey 10", sans-serif;
    font-weight: 100;
    font-style: normal;
    opacity: 1;
    
}

.team p{
    font-size: 60px;
        line-height: 150px;
        z-index: 1;
        color: #ffff;
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: "Jersey 10", sans-serif;
        font-weight: 100;
        font-style: normal;
        opacity: 1;
        
}

.header {
    position: fixed;
    /* Fixed to make it stay at the top */
    top: 0;
    left: 0;
    /* Aligns the header to the left of the page */
    width: calc(100% - 17px);
    /* Subtracts a bit from the width to avoid overlap with the scrollbar */
    background-color: rgba(255, 255, 255, 0.1);
    /* Transparent white background */
    backdrop-filter: blur(10px);
    /* The blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional: shadow for better visual effect */
    z-index: 1000;
    padding: 42px 0;
    /* Add some padding for spacing */
}

.header nav {
    z-index: 1001;
    position: fixed;
    /* Fixed for the nav as well */
    top: 0;
    left: 44.5%;
    /* Keep your alignment */
    font-family: "Jersey 10", sans-serif;
    font-style: normal;
    font-size: 25px;
}

.header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    /* Adjust based on spacing needs */
}

.header li {
    margin: 30px;
}

.header a {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    display: inline-block;
    position: relative;
    transition: transform 0.2s ease;
}

.header a:active {
    transform: translateX(4px);
}

.header a:hover {
    text-decoration: underline;
    color: #a241d6;
}






.side {
    width: max-content;
    height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.top {
    transform: rotateX(-90deg) translate3d(0, 0, 0em);
}

.front {
    transform: translate3d(0, 0, 1em);
}



.header img {
    width: 5.5%;
    z-index: 1;
    position: fixed;
    left: 3%;
    top: 3%;
}



/* From Uiverse.io by andrew-demchenk0 */
/* before adding the photo to the div with the "card-photo" class, in the css clear the styles for .card-photo and remove .card-photo::before and .card-photo::after, then set the desired styles for .card- photo. */
.grid-container {
    display: grid;
    /* Enables the grid layout */
    grid-template-columns: repeat(3, 1fr);
    /* 4 cards per row */
    gap: 10px;
    /* Spacing between rows and columns */
    justify-content: center;
    /* Centers the grid within its container */
    padding: 50px;
    /* Adds space around the grid */
}
.card {
    z-index: 10;
    position: relative;
    --font-color: #fefefe;
    --font-color-sub: #7e7e7e;
    --bg-color: #111;
    --main-color: #fefefe;
    width: 350px;
    height: 580px;
    background: var(--bg-color);
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:space-around;
    margin-top: 20%;
    margin-left: 9%;
}


.card-title {
    
    /* margin-top: 10%; */
    /* Space between the image and text */
}
.card-photo img{
    /* clear and add new css */
    /* transform: scale(0.3) translate(220px, 230px); */
    width: 270px;
    height: 470px;
    /* margin-left: -125px;*/
    /* margin-top: -100px;  */
    border-radius: 10%;
    align-items: center;
    
}
.card-title {
    /* margin-top: -45%; */
    text-align: center;
    color: var(--font-color);
    font-size: 20px;
    text-wrap:pretty;
    font-family: "Jersey 10", sans-serif;
        font-weight: 200;
        font-style: normal;
}

.card-title span {
    font-size: 25px;
    color: var(--font-color-sub);
}

.card-socials {
    display: flex;
    height: 0;
    opacity: 0;
    margin-top: 20px;
    gap: 20px;
    transition: 0.5s;
}

.card-socials-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.card-socials-btn svg {
    width: 100%;
    height: 100%;
    fill: var(--main-color);
}

.card:hover>.card-socials {
    opacity: 1;
    height: 35px;
}

.card-socials-btn:hover {
    transform: translateY(-5px);
    transition: all 0.15s;
}


@media (max-width: 800px) {

    .footer {
        font: bold 14px sans-serif;
    }

    .footer .footer-left,
    .footer .footer-center,
    .footer .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .footer .footer-center i {
        margin-left: 0;
    }
}

@media only screen and (max-width: 480px) {
    .text p {
        font-size: 40px;
        line-height: 150px;
        z-index: 1;
        color: #ffff;
        position: absolute;
        top: 57%;
        left: 28.5%;
        transform: translate(-50%, -50%);
        font-family: "Jersey 10", sans-serif;
        font-weight: 100;
        font-style: normal;
        opacity: 1;
    }
}
















@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .card {
        width: 90%;
        margin: 20px auto;
    }

    .text h1 {
        font-size: 50px;
        line-height: 60px;
        margin-top: 20%;
        margin-left: 50%;
    }

    .text p {
        font-size: 20px;
        line-height: 30px;
        top: 10%;
        left: 50%;
    }

    .team p {
        font-size: 40px;
        line-height: 50px;
        top: 30%;
        left: 50%;
    }

    .header nav {
        left: 50%;
        transform: translateX(-50%);
    }

    .header img {
        width: 10%;
        left: 5%;
    }
}

@media (max-width: 480px) {
    .text h1 {
        font-size: 30px;
        line-height: 40px;
        margin-top: 30%;
        margin-left: 50%;
    }

    .text p {
        font-size: 15px;
        line-height: 20px;
        top: 15%;
        left: 50%;
    }

    .team p {
        font-size: 30px;
        line-height: 40px;
        top: 40%;
        left: 50%;
    }

    .header nav {
        font-size: 20px;
    }

    .header img {
        width: 15%;
        left: 5%;
    }

    .card {
        width: 100%;
        margin: 10px auto;
    }

    .card-photo img {
        transform: scale(0.5) translate(0, 0);
        width: 100%;
        height: auto;
        margin: 0;
    }

    .card-title {
        margin-top: 10%;
        font-size: 20px;
    }

    .card-title span {
        font-size: 15px;
    }
}