body {
  margin: 0;
}

element::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

element {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}

header {
  background-color: rgb(13, 41, 51);
  height: 120px;
  display: flex;
}

header img {
  width: 320px;
  padding-left: 60px;
}

.main {
  height: calc(100dvh - 240px);
  overflow-y: auto;
  background-color: rgb(5, 23, 30);
  display: flex;
  align-items: center;
  flex-direction: column;
  color: white;
  font-size: 36px;
  font-family: 'robotobold_italic', sans-serif;
}

.d_none {
  display: none;
}

.image_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-left: 80px;
  margin-right: 80px;
  padding-top: 60px;
  padding-bottom: 40px;
}

.image_container img {
  object-fit: cover;
}

.image_style {
  width: 220px;
  height: 220px;
  overflow: hidden;
  border: 3px solid rgb(13, 41, 51);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image_style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image_style:hover {
  border: 3px solid rgb(26, 112, 143);
  transition: border 0.5s ease;
}

.overlay {
  position: fixed;
  top: 120px;
  left: 0;
  height: calc(100dvh - 240px);
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.375);
  display: none;
  justify-content: center;
  align-items: center;
  transition: transform 125ms ease-in-out;
}

.slider {
  max-height: 90dvh;
  max-width: 90dvw;
  padding: 40px;
  height: 700px;
  width: 600px;
  background-color: rgb(13, 41, 51);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.arrow,
.exit {
  height: 10dvh;
  max-height: 80px;
  max-width: 80px;
}

.exit:hover {
  cursor: pointer;
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 15px 10px rgba(145, 92, 182, 0.4);
  border-radius: 16px;
}

.arrow:hover {
  cursor: pointer;
  border-radius: 40px;
  box-shadow: 0 5px 15px 10px rgba(145, 92, 182, 0.4);
}

.icons {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  justify-content: space-between;
  margin-left: 0px;
  margin-right: 0px;
}

.slider_img_section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullSizeImage {
  max-width: 100%;
  max-height: 100%;
  width: 520px;
  height: 500px;
  border-radius: 16px;
  object-fit: cover;
}

.d_flex {
  display: flex;
}

footer {
  background-color: rgb(13, 41, 51);
  height: 120px;
  display: flex;
  align-items: center;
  bottom: 0;
  left: 0;
  position: fixed;
  width: 100%;
  justify-content: center;
}

.image_support_photograph {
  font-size: 16px;

  color: white;
}

@media (max-width: 820px) {
  h1 {
    font-size: 36px;
  }
}

@media (max-width: 700px) {
  header {
    height: 70px;
    display: flex;
    justify-content: center;
  }

  header img {
    width: 260px;
    padding: 0;
  }

  .image_container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .main {
    height: calc(100dvh - 140px);
    font-size: 36px;
  }

  .overlay {
    position: fixed;
    top: 70px;
    left: 0;
    height: calc(100dvh - 140px);
    width: 100vw;
    justify-content: center;
    align-items: center;
  }

  footer {
    height: 70px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 560px) {
  h1 {
    text-align: center;
  }

  .image_container {
    padding-top: 10px;
  }

  .overlay {
    position: fixed;
    top: 70px;
    left: 0;
    height: calc(100dvh - 140px);
    width: 100dvw;
  }

  .slider {
    max-height: 90dvh;
    max-width: 90dvw;
    padding: 40px;
    height: 500px;
    width: 600px;
    background-color: rgb(13, 41, 51);
  }

  .fullSizeImage {
    max-width: 100%;
    max-height: 100%;
    width: 420px;
    height: 340px;
  }

  .arrow,
  .exit {
    height: 10dvh;
    max-height: 50px;
    max-width: 50px;
  }

  .arrow:hover {
    border-radius: 30px;
  }

  .icons {
    margin-top: 20px;
  }

  footer {
    height: 70px;
  }

  .image_support_photograph {
    font-size: 16px;
    color: white;
  }
}

@media (max-width: 420px) {
  header img {
    width: 200px;
    padding: 0;
  }

  .image_container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .image_container img {
    object-fit: cover;
  }
}

@media (max-height: 420px) {
  header {
    height: 50px;
    display: flex;
    justify-content: center;
  }

  header img {
    width: 160px;
    padding: 0;
  }

  .h1 {
    margin-block-start: 0;
    margin-block-end: 0;
  }

  .main {
    height: calc(100dvh - 50px);
  }

  .image_container {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 0;
  }

  .image_style {
    width: 160px;
    height: 160px;
  }

  .overlay {
    position: fixed;
    top: 50px;
    left: 0;
    height: calc(100dvh - 50px);
    width: 100dvw;
  }

  .slider {
    padding: 10px;
    height: 240px;
    width: 460px;
  }

  .fullSizeImage {
    width: 380px;
    height: 160px;
  }

  .arrow,
  .exit {
    height: 10dvh;
    max-height: 30px;
    max-width: 30px;
  }

  .arrow:hover {
    border-radius: 30px;
  }

  .icons {
    margin-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
  }

  footer {
    display: none;
  }
}
