@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: 100%;
  height: auto;
  overflow: visible;
  bottom:20%;
  left:-20%;
}

.drawing1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto1-wrapper {
  position: absolute;
  width: 60%;
  height: auto;
  overflow: visible;
  bottom:25%;
  left:45%;
}

.texto1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link1-wrapper {
  position: absolute;
  width: 50%;
  height: auto;
  overflow: visible;
  bottom:24%;
  z-index: 1;
  clip-path: inset(5% 15% 5% 10%);
}

.link1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.link2-wrapper {
  position: absolute;
  width: 40%;
  height: auto;
  overflow: visible;
  bottom:51%;
  right:-25%;
  z-index: -1;
  clip-path: inset(5% 0% 17% 0%);
}

.link2 {
  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; 
}

.texto2-wrapper {
  position: absolute;
  width: 100%;
  height: auto;
  overflow: visible;
  bottom:57%;
  left:5%;
  clip-path: inset(15% 3% 17% 0%);
}

.texto2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto3-wrapper {
  position: absolute;
  width: 50%;
  height: auto;
  overflow: visible;
  bottom:10%;
  left:60%;
  clip-path: inset(9% 5% 15% 0%);
}

.texto3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawing2-wrapper {
  position: absolute;
  width: 60%;
  height: auto;
  overflow: visible;
  bottom:1%;
  left:5%;
}

.drawing2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link3-wrapper {
  position: absolute;
  width: 25%;
  height: auto;
  overflow: visible;
  bottom:15%;
  left:20%;
  z-index: 1;
  clip-path: inset(9% 0% 35% 0%);
}

.link3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link4-wrapper {
  position: absolute;
  width: 55%;
  height: auto;
  overflow: visible;
  bottom:30%;
  left:90%;
  z-index: -1;
  clip-path: inset(0% 20% 0% 0%);
}

.link4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-3 {
  margin-left: 5rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}

.texto4-wrapper {
  position: absolute;
  width: 95%;
  height: auto;
  overflow: visible;
  bottom:55%;
  left:5%;
}

.texto4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawing3-wrapper {
  position: absolute;
  width: 120%;
  height: auto;
  overflow: visible;
  bottom:12%;
  left:35%;
}

.drawing3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link5-wrapper {
  position: absolute;
  width: 82%;
  height: auto;
  overflow: visible;
  bottom:17%;
  left:25%;
  z-index: 1;
  clip-path: inset(0% 2% 30% 15%);
}

.link5 {
  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: 83%;
  border-radius: 4%;
}

.modal#modal1 .content video {
  width: 110%; /* Ensure the image fits within the modal */
  height: auto;
  top:-40%;
  position: relative;
  object-fit: cover;
}

.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;
  object-fit: cover;
}

.modal#modal3 .content {
  width: 80%; /* Set a larger width */
  height: 90%; /* Set a larger height */
  max-width: 1200px; /* Set a max width for responsiveness */
  max-height: 700px; /* Set a max height for responsiveness */
  overflow: hidden;
}

.modal#modal3 .content video {
  width: 105%; /* Ensure the image fits within the modal */
  height: auto;
  top:-10%;
  position: relative;
}

.modal#modal4 .content {
  width: 90%;
  height: 95%;
  border-radius: 4%;
}

.modal#modal4 .content video {
  width: 100%; 
  height: auto;
  position: relative;
  object-fit: cover;
  bottom:6%;
}

.modal#modal5 .content {
  width: 90%;
  height: 95%;
  border-radius: 4%;
}

.modal#modal5 .content video {
  width: 100%; 
  height: auto;
  position: relative;
  object-fit: cover;
  bottom:6%;
}



.link1,
.link2,
.link3,
.link4,
.link5,
.link6 {
    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,
.link5-wrapper:hover .link5,
.link6-wrapper:hover .link6 {
    transform: scale(1.04); 
    filter:contrast(1.1);
}


::-webkit-scrollbar{
  width:15px;
}
::-webkit-scrollbar-track{
  background-color:#fefff0;

}
::-webkit-scrollbar-thumb{
  background: #594C53;
  border-radius: 8px;
}