* {
  box-sizing: border-box;
}

body {
  padding: 0;
  height: 100vh;
  background-color: #f5f5dd;
}

.images {
  margin: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh; /* 100% of the viewport height */

  @media (max-width: 600px) {
    flex-direction: column; /* Display images in a row for smaller screens */
    margin: 50px; /* Adjust margin for smaller screens */
    position: absolute;
  }
}

.images img:nth-child(even) {
  margin-left: auto; /* Push even-numbered images to the right */
  margin-right: 20%; /* Add some margin to the right for spacing */

  @media (max-width: 600px) {
    margin-left: 10px; /* Adjust margin for smaller screens */
    margin-right: 10px; /* Adjust margin for smaller screens */
  }
}

.images img:nth-child(odd) {
  margin-right: auto; /* Push odd-numbered images to the left */
  margin-left: 20%; /* Add some margin to the left for spacing */

  @media (max-width: 600px) {
    margin-left: 10px; /* Adjust margin for smaller screens */
    margin-right: 10px; /* Adjust margin for smaller screens */
  }
}
.images img {
  margin: 70px;
  max-width: 80%; /* Make sure images don't exceed their original size */
  max-height: auto;
  height: auto; /* Maintain the aspect ratio of the images */

  /* Additional styles for smaller screens (max-width: 600px) */
  @media (max-width: 600px) {
    margin: 50px; /* Adjust margin for smaller screens */
    max-width: 100%; /* Make images take up the full width of the container */
  }
}

#lampa4 {
  @media (max-width: 600px) {
    margin-top: 15vh;
  }
}

#lampa8 {
  border: 2px solid black;
}

a {
  color: black;
}

.pg2header a {
  margin: 10px;
  display: flex;
}

.pg2header a img {
  max-width: 100%;
}

#sauchi {
  margin-left: auto;
  float: right;
}

.pg2 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto; /* 100% of the viewport height */

  @media (max-width: 600px) {
    flex-direction: column; /* Display images in a row for smaller screens */
    margin-top: 10px; /* Adjust margin for smaller screens */
  }
}

.pg2 img {
  max-width: 100%; /* Make sure images don't exceed their original size */
  max-height: auto;
  height: auto; /* Maintain the aspect ratio of the images */

  /* Additional styles for smaller screens (max-width: 600px) */
  @media (max-width: 600px) {
    max-width: 100%; /* Make images take up the full width of the container */
  }
}

#ai1 {
  max-width: 100vw;
  margin-bottom: 0;
}

.pg2side {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  @media (max-width: 600px) {
    flex-direction: column; /* Display images in a row for smaller screens */
  }
}

.pg2side img {
  margin: 0;
  max-width: 80%; /* Make sure images don't exceed their original size */
  max-height: auto;
  height: auto; /* Maintain the aspect ratio of the images */

  /* Additional styles for smaller screens (max-width: 600px) */
  @media (max-width: 600px) {
    margin-right: 50px; /* Adjust margin for smaller screens */
    max-width: 100%; /* Make images take up the full width of the container */
  }
}

#monolith_text {
  grid-row: 1 / 1;
  grid-column: 1;
  height: 100vh;
  align-self: flex-start;
  justify-self: start;
  margin: 0;
  @media (max-width: 600px) {
    grid-row: 1 / 1;
    grid-column: 1;
    height: 100vh;
    align-self: flex-start;
    justify-self: start;
    margin: 0;
  }
}

#lampa12 {
  grid-row: 1;
  grid-column: 2 / span;
  max-width: 100%;
  justify-self: center;
  align-self: center;

  @media (max-width: 600px) {
    grid-row: 1;
    grid-column: 2 / span 2;
    max-width: 100%;
    justify-self: flex-start;
    align-self: center;
  }
}
.ikon1 {
  justify-self: center; /* Align to the end of the grid cell horizontally */
  align-self: flex-start;
  margin: -10px 0;
}

.clickHereText {
  display: none;
  @media (max-width: 600px) {
    display: block;
  }
}

#arrow {
  display: none;
  @media (max-width: 600px) {
    display: block;
    transform: rotate(90deg);
    margin-bottom: 10px;
    margin-left: 50%;
    margin-top: 15vh;
    width: 5%;
    float: left;
  }
}
