/* Fonts Download */
@font-face {
  font-family: 'agenda';
  src: url('../fonts/fonnts.com-Agenda.otf');
} @font-face {
  font-family: 'agenda bold';
  src: url('../fonts/fonnts.com-Agenda_Bold.otf');
}

/* Padrão */
* {
  color: var(--color);
  font-family: var(--main-font);
}  * ::selection {
  color: var(--main-color);
  background-color: #343434a7;
  text-shadow: none;
}

html {
  background-color: var(--background-color);
} @media(min-width:0px) and (max-width:400px) {
html {font-size: 4.4vw }
} @media(min-width:401px) and (max-width:600px) { 
html {font-size: 3.6vw}
} @media(min-width:601px) and (max-width:750px) {
html {font-size: 3.3vw}
} @media(min-width:751px) and (max-width:947px) {
html {font-size: 3vw}
} @media(min-width:948px) and (max-width:1050px) {
html {font-size: 2vw}
} @media(min-width:1051px) and (max-width:1200px) {
html {font-size: 1.75vw}
} @media(min-width:1201px) and (max-width:1300px) {
html {font-size: 1.65vw}
} @media(min-width:1301px) and (max-width:1500px) {
html {font-size: 1.5vw}
} @media(min-width:1501px) and (max-width:1700px) {
html {font-size: 1.4vw}
} @media(min-width:1701px) {
html {font-size: 1.3vw }
}

body {
  overflow-x: hidden;
  margin: 0px;
} h1, h2, h3, h4, h5, h6, p, span, strong, textarea, form, input {
  font-size: 1em;
  margin: 0;
} a:link {
  text-decoration: none;
} br, a, button, input, img {
  user-select: none;
}

:root {
  --black-color: #000;
  --white-color: #fff;
  --gray-color: #b2b2b2;
  --dark-gray-color: #7b7b7b;
  
  --main-color: #0ebcc9;
  --dark-main-color: #1697a1;

  --background-color: var(--black-color);
  --color: var(--white-color);

  --main-font: 'Agenda';
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
} .column {
  flex-direction: column;
}

.w7 {width: 58.33333333%;}
.w12 {width: 100%;}
.w12-p {width: 84%;        padding: 3% 8%;}

.p {
  padding: 5% 8%;
}

body::-webkit-scrollbar {
  width: 15px;
} body::-webkit-scrollbar-track {
  background: var(--gray-color);
} body::-webkit-scrollbar-thumb {
  background: var(--main-color);
} body::-webkit-scrollbar-thumb:hover {
  background: var(--dark-main-color);
}

/* Títulos */
.titulo {
  font-weight: initial;
  font-size: 1.25em;
  text-align: center;
}

.subtitulo {
  color: var(--main-color);
  font-size: 2em;
  text-align: center;
  font-family: 'agenda bold';
  padding-inline: 10%;
}

b {
  font-family: 'agenda bold';
}


/* Nav */
nav {
  padding: 15px 8%;
  width: 84%;
  font-size: 1.3em;
  position: fixed;
  z-index: 999;
  display: flex;
  background: #000a;
  justify-content: space-between;
  transition: transform 0.5s ease;
} .links {
  gap: 30px;
  height: 100%;
} .links > * {
  font-family: 'agenda bold';
  cursor: pointer;
  transition: color 0.5s ease;
} .links>:hover {
  color: var(--dark-gray-color);
} .bar > i{
  display: none;
}

nav img {
  cursor: pointer;
}

/* header */
header {
  height: 100vh;
  padding-inline: 8%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 50px;
}

main {
  display: flex;
  align-content: end;
  width: 40%;
  padding: 0 10% 0 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.s-bg {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-position: center;
  pointer-events: none;
  object-fit: cover;
}


form {
  align-items: flex-start;
  gap: 15px;
  display: flex;
  justify-content: center;
  width: 50%;
}

input {
  background: var(--gray-color);
  color: var(--black-color);
  margin:0 auto;
  border: 3px solid var(--gray-color);
  width: 50%;
  padding: 10px;
}

input::placeholder {
  color: var(--white-color);
}

input:hover {
  border: var(--dark-gray-color) 3px solid;
}

form button {
  background-color: var(--main-color);
  padding: 10px 30px;
  border: none;
  font-size: 1.2em;
  margin: auto;
  cursor: pointer;
  transition: background 0.5s ease;
} form button:hover {
  background-color: var(--dark-main-color);
}

.opacity {
  opacity: 0;
  transition: opacity 1s ease;
} .opacity.active {
  opacity: 1;
}

.shadow {
  display: none;
  height: 75%;
  width: 100%;
  top: 15%;
  left: 0;
  opacity: 1;
  position: absolute;
  background: #000;
  z-index: -1;
  filter: blur(100px);
}

/* ------------- */
@media (max-width: 947px){
  .fix {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 8% 0;
  }

  .fix>* {
    width: 90%;
    padding-inline: 5%;
  }

  .bar {
    position:relative;
    display: flex;
    align-items: center;
  } .links {
    position:fixed;
    width:100vw;
    left: 0;
    top: 0;
    height: auto;
    flex-direction: column;
    background-color: var(--dark-main-color);
    color: #00000048;
    transform: scale(0.5);
    transition: 0.5s ease;
    opacity: 0;
  } .bar:hover .links{
    transform: scale(1);
    opacity: 1;
    display:flex;
  } .display-none-cell {
    display: none;
  } .bar i {
    display: flex;
    font-size: 1.5em;
  } .links > * {
    padding: 15px;
  }

  form {
    width: 100%;
    padding: 0;
  }
  
  main{
    padding: 50% 0 0 0;
  }
  .again {
    width: 80%;
    width: 75%;
  }
  .subtitulo {
    font-size: 1.5em;
    padding: 10% 0 0 0;
    text-shadow: 0px 0px 40px #000,
    0px 0px 40px #000,
    5px 5px 20px #000;
  }
   input {
    width: calc(100% - 20px);
   }

   .shadow {
    display: block;
   }
}