@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lexend:wght@100..900&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Oxanium:wght@200..800&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
p{
    font-family: Montserrat;
}
body{
  color: white;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input, textarea {
    font-size: 16px;
    color: white;
    margin-left: 10px;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    font-size: 16px;
    background-color: #131212;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Initially hidden */
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000000000;
  }
  
  /* Hover effect */
  #backToTop:hover {
    background-color: #333;
  }
  
  /* Show button with fade-up effect */
  #backToTop.show {
    display: block;
    opacity: 1;
    transform: translateY(0); /* Move to original position */
  }
/* General Body Styling */
.body-container {
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
}

/* Title Styling */
#competition-title {
    text-align: left; 
    font-size: 4em;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    color: white;
    margin-bottom: 10px;
    margin-left: 20px;
}

/* Section Styling */
.section {
    margin: 20px 0;
    padding: 5px;
    border-radius: 10px;
    background-color: black;
    opacity: 10%;
    box-shadow: none;
    margin-left: 60px;
    margin-right: 100px;
    padding-left: 30px; /* Added left padding for text alignment */
}

/* Section Titles */
.section-title {
    font-size: 1.8em;
    font-weight: bold;
    font-style: italic;
    color: white;
    margin-bottom: 10px;
}

/* Section Text */
.section-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: white;
    text-align: justify;
    padding-left: 40px; /* Added left padding for better alignment */
}

/* Team List */
.team-list {
    list-style-type: none;
    padding-left: 40px; /* Left padding for proper alignment */
    margin-top: 5px;
}

.team-list-item {
    background-color: black;
    padding: 2px;
    margin: 4px 0;
    color: white;
    text-align: left;
}

/* Final Note */
.final-note {
    font-style: italic;
    font-size: 1.5em;
    color: white;
    margin-top: 20px;
    padding-left: 10px; /* Added left padding */
}
/* Hero Section Styling */
.hero {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
    z-index: -1;
}

/* Overlay to Darken Background */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}
/* Initial state: hidden */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When element is visible */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
/* Image Section Styling */
.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    margin-left: 50px;
    margin-right: 90px;
}

.section-image {
    width: 45%;  /* Adjust the width as needed */
    height: auto;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    #competition-title{
        text-align: center; 
        font-size: 3em;
        font-weight: bold;
    }
    .hero {
        height: 200px;
    }
    .section {
        text-align: left;
        padding: 5px;
        margin-left: 0px;
    margin-right: 0px;
    }
    .section-text {
        font-size: 1em;
        text-align: justify;
    }
    .image-section {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        left: 0;
    }
    
    .section-image {
        width: 90%;
        margin: 10px auto;
    }
}