@view-transition {
  navigation: auto;
}

@keyframes topAnimate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}

@keyframes arrowStatic {
  0% {
    transform: translateY(0);
  }
  15% {
    transform: translateY(7px);
  }
  30% {
    transform: translateY(2px);
  }
  45% {
    transform: translateY(7px);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes arrowClick {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(100px);
  }
  80% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}

@font-face {
  font-family: googleSans;
  src: url("/public/fonts/googleSans.woff");
}

@font-face {
  font-family: langdon;
  src: url("/public/fonts/langdon.otf");
}

@font-face {
  font-family: Ebrima;
  src: url("/public/fonts/ebrima.ttf");
}

@font-face {
  font-family: "Arial Black";
  src: url("/public/fonts/arial_black.ttf");
}

#mobileMenuContainer {
  position: fixed;
  left: 1%;
  width: 98%;
  top: 7px;
  display: none;
  border-radius: 30px;
  background-color: #142039;
  box-shadow: black 0 2px 5px;
  animation-fill-mode: forwards;
  animation-duration: 5s;
  animation-iteration-count: 3000;
  overflow: hidden;
  z-index: 2;
}

#shadowHeader {
  display: flex;
  justify-content: space-between;
  height: 60px;
}

#shadowHeaderImage {
  position: relative;
  padding: 12px 20px 14px;
  vertical-align: top;
  display: inline;
}

#shadowHome {
  text-decoration: none;
  color: white;
  font-family: Ebrima, Serif, serif;
  padding-right: 170px;
  display: inline;
  vertical-align: top;
}

#shadowHome:hover {
  color: #e2f2ff;
}

#shadowHeaderTitle {
  position: relative;
  left: 120px;
  top: -70px;
}

#mobileMenu {
  margin-left: auto;
  margin-right: auto;
}

.mobileDropDownCategory {
  width: 100%;
  position: relative;
  border-bottom: white 2px solid;
  overflow: hidden;
  display: flex;
}

.mobileDropDownCategory a {
  display: block;
  height: 30px;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  font-family: Ebrima, Serif, serif;
  flex: 1;
}

.mobileDropDownCategory a:hover {
  background-color: #8a8a8a;
}

.mobileDropDownOpener {
  z-index: 2;
  background-color: #142039;
  transform: rotate(90deg);
}

.mobileDropDownOpener:hover {
  cursor: pointer;
  background-color: #0f182b;
}

.mobileDropDown {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.mobileSubLink {
  background-color: grey;
  display: block;
  height: 20px;
  padding: 15px 20px;
  text-decoration: none;
  color: white;
  font-family: Ebrima, Serif, serif;
}

.mobileSubLink:hover {
  background-color: dimgrey;
}

#closeMobileMenu {
  padding: 10px 20px;
  margin-left: auto;
  display: inline;
  animation: topAnimate;
  animation-duration: 1s;
  fill: white;
}

#closeMobileMenu:hover {
  cursor: pointer;
  background-color: #0f182b;
}

#top {
  margin-left: auto;
  margin-right: auto;
  background-image: url("/public/images/topBackground.jpg");
  background-position: 50% top;
  display: block;
  background-blend-mode: color;
  position: sticky;
  top: 7px;
  margin-bottom: 14px;
  border-radius: 30px;
  width: 98%;
  max-width: 100%;
  transition: max-width 0.5s;
  z-index: 1;
}

#topImages {
  width: 100%;
  height: 100%;
  background-size: cover;
  margin: auto;
  border-radius: 30px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(0, 0, 0, 1)
  );
}

#homepageTop {
  padding: 50px;
}

#topImages svg {
  animation: arrowStatic;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

#topImage {
  animation: topAnimate;
  animation-duration: 2s;
  display: block;
  margin: -40px auto;
  background: rgba(20, 32, 57, 0);
}

#header {
  width: 100%;
  overflow: hidden;
  background-color: #142039;
  height: 60px;
  display: flex;
  justify-content: center;
  box-shadow: black 0 2px 5px;
  border-radius: 30px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

#home {
  text-decoration: none;
  color: white;
  font-family: Ebrima, Serif, serif;
  width: 0;
  height: 50px;
  vertical-align: top;
  overflow: hidden;
  transition: width 1s;
}

#home:hover {
  color: #e2f2ff;
}

#headerImage {
  position: relative;
  padding: 12px 20px 14px;
  vertical-align: top;
  display: inline;
}

#headerTitle {
  position: relative;
  left: 120px;
  top: -70px;
  width: 255px;
}

.link {
  top: 0;
  display: inline;
  color: white;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  width: 150px;
  position: relative;
  font-family: googleSans, serif;
  border-radius: 20px 20px 0 0;
}

.menuRectangle {
  width: 0;
  margin: auto;
}

#menuImage {
  padding: 10px 20px;
  margin-left: auto;
  display: none;
  animation: topAnimate;
  animation-duration: 1s;
  fill: white;
}

#menuImage:hover {
  fill: #e2f2ff;
  cursor: pointer;
}

@keyframes barIn {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes barOut {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

#headerImage:hover {
  cursor: pointer;
}

#headerMenus {
  background-color: #4c4eaf;
  position: sticky;
  display: flex;
  justify-content: center;
  z-index: 1;
  border-radius: 30px;
}

.headerMenu {
  display: none;
  height: 60px;
  padding-bottom: 50px;
  padding-top: 30px;
  justify-content: center;
  width: 100%;
}

.headerMenu a {
  text-decoration: none;
  color: white;
  font-family: googleSans, serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0 20px 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.headerSubLink {
  padding: 20px;
  height: 50px;
  border-radius: 30px;
}

.headerSubLink:hover {
  background-color: #142039;
}

#footer {
  bottom: 0;
  height: 180px;
  text-align: center;
  padding-top: 15px;
  background-color: #142039;
  color: white;
  font-family: googleSans, serif;
  font-size: 20px;
  font-weight: bold;
}

#footer a {
  text-decoration: none;
  color: gray;
  font-family: googleSans, Serif, serif;
  padding: 0 10px;
}

#footer a img {
  padding-top: 20px;
  vertical-align: middle;
}

#footer a:hover {
  color: #e2f2ff;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* Everything below is for the actual page content and varies by file */

@keyframes fadeOut {
  0% {
    opacity: 100%;
  }
  100% {
    opacity: 0;
  }
}

#mainContent {
  z-index: 0;
}

.division {
  max-width: 1400px;
  width: 98%;
  margin: 50px auto;
  border-radius: 30px;
}

section {
  max-width: 1360px;
  margin: auto;
  border-radius: 30px;
  padding: 40px;
  position: relative;
}

#theMessage {
  font-family: googleSans, serif;
  font-size: 20px;
  max-width: 80%;
  margin: 40px auto auto;
}

.imageContainer {
  width: 228px;
  min-width: 228px;
  height: 336px;
  display: flex;
  align-items: center;
  background-color: #142039;
  border-radius: 15px;
  margin: auto;
  border: #142039 8px solid;
}

.imageContainer img {
  display: block;
  object-fit: cover;
  margin: auto;
  width: 100%;
  height: 100%;
  border-radius: 7px;
}

#homepageTop svg:hover {
  cursor: pointer;
}

#carouselAdditional {
  display: flex;
  justify-content: space-between;
}

.carouselButton {
  backdrop-filter: brightness(20%);
  transform: translateY(-402px);
  border-radius: 30px;
  transition: background-color 0.5s;
}

.carouselButton:hover {
  cursor: pointer;
  background-color: #e2f2ff;
  opacity: 80%;
}

.carouselButton svg {
  line-height: 80px;
}

#slideshow {
  overflow: hidden;
  margin: auto;
  white-space: nowrap;
}

.slide {
  max-width: 1400px;
  height: 625px;
  vertical-align: middle;
  display: none;
  object-fit: cover;
  border: #242557 6px solid;
  border-radius: 30px;
  overflow: hidden;
}

.slide img {
  max-width: 1400px;
  height: 100%;
  width: 100%;
  max-height: 625px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.slide p {
  display: none;
  border-radius: 35px;
}

#middle {
  filter: brightness(100%);
  display: block;
  margin: auto;
  font-size: 30px;
  font-family: googleSans, serif;
  font-weight: bold;
  color: black;
  text-decoration: none;
}

#middle p {
  display: block;
  text-align: center;
  background-color: #f6f6f6;
  box-shadow: black 3px 3px 5px;
  padding-top: 15px;
  padding-bottom: 15px;
  position: absolute;
  bottom: -5px;
  left: 30px;
  transition: color 0.5s, background-color 0.5s;
}

#middle p:hover {
  background-color: #2a2c68;
  color: white;
}

.title {
  font-family: "Arial Black", "serif";
  font-size: 40px;
  max-width: 880px;
  text-align: center;
  margin: auto;
  display: block;
  padding-top: 40px;
}

#pageHeaderLink {
  font-family: googleSans, serif;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  color: white;
  display: block;
  margin: auto;
  max-width: 40%;
  background-color: #142039;
  padding: 20px;
  border-radius: 30px;
  box-shadow: black 1px 1px 5px;
  transition: color 0.5s, background-color 0.5s;
}

#pageHeaderLink:hover {
  background-color: #e2f2ff;
  color: black;
}

#joinICDA a {
  color: white;
  background-color: #142039;
  transition: color 0.5s, background-color 0.5s;
  font-family: googleSans, serif;
  font-size: 30px;
  text-align: center;
  max-width: 450px;
  display: block;
  margin: auto;
  padding: 20px;
  border-radius: 38px;
  text-decoration: none;
}

#joinICDA a:hover {
  background-color: #e2f2ff;
  color: black;
  box-shadow: black 1px 1px 5px;
}
