@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  cursor: pointer;
}

/* NAV SECTION */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
}

.nav-link1 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link1 :first-child {
  color: #e50914;
  font-size: 1.25rem;
  font-family: DM Sans;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.01563rem;
  border-bottom: 2px solid #e50914;
}

.nav-link1 a {
  color: var(--secondary-text, #666);
  font-size: 1.25rem;
  font-family: DM Sans;
  line-height: 120%;
  letter-spacing: 0.01563rem;
}

.nav-link2 {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link2 a {
  color: #e50914;
  font-size: 1.25rem;
  font-family: DM Sans;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.01563rem;
}

.nav-link2 :nth-child(2):hover {
  padding: 0.75rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    #e50914;
  border: none;
  color: #fff;
}

.nav-link2 button {
  padding: 0.75rem 2rem;
  border-radius: 1rem;
  background: #e50914;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-family: DM Sans;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.01563rem;
  cursor: pointer;
}

.nav-link2 button:hover {
  border-radius: 1rem;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    #e50914;
}

/* HERO SECTION */

.hero-section {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 4rem 5.5rem;
  align-items: center;
  /* gap: 1rem; */
}
.hero-section .text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 60%;
}

.hero-section .text h2 {
  color: var(--030303, #030303);
  font-size: 3.5rem;
  font-family: Cormorant Garamond;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.01563rem;
}

.hero-section .text p {
  color: #4e4e4e;
  font-size: 1.5rem;
  font-family: DM Sans;
  line-height: 120%;
  font-weight: 100;
  letter-spacing: 0.01563rem;
  text-align: left;
}

.hero-section .text button {
  color: #fff;
  font-size: 1.25rem;
  font-family: DM Sans;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.01563rem;
  border-radius: 1rem;
  background: #e50914;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
}

.hero-section .text button:hover {
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    #e50914;
  color: #fff;
}

.hero-section > .image {
  /* width: 40%; */

 
  background: #fef4f4;
  display: flex;
  padding: 2.5rem;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  align-content: center;
  justify-content: center;
  /* align-items: flex-start; */
  /* gap: 0.625rem; */
}

.border1{
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3.2px solid black;
  border-radius: 30px;
  padding: 0.81rem;


}

.image .border {
  border: 3.2px solid black;
  border-radius: 30px;
  padding: 3rem;
  height: 24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}


.slider-container {
  margin: 0 auto;
  width: 400px;
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  
  white-space: nowrap;
  width: 100%;
  /* overflow-x: auto; */
  gap: 20px;
  /* padding: 20px; */
  /* display: flex; */
  /* transition: transform 0.5s ease; */
  display: flex;
  animation: scroll 70s linear infinite;
  
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-700%);
  }
}


.slider-image {
  display: inline-block;
}


.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.15em solid #f41111;
  letter-spacing: 0.15em;
  color: #f41111;
  font-size: 2rem;
  animation: typing 2.5s steps(40, end), blink-caret 0.75s step-end infinite;
  margin: 0 auto;
  font-family: Cormorant Garamond;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0.01563rem; 
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes erasing {
  from { width: 100%; }
  to { width: 0; }
}

/* @keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
} */


@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #f41111;
  }
}

.image-firstsection {
  padding: 0rem 4rem 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  /* max-width: 50%; */
  /* margin: 0 auto; */
}

/* @media screen and (max-width: 1440px) {
  .image-firstsection {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
 

 
  
} */

.image-firstsection .left {
  gap: 1rem;
  /* width: 40%; */
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bottom h6 {
  color: #030303;
  font-size: 1rem;
  font-family: Cormorant;
  font-weight: 700;
  letter-spacing: 0.059rem;
}

.bottom p {
  color: #666;
  font-size: 1rem;
  font-family: DM Sans;
  letter-spacing: 0.059rem;
}

.bottom .location {
  display: flex;
  align-items: center;
}

.image-firstsection .right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.image-firstsection .right .up {
  display: flex;
  gap: 2rem;
}

.image-firstsection .right .down {
  display: flex;
  gap: 2rem;
}

.image-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#imageContainer {
  position: relative;
  width: 26rem;
  height: 43rem;
  overflow: hidden;
}

.fade-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-image.active {
  opacity: 1;
}




/* FOOTER */

footer {
  background: #030303;
  display: flex;
  /* width: 90rem; */
  padding: 5.5rem 4rem;
  align-items: flex-start;
  gap: 11.875rem;
}

footer > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer h6,
p {
  color: var(--white-01, #fbf8ff);
  font-size: 1.5rem;
  font-family: DM Sans;
  font-weight: 500;
  letter-spacing: 0.059rem;
}

footer .link a {
  color: #d4d4d4;
  font-size: 1.25rem;
  font-family: DM Sans;
  letter-spacing: 0.059rem;
}
