/* Stylesheet made by Ryan Youngjohn for Red Jacket Robotics Club */
/* RED JACKET ROBOTICS CLUB OFFICIAL STYLESHEET */
/* Mr. Calaman's CompSci Class Student Project 2025 */

/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

/* Global Styles -- Start */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    user-select: none;
}

body {
    background-color: #bd1f0d;
    color: white;
    height: 100vh;
    font-family: "Karla", sans-serif;
}

.restrictedWidth {
    max-width: 960px;
    margin: auto;
}

img {
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    filter: drop-shadow(0 0 30px #333);
}

p {
    filter: drop-shadow(0 0 30px #333);
}

button {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.largeText {
    font-size: 18pt;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#container {
    min-height: 100%;
    position: relative;
    /* max-width: 960px; */
    margin: auto;
}

#header {
    padding: 10px;
}

/*#body {
    padding: 10px;
    padding-bottom: 60px;
}
*/

#footer {
    width: 100%;
    height: 45px;
}

#footer_text {
    text-align: center;
    text-decoration: underline;
    font-weight: bold;
}

/* Global Styles -- End */
/* Home Global Styles -- Start */

.HomaepageBanner {
    position: relative;
    display: inline-block;
}

.Homepage-Content {
    display: block;
    text-align: center;
    width: 100%;
    ;
}

.sponsorButton {
    position: absolute;
    margin: 20px;
    right: 0;
    background-color: white;
    opacity: 75%;
    color: black;
    border: 2px solid black;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16pt;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bannerImg {
    width: 100%;
    height: 94vh;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

/* Home Global Styles -- End */
/* Navbar Styles -- Start */

nav {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    align-items: center;
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 2;
    filter: drop-shadow(0 0 30px #333);
}

.logo {
    color: white;
    font-size: 22px;
    font-family: "IBM Plex Sans", sans-serif;
}

ul {
    list-style: none;
}

ul li {
    display: inline-block;
}

ul li a {
    text-decoration: none;
    color: white;
    font-family: "IBM Plex Sans", sans-serif;
    padding: 8px 30px;
    border-radius: 7px;
    transition: all .3s ease;
}

ul li a:hover,
ul li a.active {
    color: black;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#icon {
    background-color: black;
    padding: 5px 7px 3px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .3s ease;
}

#icon svg {
    color: white;
    height: 28px;
}

#icon:hover {
    background-color: white;
}

#icon:hover svg {
    color: black;
}

#checkbox,
#icon {
    display: none;
}

/* Navbar Styles -- End */
/* About Global Styles -- Start */

.about {
    padding-left: 10px;
    padding-right: 10px;
}

/* About Global Styles -- End */
/* Sponsor Global Styles -- Start */

.sponsorInfo {
    width: auto;
    background-color: black;
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition-duration: 1s;
}

.sponsorInfo hr {
    border: none;
    border-top: 2px solid #bd1f0d;
    margin-bottom: 20px;
    opacity: 0.7;
}

.sponsorInfo:hover {
    background-color: white;
    color: black;
    border: 0px solid white;
    box-shadow: 0 0 0 1px white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.eventsContainer {
    display: grid;
    grid-template-areas: "eventHeader eventHeader"
        "eventOne eventOne"
        "eventTwo eventTwo";
    gap: 20px;
    padding: 20px;
}

.eventHeader {
    grid-area: eventHeader;
}

.eventOne {
    grid-area: eventOne;
}

.eventTwo {
    grid-area: eventTwo;
}

.eventsDesign {
    width: 100%;
    background-color: black;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    align-items: center;
    gap: 30px;
}

.eventContent {
    flex: 1;
    min-width: 0;
}

.eventContent h1 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #ffffff;
}

.eventContent hr {
    border: none;
    border-top: 2px solid #bd1f0d;
    margin-bottom: 20px;
    opacity: 0.7;
}

.eventLinkButton {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.eventLinkButton:hover {
    background-color: white;
    color: black;
}

.eventImage {
    flex-shrink: 0;
    height: auto;
    width: 100%;
    max-width: 350px;
    object-fit: contain;
    border-radius: 10px;
}

/* Sponsor Global Styles -- End */
/* Gallery Global Styles -- Start */

.galleryButtons {
    background-color: #bd1f0d;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16pt;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    width: 95%;
}

img {
    border-radius: 7px;
}

/* Gallery Global Styles -- End */

/* Responsive Styles Mobile -- Start */

@media screen and (max-width: 760px) {

    /* Sponsor Mobile Styles -- Start */
    .sponsorImage {
        width: 70%;
        margin: 20px;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .sponsorContainer {
        display: grid;
    }

    .platinum,
    .gold,
    .silver,
    .bronze,
    .contributor {
        margin: 7px;
    }

    /* Sponsor Mobile Styles -- End */
    /* Gallery Mobile Styles -- Start */

    .galleryImagePref {
        width: 100%;
        height: auto;
    }

    .galleryContainer {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Gallery Mobile Styles -- End */
    /* About Mobile Styles -- Start */

    .about-img1 {
        width: 300px;
    }

    /* About Mobile Styles -- End */
    /* Event Mobile Styles -- Start */

    .eventsDesign {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .eventContent {
        width: 100%;
        order: 1;
    }

    .eventImage {
        width: 100%;
        max-width: 280px;
        order: 2;
    }

    /* Event Mobile Styles -- End */
    /* Navbar Mobile Styles -- Start */

    nav {
        border-radius: 0px;
        width: 100%;
        margin-top: -0px;
        border-bottom: 1px solid white;
    }

    ul {
        position: absolute;
        width: 100%;
        height: calc(100vh - 71px);
        background-color: black;
        left: 0;
        top: 0;
        text-align: center;
        display: none;
        margin-top: 71px;
    }

    ul li {
        display: block;
        padding: 10px 15px;
    }

    ul li a {
        display: block;
        padding: 10px 0;
    }

    #icon {
        display: block;
    }

    #checkbox:checked~ul {
        display: block;
        z-index: 1;
    }

    /* Navbar Mobile Styles -- End */
}

/* Responsive Styles Mobile -- End */

/* Responsive Styles Desktop -- Start */

@media screen and (min-width: 761px) {

    /* About Desktop Styles -- Start */

    .about-img1 {
        width: 600px;
    }

    /* About Desktop Styles -- End */
    /* Sponsor Desktop Styles -- Start */

    .sponsorContainer {
        display: grid;
        grid-template-areas: "tileOne tileTwo"
            "tileThree tileFour"
            "tileFive tileFive";
    }

    .tileOne {
        grid-area: tileOne;
    }

    .tileTwo {
        grid-area: tileTwo;
    }

    .tileThree {
        grid-area: tileThree;
    }

    .tileFour {
        grid-area: tileFour;
    }

    .tileFive {
        grid-area: tileFive;
    }

    .imagesContainer {
        width: 100%;
        display: grid;
        grid-template-areas: "one one"
            "two two"
            "three three"
            "four four"
            "five five";
    }

    .platinum {
        vertical-align: middle;
        margin: 5px;
        grid-area: one;
    }

    .gold {
        vertical-align: middle;
        margin: 5px;
        grid-area: two;
    }

    .silver {
        vertical-align: middle;
        margin: 5px;
        grid-area: three;
    }

    .bronze {
        vertical-align: middle;
        margin: 5px;
        grid-area: four;
    }

    .contributor {
        vertical-align: middle;
        margin: 5px;
        grid-area: five;
    }

    .platinumImage {
        vertical-align: middle;
        /* width: 60%; */
        width: 45%;
        margin: 20px;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .goldImage,
    .silverImage {
        vertical-align: middle;
        width: 45%;
        margin: 20px;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .bronzeImage,
    .contributorImage {
        vertical-align: middle;
        width: 25%;
        margin: 20px;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    /* Sponsor Desktop Styles -- End */
    /* Gallery Desktop Styles -- Start */

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

    .galleryContainer {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Gallery Desktop Styles -- End */
}

/* Responsive Styles Desktop -- End */