/* All default fonts */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rasa", serif;
    font-style: normal;
}

body{
    background-color: #131314;
}

h1{
    font-family: 'Handjet', sans-serif;
    font-size: clamp(4rem, 8vw, 10rem);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 4.142px;
    margin-top: 5rem;
    text-align: center;

    background: linear-gradient(90deg, #DFAAC3 24.34%, #F1C9DB 41.54%, #D3B9E8 64.8%, #997DC3 75.56%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h2{ 
    color: #e8c2d3;
 
    font-family: "Rasa", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: clamp(2rem, 6vw, 5.3rem);
 
    justify-content: justify;
    text-align: center;
 
    font-weight: 2000;
    line-height: 100%;
    letter-spacing: 5px;
 }

p{
    color: #fff2f2;

    font-size: clamp(0.875rem, 3vw, 1.5rem);
    line-height: clamp(35px, 4vw, 50px);
    letter-spacing: 2px;
    text-align: center;
}

body{
    background-color: #131314;
    min-height: 100vh;
}




/* Welcome Home Tab */
.introduction-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.countdown-container{
    display: flex;
    text-align: center;
    letter-spacing: 1px;
    padding: 1rem;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.countdown-content{
    display: block;
    text-align: center;
}

#countdown-msg{
    font-size: clamp(24px, 40%, 120px);
    color: #e7c4d5;
    text-align: center;
    padding-top: 3rem;
    letter-spacing: 5px;
}

.countdown-number{
    font-size: clamp(2rem, 4vw, 8rem);
    color: #DFAAC3;
}

.countdown-label{
    font-size: clamp(12px, 100%, 30px);
    color: #ecd2ff;
}





/* About Section*/
.about-container {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

    background-color: #e8c2d3;
    /* padding: clamp(4rem, 4vw, 6rem) clamp(1.5rem, 10vw, 10rem); */
    padding: clamp(35px, 6%, 100px) clamp(25px, 10%, 160px);
    line-height: 40px;

}

.about-container p{
    font-size: clamp(20px, 50%, 60px); 
    color: #56575c;
    max-width: 800px;
    text-align: center;
}

.level-table{
    text-align: center;
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 20px auto;
}

.level-table th, .level-table td{
    text-align: center;
    border: 1px solid white;
}


.level-table th{
    color: rgb(86, 87, 92);
    background-color: white;
    font-size: clamp(25px, 50%, 60px); 
    letter-spacing: 3px;
    padding: 2%;
}

.level-table td{
    color: rgb(86, 87, 92);
    font-size: clamp(20px, 50%, 60px); 
    letter-spacing: 2px;
    line-height: 15;
}

#register-button{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-decoration: none;
    
}

#register-button button{
    font-size: clamp(1.5rem, 2.5vh, 4rem);
    color:#d280a5;
    background-color: white;
    border: none;
    padding: 1rem 7rem;
    cursor: pointer;
    border-radius: 10px;
}

#register-button button:hover{
    transform: scale(1.10);
}

#deadline-msg{
    font-size: clamp(24px, 40%, 120px);
    color: #ca6895;
    text-align: center;
    text-decoration: underline;
}





/* Schedule Section */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: auto;
}

#schedule-nav, #faq-nav{
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80%;
    max-width: 900px;

    margin: 8rem auto;
    padding: 3rem;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}

#schedule-nav h2, #faq-nav h2, #judge-nav h2{
    color: #e8c2d3; 

    letter-spacing: 5px;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.schedule-table{
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
}

.schedule-table th, td {
    border: 1px solid #ddd;
    padding: 1rem;
    word-break: break-word;
}

.schedule-table th {
    background-color: #e8c2d3;

    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.schedule-time {
    font-weight: bold;
    letter-spacing: 1px;
}

.schedule-day{
    font-size: 16px;
}

.schedule-msg{
    color: #e8c2d3;
}




/* FAQ Section */
.faq-item {
    width: 100%;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem;
    background: #e8c2d3;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #363539;
}

.faq-item summary:hover {
    background: #ca6895;
}

.faq-item p {
    padding: 1rem;
    font-size: 18px;
    color: #55545c;
}





/* Judges container*/
.board-container{
    max-width: 1200px;
    margin:0 auto;
    padding: 3rem 2rem;
 }

 .judge-title {
    background-color: white;
    border-radius: 10px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

    text-align: center;
    width: 80%;
    padding: 2.5rem;

    display: block;  
    margin: 0 auto; 
}


.judges-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 3.5rem;  
    margin-top:50px;
}

.judges {
    padding: 15px;
    text-align: center;
    width: 250px; 
}

/* Judge images */
.judges img {
    width: 225px;
    height: 225px;
    object-fit: cover;
    border-radius: 50%;
}

/* Judge Position */
.judge-position {
    color:#ca6895;
    padding:.5rem 0;
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
}

.judge-name{
    /* font-size: 1.5rem; */
    font-size: clamp(1rem, 1vw, 1.5rem);
    color: #ece8ef;
}
  
.judge-category{
    color: #d088a9;
    font-size: clamp(2rem, 3vw, 4rem);
    text-align: center;
    margin-top: 50px;
    padding: clamp(.1rem, 4vw, 2rem) clamp(4rem, 10vw, 10rem);
}



/* Thank you Section */
#thank-you-nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 6rem auto;
}

#thank-you-title {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;

    width: 80%;
    max-width: 900px;
    padding: 2.5rem;
}

#thank-you-nav h2{
    color: #a38ec1; 

    letter-spacing: 5px;
    font-size: 3rem;
    font-weight: bold;
    margin: 3px;
} 

.sponsor-logo-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 50px;  
    flex-wrap: wrap;
    margin-top: 50px;
}

.sponsor-logo img{
    max-width: 400px;
    width: 100%;
}


/* Logo sizes */
#LSU-logo, #canes-logo, #LSU-CS-log img{
    max-width: 300px;
}

#walkons-logo img{
    max-width: 350px;   
}

#IP-logo img{
    max-width: 400px;
}





/* Responsive Adjustments */
@media (max-width: 900px) {
    .judges-container {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .judges {
        width: 200px; /* Slightly smaller on medium screens */
    }

    .judges img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .table-container {
        display: block;
        width: 100%;
        overflow-x: auto; 
        padding: 0;  
    }

    .schedule-table, .level-table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
        table-layout: auto;  
    }

    .schedule-table th, .level-table th,
    .schedule-table td, .level-table td {
        font-size: 12px;  
        padding: 4px; 
        text-align: center;
        white-space: wrap; 
        word-break: break-word; 
    }

    .schedule-table th, .level-table th {
        background-color: #e8c2d3;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .schedule-table td, .level-table td {
        max-width: 100%;
        overflow: hidden; 
    }

    .schedule-table tr, .level-table tr {
        display: table-row;
        width: 100%;
    }

    .level-container, .schedule-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0 5px; 
    }
}

@media (max-width: 600px) {
    .table-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        overflow: hidden;
    }

    #schedule-nav h2, .schedule-table{
        margin: 0;
    }

    #schedule-nav{
        padding: 4rem 1rem;
    }

    .schedule-table, .level-table {
        width: 100%;
        max-width: 100%;
        /* border-collapse: collapse; */
        /* table-layout: fixed; */
    }

    .schedule-table th{
        font-size: 50%;
    }

    .level-table th{
        font-size: 80%;
        background-color: white;
        letter-spacing: 0.5px;
    }

    /* .schedule-table th, .level-table th,
    .schedule-table td, .level-table td {
        padding: 6px;
        text-align: center;
        white-space: normal;  
        word-break: break-word; 
    } */

    .schedule-table td, .level-table td {
        max-width: 100%;
        overflow: visible;
    }

    .schedule-table tr, .level-table tr {
        display: table-row;
        width: 100%;
    }

    .schedule-table td{
        font-size: 50%;
    }

    .level-container, .schedule-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0 5px;
    }

    .judges-container {
        flex-direction: column; /* Stacks judges vertically */
        align-items: center;
    }

    .judges {
        width: 100%; /* Full width for better spacing */
        max-width: 250px;
    }

    .judges img {
        width: 100px; /* Smaller images */
        height: 100px;
    }
}