/* Fonts */

/* Avenir */

@font-face {
  font-family: 'AvenirReg';
  src: url('../assets/type/AvenirLTStd-Roman.otf');
}

@font-face {
  font-family: 'AvenirMed';
  src: url('../assets/type/AvenirLTStd-Medium.otf');
}

@font-face {
  font-family: 'AvenirLight';
  src: url ('../assets/type/AvenirLTStd-Light.otf');
}

/* Newsreader*/
@font-face {
  font-family: 'NIt';
  src: url('../assets/type/Newsreader_72pt-LightItalic.ttf');
}

@font-face {
  font-family: 'NLight';
  src: url('../assets/type/Newsreader_72pt-Light.ttf');
}

@font-face {
  font-family: 'NReg';
  src: url('../assets/type/Newsreader_72pt-Regular.ttf');
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: rgb(0, 0, 0);
  --white: rgb(255, 255, 255);
  --grey: rgb(100, 100, 100);
  --neon: rgb(227, 248, 37);
  --neonR: rgba(227, 248, 37, 0.8);
  --transparent: rgba(0, 0, 0, 0.4);

  --type-alfa: 'NReg, serif';
  --type-beta: 'NIt, serif';
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--neon);
  background: var(--black);
}

::selection {
  color: var(--neon);
  background: var(--black);
}

body,
html {
  cursor: none;
  height: 100%;
  background-color: var(--white);
  color: var(--grey);
  scroll-behavior: smooth;
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  clip-path: circle(100%);
  transition: clip-path 1s ease-out;
}

.intro-logo {
  width: 200px;
  height: auto;
}

/* Cursor */

/* Estilo del cursor personalizado */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  mix-blend-mode: difference;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000001;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
  will-change: transform;
}

/* Efecto al hacer hover sobre enlaces o botones */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor {
  width: 80px;
  height: 80px;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  text-align: center;
}

/* Logo */
.logo {
  width: 130px;
  margin-bottom: 30px;
}

/* Video */
.video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Texto */
.text-block {
  padding: 30px 0;
  font-size: 1rem;
  font-family: 'NLight', serif;
  line-height: 1.7;
  text-align: justify;
  max-width: 600px;
}

/* Span Italic */

.txtIt {
  font-family: 'NIt', serif;
}

/* Botón */
.cta-button {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.cta-button:hover {
  color: var(--black);
  background-color: var(--neon);
}

#submitBtn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Footer */
.footer {
  width: 1000px;  
  display: flex;
}

.footer a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--grey);
}

.footer-left {
  width: 50%;
  font-family: 'AvenirMed', sans-serif;
  text-align: left;
}

.footer-right {
  width:50%;
  font-family: 'AvenirLight', sans-serif;
  text-align: right;
}

/* Modifica Swee Alert */

.swal2-container {
  z-index: 9000000 !important;
  font-family: var(--type-raleway) !important;
}

.swal2-styled.swal2-confirm {
  background-color: var(--neon) !important;
}

/* Contact Overlay */

.contact-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow-y: auto;
}

.contact-content {
  position: relative;
  max-width: 600px;
  width: 90%;
  text-align: center;
  padding: 40px 20px;
}

.contact-title {
  font-size: 4rem;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  font-family: 'AvenirReg', sans-serif;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #555;
  color: var(--white);
  font-size: 1rem;
  font-family: 'AvenirReg', sans-serif;
  outline: none;
  transition: border-color 0.3s, color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--grey);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--neon); /* amarillo neón */
  color: var(--white);
}

.contact-form button {
  padding: 12px;
  font-size: 1rem;
  border: none;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-form button:hover {
  color: var(--black);
  background-color: var(--neon);
}

.close-contact {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.close-contact:hover {
  color: var(--neon);
}

@media screen and (min-width: 300px) and (max-width: 501px) {
  .video {
    width: 100%;
    margin-top: 0;
  }

  .text-block {
    margin: 8px
  }

  .footer {
    width: 100dvw;
    padding: 8px;
  }

}

@media screen and (min-width: 501px) and (max-width: 884px) {
}

@media screen and (orientation: landscape) and (max-width: 1280px) {
  
}
