/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Roboto+Slab&family=Spartan:wght@400;700&display=swap");

/* General styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #2c2c2c;
    color: #f0f0f0;
}

* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

/* Your existing styles */
#abtWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.minionA {
    flex: 1 1 200px;
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(97, 218, 251, 0.6);
    transition: box-shadow 0.3s ease-in-out;
}

.minionA:hover {
    box-shadow: 0 0 25px rgba(97, 218, 251, 1);
}

.hd {
    font-size: 2.5rem;
    margin-top: 0; /* Remove default margin */
}

header {
    position: sticky;
    top: 0;
    background-color: #121212;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#hero, #about {
    color: #f0f0f0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    color: #61dafb;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 100%;
    border-top: 1px solid #cccccc;
    padding: 15px;
    box-sizing: border-box;
}

time {
    color: lightblue;
}

nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #61dafb;
}

section {
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgb(161, 161, 161);
}

#about {
    padding-top: 0;
    justify-content: flex-start;
}

.typing-animation {
    font-size: 2rem;
    color: #61dafb;
    border-right: 0.15em solid #61dafb;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3.5s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #61dafb; }
}

.btn {
    background-color: #61dafb;
    color: #000000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: 600;
}

.btn:hover {
    background-color: #52c2d1;
}

footer {
    background-color: #1c1c1c;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #888;
}

a {
    color: #61dafb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h2 {
    color: #61dafb;
}

.draw-image-container {
    overflow: hidden;
    width: 200px;
    height: auto;
}

.draw-image {
    width: 100%;
    opacity: 0;
    animation: drawImage 3s forwards;
}

@keyframes drawImage {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.team-container {
    display: flex;
    justify-content: space-around; /* Distribute space evenly */
    flex-wrap: nowrap; /* Ensure items are on a single line */
    margin: 0 auto;
    max-width: 1200px;
    gap: 1rem; /* Add some gap between the team members */
}

.team-member {
    text-align: center;
    flex: 1; /* Allow each team member to grow equally */
    margin: 0 1rem;
    max-width: 250px; /* Ensure a reasonable max width for each team member */
}

#ritvik .team-photo {
    background: url('images/ritvik.png') no-repeat;
    background-size: cover;
    background-position: center;
}

#justin .team-photo {
    background: url('images/justin.png') no-repeat;
    background-size: cover;
    background-position: center;
}

#nishanth .team-photo {
    background: url('images/nishanth.png') no-repeat;
    background-size: cover;
    background-position: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 2px solid #61dafb;
}

@media (max-width: 768px) {
    .team-member {
        flex-basis: 45%;
    }
    .hd {
        font-size: 2rem;
    }
    .typing-animation {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .team-member {
        flex-basis: 100%;
    }
    .typing-animation {
        font-size: 1.25rem;
    }
    .hd {
        font-size: 1.5rem;
    }
    .btn {
        padding: 0.5rem 1rem;
    }
}

/* Adjusting section headers */
#team h2,
#prizes h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 30px;
    height: auto;
    margin-right: 20px;
}

.team-member h3 {
    white-space: nowrap;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #121212;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    color: #61dafb;
}
