@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bebas Neue', cursive;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #DAEBFF;
}

.wrapper {
    display: flex;
    height: 100vh;
    width: calc(100vh * 7); /* Calculated width for 7 sections */
}

.logo {
    font-size: 2rem;
    position: fixed;
    z-index: 10;
    top: 2rem;
    left: 2rem;
    line-height: 0.9;
    color: #37B2E6;
}

section {
    width: 100vh; /* Each section takes up 100vh in width */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    margin-top: 6rem;
}

.image-wrapper {
    width: calc(20% - 1rem); /* Adjusted width for multiple images */
    height: auto;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section-1 {
  margin-left: 15rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}

.drawing1-wrapper {
  position: absolute;
  width: 80%;
  height: auto;
  overflow: visible;
  bottom:10%;
  right:10%;
  clip-path: inset(0% 10% 0% 0%);
}

.drawing1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link1-wrapper {
  position: absolute;
  width: 40%;
  height: auto;
  overflow: visible;
  bottom:40%;
  left:-15%;
  z-index: 1;
}

.link1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-2 {
  margin-left: -5rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}


.texto1-wrapper {
  position: absolute;
  width: 80%;
  height: auto;
  overflow: visible;
  bottom:65%;
  right:25%;
}

.texto1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.texto2-wrapper {
  position: absolute;
  width: 80%;
  height: auto;
  overflow: visible;
  top:5%;
  right:25%;
}

.texto2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link4-wrapper {
  position: absolute;
  width: 20%; 
  height: auto;
  bottom: 70%; 
  left: 73%; 
  z-index: 1;
  overflow: visible;
}

.link4 {
  width: 100%;
  height: auto;
  object-fit: cover;
  overflow: visible;
}
.section-3 {
  margin-left: -5rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}


.texto3-wrapper {
  position: absolute;
  width: 80%;
  height: auto;
  overflow: visible;
  bottom:5%;
  right:25%;
}

.texto3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.drawing2-wrapper {
  position: absolute;
  width: 50%;
  height: auto;
  overflow: visible;
  bottom:15%;
  left:55%;
}

.drawing2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link2-wrapper {
  position: absolute;
  width: 55%;
  height: auto;
  overflow: visible;
  bottom:10%;
  left:54%;
  z-index: 1;
}

.link2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-4 {
  margin-left: 15rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}


.texto4-wrapper {
  position: absolute;
  width: 160%;
  height: auto;
  overflow: visible;
  bottom:12%;
  left:-5%;
}

.texto4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link3-wrapper {
  position: absolute;
  width: 25%;
  height: auto;
  overflow: visible;
  bottom:79%;
  left:89%;
  z-index: 1;
}

.link3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Prevent scrolling when modal is open */
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal .content {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow: hidden;
  margin: auto;
  /* Center the modal content */
  border-radius: 4%;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #F65D90;
  font-size: 2.5rem;
  /* Adjust font size for better visibility */
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

.modal#modal1 .content {
  width: 30%;
  height: 80%;
  border-radius: 4%;
}

.modal#modal1 .content img {
  display: flex;
  position: relative;
  width: 160%; /* Ensure the image fits within the modal */
  height: auto;
  top:-95%;
  left:-20%;
}

.modal#modal4 .content {
  width: 30%;
  height: 90%;
  border-radius: 4%;
}

.modal#modal4 .content video {
  width: 100%;
  /* Ensure the image fits within the modal */
  height: auto;
  top:-17%;
  position: relative;
}

.modal#modal2 .content {
  width: 80%;
  height: 90%;
  border-radius: 4%;
}

.modal#modal2 .content video {
  width: 100%;
  /* Ensure the image fits within the modal */
  height: auto;
  top: 1%;
  position: relative;
}

.modal#modal3 .content {
  width: 80%;
  height: 90%;
  display: flex;
}

.image1 {
  width: 30%; /* Adjust the width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
}

.image2 {
  width: auto; /* Adjust the width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
}

.image-container {
  border-radius: 4%;
  display: flex;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.image-container img {
  min-width: 100%;
  transition: transform 0.2s ease;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.link1,
.link2,
.link3,
.link4 {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.link1-wrapper:hover .link1,
.link2-wrapper:hover .link2,
.link3-wrapper:hover .link3,
.link4-wrapper:hover .link4 {
  transform: scale(1.04);
  /* Example hover effect: scale the image */
  filter: contrast(1.1);
  /* Example hover effect: increase brightness */
}