@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; 
}

.texto1-wrapper {
  position: absolute;
  width: 70%;
  height: auto;
  overflow: visible;
  bottom:15%;
  right:25%;
  clip-path: inset(0% 0% 5% 5%);

}

.texto1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link1-wrapper {
  position: absolute;
  width: 40%;
  height: auto;
  overflow: visible;
  bottom:8%;
  left:20%;
  z-index: 1;
}

.link1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.link2-wrapper {
  position: absolute;
  width: 85%;
  height: auto;
  overflow: visible;
  bottom:-10%;
  left:20%;
  z-index: 1;
  opacity: 70%;
  clip-path: inset(0% 20% 5% 35%);

}

.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: 70%;
  height: auto;
  overflow: visible;
  bottom:13%;
  right:25%;
}

.texto2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-3 {
  margin-left: -11rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}

.texto3-wrapper {
  position: absolute;
  width: 70%;
  height: auto;
  overflow: visible;
  bottom:-7%;
  right:30%;
}

.texto3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.drawing1-wrapper {
  position: absolute;
  width: 90%;
  height: auto;
  overflow: visible;
  bottom:61%;
  left:-10%;
}

.drawing1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link3-wrapper {
  position: absolute;
  width: 7%;
  height: auto;
  overflow: visible;
  bottom:96%;
  left:16%;
  z-index: 1;
}

.link3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-4 {
  margin-left: -5rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}

.texto4-wrapper {
  position: absolute;
  width: 70%;
  height: auto;
  overflow: visible;
  bottom:70%;
  right:35%;
}

.texto4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto5-wrapper {
  position: absolute;
  width: 50%;
  height: auto;
  overflow: visible;
  bottom:14%;
  right:25%;
}

.texto5 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.link4-wrapper {
  position: absolute;
  width: 60%;
  height: auto;
  overflow: visible;
  bottom:5%;
  right:60%;
  z-index: 1;
  clip-path: inset(0% 25% 0% 20%);
}

.link4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link5-wrapper {
  position: absolute;
  width: 30%;
  height: auto;
  overflow: visible;
  bottom:66%;
  right:35%;
  z-index: 1;
  clip-path: inset(4% 0% 75% 0%);
}

.link5 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto6-wrapper {
  position: absolute;
  width: 40%;
  height: auto;
  overflow: visible;
  bottom:85%;
  left:80%;
}

.texto6 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link6-wrapper {
  position: absolute;
  width: 115%;
  height: auto;
  overflow: visible;
  bottom:15%;
  right:-90%;
  z-index: 1;
  clip-path: inset(3% 15% 5% 15%);
  border-radius: 4%;
}

.link6 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link6-wrapper {
  position: relative;
}

.hover-image {
  border-radius: 4%;
  position: absolute;
  top: -60%;
  left: 0;
  width: 90%;
  height: 90%;
  object-fit: cover;
  opacity: 0;
  bottom:50%;
  transition: opacity 0.5s ease;
}

.link6-wrapper:hover .hover-image {
  opacity: 1;
}

.texto7-wrapper {
  position: absolute;
  width: 50%;
  height: auto;
  overflow: visible;
  bottom:12%;
  left:115%;
}

.texto7 {
  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: 90%;
  height: 90%;
  border-radius: 4%;
}

.modal#modal1 .content video {
  width: 110%; /* Ensure the image fits within the modal */
  height: auto;
  position: relative;
  object-fit: cover;
  top:-23%;
}

.modal#modal2 .content {
  width: 90%;
  height: 90%;
  border-radius: 4%;
}

.modal#modal2 .content video {
  width: 110%; /* Ensure the image fits within the modal */
  height: auto;
  position: relative;
  object-fit: cover;
  top:-23%;
}

.modal#modal3 .content {
  width: 80%;
  height: 90%;
  border-radius: 4%;
}

.modal#modal3 .content video {
  width: 100%; /* Ensure the image fits within the modal */
  height: auto;
  position: relative;
  object-fit: cover;
  top:-%;
}


.modal#modal4 .content {
  width: 20%;
  height: 60%;
  border-radius: 4%;
}

.modal#modal4 .content img {
  display: flex;
  position: relative;
  height: auto;
  width:150%;
  right:25%;
  top:-5%;
}

.modal#modal5 .content {
  width: 30%;
  height: 90%;
  border-radius: 4%;
}

.modal#modal5 .content img {
  display: flex;
  position: relative;
  height: auto;
  width:150%;
  right:25%;
  top:-5%;
}


.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.08); /* Example hover effect: scale the image */
    filter:contrast(1.1); /* Example hover effect: increase brightness */
}



::-webkit-scrollbar{
  width:15px;
}
::-webkit-scrollbar-track{
  background-color:#fefff0;

}
::-webkit-scrollbar-thumb{
  background: #594C53;
  border-radius: 8px;
}
