@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "Stara";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../font/stara/Stara-Medium-BF65962709d948a.otf');
}

@font-face {
  font-family: "Helvetica Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../font/helvetica/HelveticaNeue-Light.otf');
}

@media (min-width: 788px) {
  body {
    zoom: 70%;
  }
}

@media (min-width: 1001px) {
  body {
    zoom: 100%;
  }
}

@media (max-width: 731px) {
  .header1-bold{
    font-family: "Stara";
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
  }
  
  .header1-medium{
    font-family: "Stara";
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
  }
  
  .header2-medium{
    font-family: "Stara";
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
  }
  
  .header3-medium {
    font-family: "Stara";
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
  }
  
  .header3-bold {
    font-family: "Stara";
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
  }
  
  .header4-medium{
    font-family: "Stara";
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
  }
  
  .subheader1-medium{
    font-family: "Stara";
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
  }
  
  .subheader2-medium {
    font-family: "Stara";
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }
  
  .subheader2-bold {
    font-family: "Stara";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }
  
  .body1-regular {
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  
  .body1-bold {
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }
  
  .body2-regular {
    font-family: "Helvetica Neue";
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }
  
  .caption1-medium{
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
  }
  
  .about-title{
    font-family: "Stara";
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
  }
}

@media (min-width: 732px) {
  .header1-bold{
    font-family: "Stara";
    font-size: 56px;
    font-weight: 700;
    line-height: 64px;
  }
  
  .header1-medium{
    font-family: "Stara";
    font-size: 56px;
    font-weight: 500;
    line-height: 64px;
  }
  
  .header2-medium{
    font-family: "Stara";
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
  }
  
  .header3-medium {
    font-family: "Stara";
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
  }
  
  .header3-bold {
    font-family: "Stara";
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
  }
  
  .header4-medium{
    font-family: "Stara";
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
  }
  
  .subheader1-medium{
    font-family: "Stara";
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
  }
  
  .subheader2-medium {
    font-family: "Stara";
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
  }
  
  .subheader2-bold {
    font-family: "Stara";
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
  }
  
  .body1-regular {
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  
  .body1-bold {
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }
  
  .body2-regular {
    font-family: "Helvetica Neue";
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }
  
  .caption1-medium{
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
  }
  
  .about-title{
    font-family: "Stara";
    font-size: 64px;
    font-weight: 500;
    line-height: 72px;
  }
}

body {
  background-color: #060F14;
}

.navbar {
  backdrop-filter: blur(40px);
  box-shadow: 0px 4px 16px 0px #0000001A;
}

.bg-homepage {
  background-image: url('../../public/img/1.png');
  background-size: cover;
  height: 791px;
}

.bg-top {
  background-image: url('../../public/img/bg-1.png');
  background-size: cover;
  height: 596px;
  width: 100%;
}

.bg-top-litle {
  background-image: url('../../img/bg-3.png');
  background-size: cover;
  height: 219px;
  width: 100%;
}

.bg-mid {
  background-image: url('../../public/img/bg-2.png');
  background-size: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  max-width: 1133px;
  max-height: 896px;
  z-index: -1;
}

.form__group {
  position: relative;
  padding: 15px 0 0;
  margin-top: 10px;
  width: 50%;
}

.form__field {
  font-family: "Stara";
  width: 100%;
  border: 0;
  border-bottom: 2px solid #FFFFFF;
  outline: 0;
  font-size: 16px;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;

  &::placeholder {
    color: transparent;
  }

  &:placeholder-shown ~ .form__label {
    font-size: 16px;
    cursor: text;
    top: 20px;
  }
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color:#FFFFFF;
}

.form__field:focus {
  ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #11998e;
    font-weight:700;    
  }
  padding-bottom: 6px;  
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, #11998e,#38ef7d);
  border-image-slice: 1;
}

.button-submit {
  font-family: "Stara";
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  height: 32px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 12px;
  padding-right: 12px;
  border: 1px #FFFFFF solid;
  border-radius: 32px;
  color:#FFFFFF;
}

.tab-button.active .child {
  display: block;
}

.slick-center {
  transform: scale(1) !important; /* Enlarges the active div */
  transition: transform 0.3s ease;
  background: #060F1499;
}
.slick-slide {
  transition: transform 0.3s ease;
  transform: scale(0.8); /* Enlarges the active div */
}

.slick-center .back-test{
  background: none !important;
}

.slick-center .back-test p{
  display: block !important;
}

.slick-slide .back-test{
  background: #060F1499;
}

.slick-slide .back-test p{
 display: none;
}

.container {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
}

/* Style for traditional marquee */
marquee {
  background: #f5f5f5;
  padding: 20px 0;
}

marquee img {
  height: 100px;
  margin: 0 20px;
}

/* Modern scrolling image container */
.modern-marquee {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}

.scroll-container {
  display: flex;
  position: absolute;
  animation: scroll 50s linear infinite;
  gap: 40px;
}

.scroll-container img {
  height: 180px;
}

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

/* For demonstration - wrapper for placeholder images */
.img-placeholder {
  width: 150px;
  height: 100px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  margin: 0 10px;
}