
@font-face {
  font-family: "Splashd";
  src: url(assets/AeonikTRIAL-Bold.otf);
  font-weight: 700;
}

@font-face {
  font-family: "Splashd";
  src: url(assets/AeonikTRIAL-Regular.otf);
  font-weight: 400;
}

:root{
  --primary-color: #FA2D00;
}

header, footer{
    height: 20%;
}

html{
  font-size: 18px;
  overflow: hidden;

}

body{
  /*overflow: hidden;*/
  font-family: "Splashd";
  font-weight: 400;
  background-image: url(assets/slashd-bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  padding: 2rem;
  margin: 0;
}

.container{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

h1, h2, h3, h4, h5, h6{
  font-family: "Splashd";
  font-weight: 700;
  margin: 0;
}


h1.title{
  font-size: 1.8rem;
  color: var(--primary-color);
}

h2.subtitle{
  font-size: 3rem;
  line-height: 3rem;
}

.content-wrapper{
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  height: 40%;
}

.highlighted{
  color: var(--primary-color);
}

form{
  display: flex;
  justify-content: center;
  margin-top: 30;
  gap: .7rem;
}

input{
  font-family: "Splashd", Sans-serif;
  font-size: 1rem;
  font-weight: 400;
  min-height: 52px;
}

input[type=email]{
  width: 100%;
  max-width: 500px;
  padding: 0px 1.5rem;
  background-color: #FFFFFF00;
  border: 1px solid white;
  border-radius: 50px;
  color: white;
}


input[type=submit]{
  border-radius: 50px;
  color: black;
  border-radius: 50px;
  padding: 0 36px ;
  background-color: white;
}


.message {
  border: 1px solid white;
  border-radius: 2px;
  padding: 0.6rem;
  max-width: 400px;
  margin: 0 auto;
  display:none;
}


.message.active {
    display: block;
}


.message.error {
    border-color: red;
}

.message.success {
    border-color: green;
}

 h2.subtitle .break {
     display: none;
 }


@media only screen and (max-width:767px) {
  body{
      padding: 20px;
  }
  form{
    flex-direction: column;
    margin-top: 20px;
  }
  
  h2.subtitle{
    font-size: 1.8rem;
    line-height: 1.8rem;
  }
  .content-wrapper{
     height: 60%;
  }
  
  h2.subtitle .break {
    display: block;
    height:0;
  }
  
  html{
      overflow-y: scroll;
  }
  input{
      font-size: .8rem;
      min-height: 46px;
  }

}