body {
    background-color: antiquewhite;
    color: #181818;
    margin: 16px;
    border: 5px double #181818;
    box-shadow: inset 0px 0px 6px black;
}

.hero {
    color: antiquewhite;
    margin: 0;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Anton";
    font-size: 60px;
    letter-spacing: 2px;
    border-top: 6px double antiquewhite;
    border-bottom: 6px double antiquewhite;
    box-shadow: inset 0px 0px 21px antiquewhite;
}

#title {
	background-color: rgba(31, 31, 31, 0.7);
    border-top: 5px solid antiquewhite;
    padding: 5px;
    border-bottom: 5px solid antiquewhite;
    text-shadow: 1px 1px dimgray;
    font-size: 7vw;
}

.navbar {
    width: 100%;
    height: 60px;
    display: flex;
}

.navbarwrapper {
    padding: 15px;
}

.navbarcontent {
    flex: 1;
    background: linear-gradient(45deg, black, black);
    background-size: 1px 4px;
    background-repeat: repeat-x;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.icon {
    width: 50px;
    height: 50px;
    background: url("logo.svg");
    background-position: center;
    background-size: contain;
    padding-right: 25px;
    background-repeat: no-repeat;
}

a:not(.normal),
.texta {
    text-decoration: none;
    background-color: antiquewhite;
    padding: 5px;
    text-transform: uppercase;
    color: #181818;
    font-weight: bolder;
    font-family: "Imbue";
    font-size: 30px;
}

a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #181818;
    transform: scaleX(0);
    transition: transform 500ms;
}

a:hover {
    margin-bottom: 0px;
}

a:hover::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #181818;
    transform: scaleX(1);
}

.herowrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0px 4px 5px black) grayscale(1) sepia(0.4);
	background: url(assets/001.webp);
	background-size: cover;
	background-position: center;
    background-attachment: fixed;
	flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Anton";
}

.page {
    margin: 16px;
    font-family: "Eb Garamond";
	text-align: center;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.page p {
    margin: 0px;
    font-weight: 600;
}

::selection {
    color: antiquewhite;
    background-color: antiquewhite;
}

.rightimage {
    float: right;
    margin-right: 10px;
}

img {
    filter: sepia(1) grayscale(0.7);
    border: 5px double #181818;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-left: 5px double #181818;
    background: antiquewhite;
    padding-left: 5px;
}

::-webkit-scrollbar-thumb {
    background: #181818;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #282828;
}

::-webkit-scrollbar-button {
    background-color: #181818;
}

#buttons {
    display: flex;
    width: 60vw;
    justify-content: space-evenly;
}

#buttons a {
    font-size: 4vw;
}

.menu {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    top: 0;
    right: 0;
    z-index: 9;
    display: none;
}

.menu:target {
    display: block;
}

.menucontent {
    position: fixed;
    width: 60vw;
    height: 100%;
    background: #181818;
    top: 0;
    right: 0;
    z-index: 9;
    transition: transform 500ms;
    transform: translateX(100%);
    overflow: scroll;
}

.menucontent:target {
    transform: translateX(0%);
}

.menucontent a {
    padding: 4px;
}

.menucontent a::after {
    display: none;
}

.menucontent a:hover::after {
    display: none;
}

body:has(.menucontent:target) #overlay {
    display: block;
}

#menubutton {
    display: none;
}

.navbarwrapperwrapper { 
    position: sticky;
    z-index: 1;
    top: 0px;
    background: antiquewhite;
    box-shadow: inset 0px 0px 6px black;
}

#overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

#anchorstatic {
    position: fixed;
    width: 1px;
    height: 1px;
    display: block;
    top: 50%;
    left: 50%;
}

.navbarcontent .texta .navbardropdown a {
    color: antiquewhite;
    transition: 0.1s color;
}
.navbarcontent .texta .navbardropdown a:hover {
    color: white;
}

.navbarcontent a .navbardropdown, .navbarcontent .texta .navbardropdown  {
    display: none;
    font-family: "Eb Garamond";
    font-size: 16px;
    position: absolute;
    width: 200px;
    background-color: #181818;
    padding: 15px;
    border: 2px solid antiquewhite;
    outline: 2px solid #181818;
    color: antiquewhite;
    z-index: 9;
}
.navbarcontent a .navbardropdown hr, .navbarcontent .texta .navbardropdown hr {
    border-color: #2f2f2f;
    border-style: double;
}

.navbarcontent a:hover .navbardropdown, .navbarcontent .texta:hover .navbardropdown {
    display: block;
}

.menutexta a {
    margin-left: 30px;
}

.instagram {
    width: 1em;
    height: 1em;
    border: 5px solid antiquewhite;
    background-image: url(instagram.svg);
    background-size: cover;
    background-repeat: no-repeat;
    transition: 0.2s filter;
}

.instagram::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #181818;
    position: relative;
    top: 1.1em;
    transform: scaleX(0);
    transition: transform 500ms;
}

.normal {
    text-decoration: none;
    color: #181818;
}

@media (max-width: 782px) {
    #home, #about, #contact, #details, #committees, #apply {
        display: none;
    }
    #menubutton {
        display: block;
    }
    .navbarcontent {
        justify-content: flex-end;
    }
    .card {
        flex-direction: column !important;
    }
    .iboxwrapper {
        grid-template-columns: repeat(auto-fit, 100%) !important;
    }
    .iboxwrapper h1 {
        font-size: 1.4em;
    }
}

/* ADDITIONAL COMPONENTS */

.invert {
    background-color: #181818;
    color: antiquewhite;
    padding: 16px;
    width: 100%;
}

.card {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-top: 5px solid #181818;
    padding-bottom: 25px;
}

.cardimage {
    aspect-ratio: 1/1;
    height: 200px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 16px;
}

.cardcontent h1, .cardcontent h2 {
    font-weight: 100;
    font-family: "Anton";
}

.card.reverse {
    background-color: #181818;
    color: antiquewhite;
    padding: 16px;
    width: 100%;
    flex-direction: row-reverse;
    border-color: antiquewhite;
}

.cardlink a {
    display: inline-block;
}

.cardlinkwrapper {
    display: flex;
}

.iboxwrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    gap: 50px;
}

.ibox {
    width: fit-content;
}

.ibox h4 {
    position: relative;
    width: fit-content;
    padding: 5px;
    bottom: 20px;
    background: wheat;
    float: right;
    left: 20px;
}

.ibox h3 {
    font-size: 2em;
}

.ibox h3, .ibox h4 {
    font-family: "Anton";
    font-weight: 100;
    text-transform: uppercase;
    margin: 0;
}

.ibox div {
    background-position: center;
    background-size: cover;
}

.em {
	color: #ff0000;
}

iframe {
	width: 90%;
	aspect-ratio: 16 9;
}

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 2.5rem;    /* Footer height */
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;            /* Footer height */
}