* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Boogie Brut';
  src: url('BoogyBrutPoster-White.otf'); /* Percorso assoluto */
}

@font-face {
  font-family: 'Mss';
  src: url('MessinaSans-Bold.ttf');
}

.background-video {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}


html,
body {
  width: 100%;
  height: 100%;
  background: none;
  font-family: "Mss";
  overflow: hidden;
}

button {
  background: none;
  outline: none;
  border: 1px solid #eae9e4;
  padding: 0.5em 1em;
  border-radius: 2em;
  cursor: pointer !;
  color: #eae9e4;
}

button#toggle {
  background: none;
  color: #eae9e4;
  font-family: 'Mss';
}

button:hover {
  background: #000;
  color: #fff;
}

.nav,
.tagline {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 16px;
  padding: 1.5em 0;
  text-align: center;
  color: #eae9e4;
  line-height: 1em;
}

.nav {
  z-index: 999;
  pointer-events: none;
}

.tagline {
  bottom: 0;
}

.links {
  position: absolute;
  bottom: 1.5em;
  left: 1.5em;
  display: flex;
  gap: 1em;
}

.header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.header-text h1 {
  font-family: "Boogie Brut";
  font-size: 15vw;
  font-weight: lighter;
  letter-spacing: 3px;
  color: #eae9e4;

}

.cta {
  margin: 1em 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #eae9e4;
  display: flex;
  padding: 1em;
  opacity: 0;
  pointer-events: none;
}

.col:nth-child(1) {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 1em;
}

.col:nth-child(2) {
  flex: 2;
  padding: 0 1em;
}

.logo {
  width: max-content;
  border: 1px solid #eae9e4;
}

.logo a {
  padding: 0 0.25em;
  text-decoration: none;
  color: #eae9e4;
}

.about {
  width:70%;
  color: #233A85;
  margin: 1em 0;
  padding-top: 20vh;
  line-height: 1.9em;
}

.about p {
  font-size: 2em;
}

.copy {
  display: flex;
  justify-content: space-between;
  color: #233A85;
  text-transform: uppercase;
  font-size: 12px;
}

.send {
  position: absolute;
  bottom: 0em;
  color: hsl(131, 16%, 59%);
  padding-left:10px;
}

.send h1 {
  color: #eae9e4;
  font-family: "Boogie Brut";
  font-weight: lighter;
  font-size: 120px;
  letter-spacing: 2px;
  color: #233A85;


}

.form label {
  color: #233A85;
  font-size: 20px;
}

input[type="text"] {
  width: 90%;
  outline: none;
  background: none;
  border: none;
  border-bottom: 1px solid #233A85;
  ;
  padding: 0.5em 0;
  margin: 1em 0;
  color: #233A85;
}

::placeholder {
  color: #eae9e4;
  font-size: 12px;
}

.form button {
  color: #233A85;
  background: #eae9e4;
  border: 1px solid #233A85;
}

.jobs {
  margin: 1em 0 3em 0;
  display: flex;
  gap: 1em;
}

.job-items label {
  text-transform: uppercase;
  font-size: 12px;
}

.item {
  display: flex;
  gap: 0.5em;
  align-items: center;
}

.send,
.header {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.send h1 span,
.header-text h1 span {
  position: relative;
  top: 500px;
}

#back {
  cursor: pointer;
}

@media (max-width: 900px) {
  .logo {
    margin-bottom: 2em;
  }

  .links {
    display: none;
  }

  .about {
    width: 100%;
    padding-top: 20px;
    font-size: 15px;
  }

  .about p{
    font-size: 1.6em;
    line-height: 1em;
  }

  .col:nth-child(1){
    padding-bottom:4em;
  }

  .col:nth-child(2){
    padding:0px;
  }

  .col {
    padding:0px;
  }

  .overlay {
    flex-direction: column-reverse;
  }

  .col:nth-child(1) {
    border: none;
  }

  .send {
    right: 0.2em;
  }

  .send h1 {
    font-size: 80px;
  }

  .copy {
    position: fixed;
    top: 1.8em;
    left:20px;
  }
  
}
