* {
    margin: 0;
    padding: 0;
    font-family: "Instrument Sans";
}


.header {
    position: relative;
    min-height: 70vh;
    width: 100%;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* Ensure the video is behind other content */
}

nav{
    display:flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
    font-family: "Instrument Sans";
}
.logo {
    color: #FFF;
    font-family: "Instrument Sans";
    font-size: 64px;
    font-style: normal;
    font-weight: 1000;
    line-height: normal;
    text-decoration: none;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    display: inline-block;
    list-style: none;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #FFF;
    text-decoration: none;
    font-family: "Instrument Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 4.56px;
}


.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background:rgba(255, 67, 67, 0.98);
    display: block;
    margin: auto;
    transition: 0.5s;

}
.nav-links ul li:hover::after{
    width: 100%;
    
}

.content {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Ensure the content is above the video */
    color: #ffffff; /* Text color for visibility */
    text-align: center;
    font-size: 25px;
}

.learn-more{
    display: inline-block;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 50px;
    font-family: Outfit;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.learn-more:hover {
    background: #0a09097c;;
    transition: .5s;
    border: 1px solid #fffcfcfa;;
}

nav .bi{
    display: none;
}



.Featured {
    display: flex;
    align-items: center;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container img {
    height: auto;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.text-container {
    flex: 2;
    padding: 20px;
}

.text-container h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #333;
}
.text-container h4 {
    margin: 0 0 10px;
    font-size: 1em;
    color: #333;
}
.text-container p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}
.image-container {
    padding: 30px;
    flex: 1;
}
.line {
    border: none;
    height: 2px; /* Thickness of the line */
    background-color: #333; /* Line color */
    margin: 20px 0; /* Spacing above and below the line */
}

/* ABOUT PAGE STUFF */

.about .header {
    background: #ffffff;
    min-height: 40vh;
    overflow: hidden;
}
.about .logo {
    color : black;
}

.About-Text {
    padding: 10px;
    text-align: center;
    font-size: 30px;
}

.about .nav-links ul li a{
    color: #333;
}
.container {
    display: flex;              /* Enable flexbox */
    flex-wrap: wrap;            /* Allow wrapping to a new row */
    justify-content: center;    /* Center content horizontally */
    align-items: center;        /* Center content vertically */
    gap: 20px;                  /* Space between boxes */
    padding: 20px;  /* Light background for container */        /* Full viewport height */
}

/* Individual flex boxes */
.box {
    padding: 50px;
    display: flex;
    flex-direction: column;     /* Stack title and text vertically */
    justify-content: flex-start;/* Align content to the top */
    align-items: center;       /* Center text vertically */
    width: 300px;               /* Fixed width */
    height: auto;              /* Fixed height */
    background-color: #d3d7d3;  /* Green color for boxes */
    color: white;
    font-size: 20px;
    border-radius: 10px;        /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.BoxTitle {
    padding: 20px;;
}
.BoxText{
    color : black;
}

/* CONTACT PAGE STUFF */
.contact .nav-links ul li a{
    color: #333;
}
.contact .header {
    background: #ffffff;
    min-height: 40vh;
    overflow: hidden;
}
.contact .logo {
    color : black;
}
.Contact-Text {
    padding: 10px;
    text-align: center;
    font-size: 30px;
}

.Small {
    padding: 20px;
    font-size: 15px;
}

/* JOIN PAGE STUFF */
.join .header {
    background: #ffffff;
    min-height: 40vh;
    overflow: hidden;
}

.join .logo {
    color : black;
}
.join .nav-links ul li a{
    color: #333;
}
.Join-Text {
    padding: 10px;
    text-align: center;
    font-size: 30px;
    align-items: center;
}

.social-container{
    padding: 30px;
    display: flex;
    justify-content: center;
}

.social-container a {
    background: white;
    padding: 0; 
    border-radius: 50%;
    height : 64px;
    width : 64px;
    box-sizing: border-box;
    place-items: center;
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
.social-container a svg {
   height: 32px;
}

.social-container a::before {

    position: absolute;
    background-color: var(--accent-color);
    visibility: -100%;
    color : white;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 100px;
    transform: translateY(-65px)
}

.social-container a:hover{
    background-color: var(--accent-color);
    fill: white;
}


/* Settings for phones */
@media(max-width: 700px){
    .logo{
        font-size: 40px;
    }
    .content{
        font-size: 20px;
    }
    .learn-more{
        font-size: 15px;
    }
   .nav-links ul li{
       display: block;
   }
   .nav-links{
    position: absolute;
    background-color: #0a09097c;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px; 
    text-align: left;
    z-index: 2;
    transition: .5s;
   }
   nav .bi{
         padding: 10px;
         display: block;
         font-size: 1em;
         cursor: pointer;
   }
   .nav-links ul{
         padding: 20px;
   }
   .Featured {
    flex-direction: column; /* Stack image and text vertically */
   }
    .about nav .bi{
        color:#333
    }
    .contact nav .bi{
        color:#333
    }
    .join nav .bi{
        color:#333
    }
}

.image-container {
    padding: 10px; /* Adjust padding for smaller screens */
}
