@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: 75%;
  height: auto;
  overflow: visible;
  bottom:40%;
  right:25%;
}

.texto1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link1-wrapper {
  position: absolute;
  width: 55%;
  height: auto;
  overflow: visible;
  bottom:68%;
  left:54%;
  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; 
}

.texto2-wrapper {
  position: absolute;
  width: 70%;
  height: auto;
  overflow: visible;
  bottom:15%;
  right:25%;
}

.texto2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link2-wrapper {
  position: absolute;
  width: 21%;
  height: auto;
  overflow: visible;
  bottom:51%;
  left:101%;
  z-index: 1;
  clip-path: inset(15% 12% 5% 12%);
}

.link2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flores-wrapper {
  position: absolute;
  width: 60%;
  height: auto;
  overflow: visible;
  bottom:-10%;
  left:25%;
  z-index: -1;
}

.flores {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.drawing1-wrapper {
  position: absolute;
  width: 70%;
  height: auto;
  overflow: visible;
  bottom:10%;
  left:75%;
}

.drawing1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-3 {
  margin-left: 20rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}

.texto3-wrapper {
  position: absolute;
  width: 65%;
  height: auto;
  overflow: visible;
  bottom:17%;
  right:25%;
}

.texto3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link3-wrapper {
  position: absolute;
  width: 65%;
  height: auto;
  overflow: visible;
  bottom:65%;
  left:75%;
  z-index: -1;
  clip-path: inset(2% 12% 2% 12%);
}

.link3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawing2-wrapper {
  position: absolute;
  width: 55%;
  height: auto;
  overflow: visible;
  bottom:10%;
  left:80%;
}

.drawing2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-4 {
  margin-left: 25rem;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100vh; 
  height: 100vh; 
}

.texto4-wrapper {
  position: absolute;
  width: 60%;
  height: auto;
  overflow: visible;
  bottom:25%;
  right:40%;
}

.texto4 {
  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#modal2 .content {
  width: 70%;
  height: 78%;
  border-radius: 4%;
}

.modal#modal2 .content video {
  width: 100%; 
  height: auto;
  position: relative;
  object-fit: cover;
}

.modal#modal3 .content {
  width: 70%;
  height: 80%;
  border-radius: 4%;
}

.modal#modal3 .content img {
  display: flex;
  position: relative;
  width: 100%; /* Ensure the image fits within the modal */
  height: auto;
}



.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); /* 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;
}
