/* CUSTOM FONTS */

/* RALEWAY */

/* BAUHAUS */
@font-face {
    font-family: BauHaus;
    src: url('./Bauhaus/BauhausBold.ttf')
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: BauHaus;
    src: url('./Bauhaus/BauhausRegular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: BauHaus;
    src: url('./Bauhaus/BauhausItalic.ttf');
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: BauHaus;
    src: url('./Bauhaus/BauhausBoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Regular.ttf');
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Thin.ttf');
    font-weight: 100;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-ExtraLight.ttf');
    font-weight: 200;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-SemiBold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-ExtraBold.ttf');
    font-weight: 800;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Black.ttf');
    font-weight: 900;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-ThinItalic.ttf');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-ExtraLightItalic.ttf');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-LightItalic.ttf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-MediumItalic.ttf');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-SemiBoldItalic.ttf');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-BoldItalic.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-ExtraBoldItalic.ttf');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: RalewayRegular;
    src: url('./Raleway/static/Raleway-BlackItalic.ttf');
    font-weight: 900;
    font-style: italic;
}


/* END CUSTOM FONTS */

li {
    list-style-type: none;
    margin: 2px 7px 0;
}

.cnavbar {
    text-transform: uppercase;
    border-bottom: 1px solid #2C2C2C;
    width: 100%;
    z-index: 999;
    position: sticky;
    font-size: 14px;
}

.navbar-title {
    padding-left: 2%;
}

.cnavbar-padding {
    padding-top: 1px;
}

.site-title {
    font-family: Bauhaus;
    font-size: 225%;
    color: #fff;
    text-transform: none;
}

.site-title:hover {
    color: #fff;
}

.cnavbar-options {
    position: relative;
    float: left;
    
    padding-right: 15px;
}

@media (min-width: 768px) {
    .navbar-padding {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .navbar-padding {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .navbar-padding {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .essay-padding {
        padding-left: 10%;
        padding-right: 15%;
    }
}



.dropdown-menu {
    background-color: black;
    border-radius: 0;
    --bs-dropdown-link-hover-bg: black;
    margin: 0;
    --bs-dropdown-padding-y: 0px;
}



.dropdown {
    font: RalewayRegular;
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 2px solid #d93d00;
    padding: 2px
}

a {
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    overflow-wrap: break-word;
    color: #d93d00;
}

.dropdown-item {
    color: white;
    background-color: black;
    font: RalewayRegular;
    font-weight: bold;
    font-size: 0.8rem;
    border-bottom: 2px solid #222222;
    border-top: 2px solid #1B1B1B;
    padding: 15px 10px;
    overflow-wrap: break-word;
    min-width: 165px;
}

.dropdown-item:not(:disabled):not(:disabled):active {
    background-color: black;
    color:white;
} 

.dropdown-item:focus {
    background-color: black;
    color:white;
} 

.dropdown-item:hover {
    color: #d93d00;
    background-color: black;
    border-left: 5px solid rgba(255, 255, 255, 0.269);
}

.dropdown-item:active {
    background-color: black;
    color:white;
}

.nav-a {
    color: white;
    text-decoration: none;
}

.nav-a:hover {
    color: #d93d00;
}

.nav-a:active {
    color: red;
}

.active {
    color: #d93d00;
}

.dropdown:active .dropdown-menu {
    display: block;
    /* remove the gap so it doesn't close */
 }



.global-font {
    font-family: RalewayRegular;
}

html, body {
    margin: 0;
    height: 100%;
    background-color: rgb(234, 232, 232);
}

.main-content-container {
    display: flex;
    justify-content: center;
}

.main-content {
    padding-left: 2%;
    padding-right: 2%;
    background-color: rgb(234, 232, 232);
    border: 1px solid #eee;
}

.side-content {
    width: 100%;
    display: grid;
    grid-template-columns: 30% 60% 10%;
    background-color: rgb(234, 232, 232);
    padding-top: 2%;
}

@media (max-width: 700px) {
    .side-content {
        width: 100%;
        display: flex;
        padding-left: 2%;
    }   
}

.essay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5%;
    justify-items: center;
}

@media (max-width: 1000px) {
    .essay-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 5%;
        justify-items: center;
    }
}

@media (max-width: 860px) {
    .essay-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2%;
        justify-items: center;
    }
}

@media (max-width: 700px) {
    .essay-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1%;
        justify-items: center;
    }
}


.side-nav {
    display: none;
}

@media (min-width: 660px) {
    .side-nav {
        display: inherit;
    }
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    max-height: auto;
}

hr {
    background-color: #e21e00;
    border: none;
    height: 4px;
}

.mobile-hidden {
    display: inherit;
}

@media (max-width: 860px) {
    .mobile-hidden {
        display: none;
    }
}


/* HOME PAGE CSS SETTINGS */

/* .bigscreen {
    display: grid;
    grid-template-columns: 60% 40%;
} */

.bigscreen {
    display: flex;
    flex-direction: column;
    margin-left: 14%;
    margin-right: 10%;
}

.bigscreenimage {
    display: flex;
    flex: 1;
    flex-direction: column;
    border-right: solid 1vw black;
}

.littlescreenimage {
    display: none;
}

@media (min-width: 1201px) {
    .title-container {
        display: grid;
        grid-template-columns: 60% 40%;
    }
    .search {
        display: flex; 
        flex-direction: row; 
        padding-top: 10%; 
        flex-grow: 1;
    }
}

@media (max-width: 1200px) {
    .title-container {
        display: block;
    }

    .search {
        display: flex;
        flex-direction: row;
        flex-grow: 1;
    }
}
@media (max-width: 700px) {
    .search {
        display: flex;
        flex-direction: row;
        flex-grow: 1;
        padding-top: 2%;
        padding-bottom: 2%;
    }
}

.home-title {
    display: none;
}

@media (min-width: 700px) {
    .home-title {
        display: inherit;
        text-align: left; 
        padding-top: 1%;
        padding-bottom: 1%;
        font-family: BauHaus;
        font-weight: bold;
        font-size: 550%;
    }
}

.side-title {
    text-align: left; 
    font-weight: bold;
    font-size: 300%;
    border-left: solid 3px #d93d00;
}

@media only screen and (max-width: 1200px) {
    .bigscreen {
        display: flex;
        flex-direction: column;
        margin-left: 11%;
    }

    .bigscreenimage {
        display: none;
    }

    .littlescreenimage {
        display: block;
    }
    .side-title {
        text-align: left; 
        font-weight: bold;
        font-size: 250%;
        border-left: solid 3px #d93d00;
    }
}

.card-img-top {
    width: 100%;
    height: 25vw;
    object-fit: cover;
}

@media only screen and (max-width: 920px) {
    .side-title {
        text-align: left; 
        font-weight: bold;
        font-size: 200%;
        border-left: solid 3px #d93d00;
    }
}

/* This only exists to keep the text aligned with the Fall Edition 2022 text */
@media only screen and (max-width: 800px) {
    .bigscreen {
        display: flex;
        flex-direction: column;
        margin-left: 8%;
    }
}
@media only screen and (max-width: 700px) {
    .side-title {
        text-align: left; 
        font-weight: bold;
        font-size: 150%;
        border-left: solid 3px #d93d00;
    }
}
@media only screen and (max-width: 600px) {
    .bigscreen {
        display: flex;
        flex-direction: column;
        margin-left: 1%;
    }
}

@media only screen and (max-width: 500px) {
    .side-title {
        text-align: left; 
        font-weight: bold;
        font-size: 140%;
        border-left: solid 3px #d93d00;
    }
}

.circle {
    border-radius: 50%;
    height: 20px;
    width: 20px;
    background-color: black;
    margin: 20%;
}

.square {
    border-radius: 5%;
    height: 5px;
    width: 5px;
    background-color: black;
    float: left;
    margin: 1%;
}

.red-line-container {
    border-top: solid 0.8vw #d93d00; 
    border-bottom: solid 0.8vw #d93d00;
}

.left-container {
    display: grid; 
    grid-template-columns: 10% 90%;
}

.black-line {
    border: none; 
    border-bottom: 0.8vw solid rgb(0, 0, 0); 
    margin-bottom: 5%;
}

.vertical-title {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

#toggled-text {
    display: block;
}

#toggled-text:target {
    display: none;
}

/* END HOME PAGE CSS SETTINGS */