img {
  width: 25%;
  padding: 5px;
  object-fit: contain;
}

.contacts {
  display: flex;
  flex-direction: row;
  margin: 10px;
  align-content: space-around;
  max-width: 80%;
}

body {
  background-image: url("Assets/backgroundtiles3.png");
}

.linklogo {
  width: 20%;
}

.line {
  width: 100%;
  height: 10px;
  border-top: 2px solid black;
  padding-bottom: 2%;
}

table,
th,
td {
  border-collapse: collapse;
  background-color: #ffffff;
}

td {
  padding: 15px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: -1px;
}

th {
  font-weight: bold;
  font-size: 25px;
  padding: 15px;
  text-align: left;
}

.aboutpg {
  display: flex;
  place-items: start;
}

.monospace {
  font-family: monospace;
}

.display-img {
  max-width: 100%;
  display: grid;
  gap: 10px;
  min-height: 25%;

  grid-template-areas: "1fr 1fr";
  place-items: start;

  @media (max-width: 500px) {
    grid-template-areas: "1fr" "1fr";
  }

  img {
    width: 100%;
    min-width: 0;
  }

  .text {
    width: 100%;
  }

  .images-outer {
    display: flex;
    flex-direction: row;

    @media (max-width: 800px) {
      flex-direction: column;
    }
  }
}

.logo {
  width: 100%;
}

nav {
  overflow: hidden;
  background-color: #333;
  display: flex;
  place-items: center;
  z-index: 10;

  @media (min-width: 1500px) {
    box-shadow: 0 0 18px 0px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }

  a {
    float: left;

    &:hover {
      background-color: #ddd;
      color: #ffff;
    }

    &.active {
      background-color: #ffffff;
      display: block;
      padding-bottom: 27px;
      padding-left: 20px;
      padding-top: 24px;
      padding-right: 20px;
      color: rgb(205, 255, 54);
    }

    &:visited {
      color: #f2f2f2;
    }
  }
}

main {
  display: flex;
  flex-direction: column;
  gap: 30px;

  &>* {
    width: 100%;
  }

  padding-top: 5%;

  @media (min-width: 1500px) {
    padding-top: 150px;
  }

}

@font-face {
  font-family: zysol;
  src: url(Assets/zyzol/Zyzol.otf);
}

@font-face {
  font-family: raveo;
  src: url(Assets/raveo/fonts/static/Raveo\ Display\ Medium.otf);
}

.content {
  max-width: 80%;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 35px;
  padding-left: 45px;
  font-size: 22px;
  box-shadow: 0 0 23px -2px rgba(0, 0, 0, 0.2);
}

h2 {
  font-family: zysol;
  font-size: 40px;
  color: black;
  margin: unset;
}

.title2 {
  font-family: zysol;
  font-size: 35px;
  text-align: left;
  color: black;
}

.logotext {
  font-family: raveo;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  margin-top: -10px;
  text-align: none;
  padding: 1% 1% 10;
  text-decoration: none;
  color: black;
}

.linktext {
  font-family: raveo;
  font-weight: bold;
  color: #f2f2f2;
  text-align: none;
  padding: 1% 1%;
  text-decoration: none;
  font-size: 30px;
}

.text {
  font-family: raveo;
  font-weight: bold;
  font-size: 26px;
  letter-spacing: -1px;
  max-width: 800px;

}

.map {
  width: 100%;
  height: 1200px;
}

.openbutton {
  font-family: Grith;
  font-size: 40px;
  color: black;
}

a:visited {
  font-size: 40px;
  font-family: Grith;
  text-decoration: none;
  color: black;
}

.button {
  border: solid;
  font-family: Grith;
  font-size: 40px;
  border-color: black;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;

  a:link {
    color: black;
    font-size: 40px;
    font-family: Grith;
    text-decoration: none;
  }
}

.stingray-img {
  width: 30;
  display: block;
  position: absolute;
  bottom: 5%;
  right: 0%;
  padding: 5%;
}

@media (max-width: 1000px) {
  .stingray-img {
    bottom: 0%;
  }
}

/* phone media query shit */
@media (max-width: 800px) {
  nav {
    flex-direction: column;
    place-items: start;

    a:not(:first-child) {
      margin-left: 20px;
    }
  }

  .aboutpg {
    flex-direction: column;

    img {
      place-self: left;
    }

    .text {
      width: 80% !important;
    }
  }
}

img.art:active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); 
    z-index: 10;
    max-height: 90%;
}
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
 

  .button-prev {
    left: 1rem;
  }

  .button-next {
    right: 1rem;
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
  }

  .carousel-buttons {
    display: flex;
    justify-content: space-between;
    place-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    .button-next,
    .button-prev {
      width:15%;
      height: fit-content;
      background-color: transparent;
      border: none;


      &:hover {
        background-color: rgba(205, 255, 54, 0.421)  ;
        color: #ffff;
      }
    }
  }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;

    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;

    &[data-active] {
      opacity: 1;
      transition-delay: 0ms;
      z-index: 1;
    }

    img {
      object-fit: contain;
      display: block;
    }
  }

}