@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');


:root {
    font-size: 16px;
    font-family: "Orbitron", sans-serif;
    --bg--primary: #D9D4D2;
    --bg--secondary: #0D0D0D;
    --transition--speed: 600ms;
}

body {
    color: black;
    background-color: #e1e0ec;
    margin: 0;
    padding: 0;
}

body a {
    text-decoration: none;
}

body::-webkit-scrollbar {
    width: 0.5rem;
}

body::-webkit-scrollbar-track {
    background: #D9D9D9;
}

body::-webkit-scrollbar-thumb {
    background: #9778c3;
}

main {
    margin-left: 5rem;
    display: flex;
    flex-direction: column;
}

.logoDiv {
    display: flex;
    top: 0;
    position: sticky;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    background-color: #040336;
    z-index: 1;
    opacity: 1;
    height: 10vh;
}

.logo {
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 1.5rem;
}

.logoHref {
    margin-right: 2.5%;
    align-items: center;
    justify-content: center;
    height: 90%;
    text-decoration: none;
}

.bodyContent {
    margin-top: 4rem;
}

#mainContent h1 {
    font-size: 4rem;
    margin-left: 5%;
    opacity: 0.95;
}

#mainContent h2 {
    font-size: 3rem;
    margin-left: 5%;
    opacity: 0.95;
}

#mainContent h3 {
    font-size: 2rem;
    margin-left: 5%;
    opacity: 0.95;
}

#mainContent h5 {
    font-size: 1.5rem;
    opacity: 0.95;
}

#mainContent p {
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: #404040;
    opacity: 0.95;
}

#mainContent {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    min-width: 80%;
    display: flex;
    z-index: -1;
    color: #0D0D0D;
}

#mainContent {
    justify-content: center;
}

.navbar {
    width: 5rem;
    height: 100%;
    position: fixed;
    background-color: #31047e;
    z-index: 3;
    transition: width 250ms ease;
    top: 0;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.nav-item {
    width: 100%;
    text-align: center;
}

.nav-item:last-child {
    margin-top: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--bg--primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.65);
    transition: var(--transition--speed);
}

.nav-link:hover {
    filter: grayscale(0%) opacity(1);
}

.active {
    filter: grayscale(0%) opacity(1);
}

.link-text {
    display: none;
    margin-left: 1rem;
}

.nav-link img {
    min-width: 2rem;
    margin: 0 1.5rem;
}

.navbar:hover .link-text {
    display: block;
}

.navbar:hover {
    width: 16.5rem;
}

.marginal {
    margin-left: 7rem;
}

.marginal ul li {
    margin: 0.8rem;
}

.marginal ol li {
    margin: 0.8rem;
}

.content {
    cursor: pointer;
    color: #312b2b;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 85%;
}

.contactdiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding-top: 10%;
    margin-bottom: 10%;
}

.contactdetails {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.contactdetails a {
    text-decoration: none;
    color: #0D0D0D;
    opacity: 0.6;
}

.contactdetails a:hover, img:hover {
    opacity: 1;
}

.contactform {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    width: 50%;
}

.input {
    border: 0;
    border-radius: 0;
    height: 30px;
    width: 250px;
}

.input-text {
    border: 0;
    border-radius: 0;
    height: 60px;
    width: 250px;
}

.input:focus, .input-text:focus {
    outline: 0;
}

#submit {
    border-radius: 0;
    border: 0;
    padding: 5%;
    color: #0D0D0D;
}

#submit:hover {
    color: white;
    background-color: #0D0D0D;
}

.useful-links {
    display: flex;
    justify-content: space-around;
}

.indexTarget {
    text-decoration: none;
    color: #0D0D0D;
    opacity: 0.6;
    margin-left: 5%;
}

.indexTarget:hover {
    opacity: 1;
}

.carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    padding-bottom: 35px;
}

.carousel-item {
    flex: 1 0 33.33%;
    transition: transform 0.5s ease;
    margin: 10px;
    border-radius: 5px;
    background-color: #D9D4D2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 250px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#announcements {
    position: relative;
}

#prev, #next {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: end;
    background-color: transparent;
    border: none;
}

#prev {
    left: 0;
}

#next {
    right: 0;
}

#menuToggle {
    display: none;
}


@media (max-width: 800px) {
    

    .navbar {
        display: none;
    }

    .logoDiv {
        position: relative;
        z-index: 2;
    }

    main {
        margin-left: 0;
    }

    #mainContent h1 {
        font-size: 2.75rem;
        margin-right: 5%;
        opacity: 0.95;
    }
    
    #mainContent h2 {
        font-size: 2rem;
        margin-right: 5%;
        opacity: 0.95;
    }
    
    #mainContent h3 {
        font-size: 1.5rem;
        margin-right: 5%;
        opacity: 0.95;
    }
    
    #mainContent h5 {
        margin-right: 5%;
        opacity: 0.95;
    }
    
    #mainContent p {
        font-size: 1rem;
        margin-right: 5%;
        color: #404040;
        opacity: 0.95;
    }

    .marginal {
        margin-left: 0;
    }

    #menuToggle {
        display: block;
        position: absolute;
        top: 3.2%;
        left: 3.2%;
        z-index: 3;
    }
    
    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }
    
    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #cdcdcd;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }
    
    #menu {
        position: absolute;
        width: 300px;
        margin: -100px 0 0 -50px;
        padding: 50px;
        padding-top: 125px;
        background: #ededed;
        list-style-type: none;
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        min-height: 50vh;
    }

    #menu a {
        text-decoration: none;
        color: #0D0D0D;
        transition: 600ms ease;
    }

    #menu a li img {
        fill: #0D0D0D;
    }

    #menu li {
        padding: 10px 0;
        font-size: 22px;
        text-decoration: none;
    }

    #menu a li {
        text-decoration: none;
        color: #0D0D0D;
        transition: 600ms ease;
        display: flex;
        align-items: center;
        font-size: 1rem;

    }

    #menu a li:hover {
        opacity: 1;
        transition: 600ms ease;
        text-decoration: none;
    }
    
    #menuToggle input:checked ~ ul {
        transform: none;
    }

    .contactdiv {
        flex-direction: column;
    }

    .contactdetails {
        width: 100%;
        margin-bottom: 1.8rem;
    }

    /* #prev, #next {
        filter: invert(100%);
    } */

}


