/* navigation item */
nav {
  top: 0;
  left: 0;
  display: flex;
  width: 100vw;
  height: 4.5em;
  padding: 0%;
  margin: auto;
  position: sticky;
  z-index: 5;
  flex-direction: row;
  align-items: center;
  justify-items: center;
  justify-content: space-evenly;
  background-color: rgb(126, 0, 0);
  border-radius: 0 0 0.3rem 0.3rem;
}
nav .bar_btn {
  width: 2rem;
  font-size: 2rem;
  display: none;
  margin: 1rem;
}

.dropdown-menu {
  position: sticky;
  z-index: 1;
  top: 4.5rem;
  width: 100vw;
  height: 0;
  background-color: rgba(126, 0, 0, 0.8);
  border-radius: 0 0 1rem 1rem;
  transition: height 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(3px);
}

.menu-items {
  display: none;
  padding: 0;
  margin: 0;
}
.menu-items li {
  line-height: 2rem;
}

nav .nav-logo {
  display: inline;
  float: left;
  margin: 1rem;
}

/* ul and li in nav display stye inline */
.nav-items ul, .nav-items li {
  display: inline;
}

.nav-items ul {
  margin: 0;
}

.nav-items li {
  display: inline;
  margin: 1rem;
}

nav a {
  transition: 0.2s;
}

nav a:hover {
  color: rgb(68, 25, 25);
  transition: 0.2s;
}

@media screen and (max-width: 1079px) {
  nav {
    border-radius: 0;
  }
  nav .bar_btn {
    display: block;
    cursor: pointer;
  }
  nav .nav-items {
    display: none;
  }
  .dropdown-menu.open {
    height: 11rem;
  }
  .dropdown-menu.open .menu-items {
    display: flex;
    flex-direction: column;
  }
}
.slide ul {
  padding-inline-start: 0%;
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.slide > ul > li {
  float: left;
  margin-right: 5vw;
}

.slide {
  overflow: hidden;
  width: 80vw;
  height: 60vh;
  margin: auto;
  display: flex;
  flex-direction: row;
}

.slide img {
  display: inline;
  height: 100%;
}

/* footer flexbox */
footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: max-content;
  margin: auto;
  padding: 3rem 0;
  color: white;
}

.footer-logo {
  width: 80px;
}

.company-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 3rem;
}
.company-wrapper h2 {
  margin: 0;
}

.company-wrapper h2 {
  display: inline;
  color: rgb(255, 228, 228);
}

/* set footer link font color to white */
footer a {
  color: white;
}

footer table {
  margin: 1em 0;
}

footer hr {
  visibility: hidden;
  width: 4em;
  margin: 0.5em 0 0 0;
}

/* make ul format pritter */
footer ul {
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.footer-links-wrapper {
  margin: auto;
  display: flex;
  flex-direction: row;
  padding-inline-start: 0;
  width: 100%;
}

.footer-about-us, .footer-contact, .footer-useful-links {
  flex-grow: 0;
  width: 33%;
}
.footer-about-us table, .footer-contact table, .footer-useful-links table {
  margin: auto;
}

@media screen and (max-width: 800px) {
  .footer {
    flex-direction: column;
    width: 100%;
  }
  .footer-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-about-us, .footer-contact, .footer-useful-links {
    width: 100%;
  }
}
@media screen and (max-width: 1079px) {
  footer {
    display: flex;
    flex-direction: column;
    width: 90vw;
    margin: auto;
    text-align: -webkit-center;
  }
  .footer-about-us, .footer-contact, .footer-useful-links {
    flex-grow: 0;
  }
}
.exhibition {
  overflow: hidden;
  width: 100vw;
  height: 42.85vw;
  margin: auto;
  display: flex;
  flex-direction: row;
}

.exhibition ul {
  padding-inline-start: 0%;
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  position: relative;
}

.exhibition > ul > li {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
}

.exhibition > ul > li > .active {
  opacity: 1;
}

.exhibition img {
  padding: 0;
  margin: auto;
  width: 100%;
  opacity: 0;
  transition: 1000ms;
}

.deck {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: auto;
  width: 80vw;
  flex-wrap: wrap;
}

.card {
  height: 200px;
  width: 300px;
  border: 1px solid white;
  border-radius: 1rem;
  overflow: hidden;
  transition: 500ms;
  background-color: rgba(255, 255, 255, 0.5);
}

.card > p {
  padding: 0%;
}

.card:hover {
  transform: scale(1.05);
}

.card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.card-img-wrapper {
  position: relative;
  z-index: 0;
  height: 80%;
  width: 100%;
  overflow: hidden;
  transition: 500ms;
}

.card-img-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 500ms;
}

.card-img-wrapper:hover > img {
  transform: scale(1.3);
  transition: 500ms;
}

a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  height: auto;
  width: auto;
}

li {
  list-style-type: none;
}

h1 {
  font-size: 3.5rem;
}

h3 {
  font-size: 3rem;
}

p {
  font-size: 1.5rem;
}

main {
  margin: auto;
  text-align: center;
}

.introduction {
  text-align: left;
  margin: 0 10vw;
  padding-bottom: 20vh;
}

.copyright {
  color: white;
  background-color: rgb(0, 7, 46);
  position: relative;
  padding: 0.1rem 4.5rem 0.1rem;
}
.copyright p {
  font-size: 1rem;
}

.about-img {
  width: 100vw;
  height: 42vw;
  overflow: hidden;
}
.about-img img {
  width: 100%;
}

/*# sourceMappingURL=main.css.map */
