@import url('https://fonts.googleapis.com/css2?family=K2D:wght@600&display=swap');

@font-face{
  font-family: CFHalloween;
  src: url(./fonts/CFHalloween-Regular.ttf);
}

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

#container-header{
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 450px;
  background-color: rgb(170, 108, 228);
  margin-bottom: 150px;
}

#container-header img{
  height: 30vw;
  cursor: pointer;
}

#container-header h1{
  font-family: CFHalloween;
  cursor: pointer;
  font-size: 50px;
  padding-bottom: 15px;
}

#container-header p{
  font-size: 19px;
}

body{
  background-color: rgb(0, 0, 0);
}

#container-cards{
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  justify-content: space-around;
}

.post-image{
  text-align: center;
  border: rgb(170, 108, 228) 1px solid;
  border-bottom: none;
  background-color: black;
  border-radius: 4px 4px 0 0;
}

article img{
  height: 220px;
  cursor: pointer;
}

.post-textContent{
  background-color: rgb(170, 108, 228);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
}

article h3{
  font-size: 24px;
  padding: 24px 0 26px 15px;
}

article p{
  margin-bottom: 68px;
  padding: 0 20px 25px 15px;
}

form{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(170, 108, 228);
}

footer #tittle{
  font-size: 30px;
  text-align: center;
  padding: 45px 0;
}

footer input{
  margin-bottom: 8px;
  height: 55px;
  width: 440px;
  border-radius: 4px;
  border: none;
  padding-left: 8px;
}

input:focus, textarea:focus{
  outline-color: rgb(130, 0, 252);
}

footer textarea {
  resize: none;
  border-radius: 4px;
  width: 440px;
  border: none;
  padding-left: 8px;
  padding-top: 15px;
}

footer button{
  cursor: pointer;
  height: 50px;
  width: 440px;
  margin-top: 20px;
  margin-bottom: 60px;
  border-radius: 4px;
  border: none;
  font-size: 18px;
  color: rgb(209, 209, 209);
  background-color: rgb(130, 0, 252);
  box-shadow: 0px 5px 5px 0px rgba(23, 23, 23, 0.1);
}

button:hover{
  transition: 0.4s;
  background-color: rgb(92, 0, 179);
}

@media screen and (max-width: 600px){
  #container-header{
    display: flex;
    justify-content: normal;
    flex-direction: column;
    height: 500px;
    margin-bottom: 100px;
  }

  #container-header img{
    height: 63vw;
    cursor: pointer;
    margin-top: 50px;
  }
  
  #container-header h1{
    font-size: 34px;
    padding-top: 40px;
    padding-bottom: 15px;
    text-align: center;
  }
  
  #container-header p{
    font-size: 12px;
  }
  
  footer input{
    height: 55px;
    width: 300px;
  }
  
  footer textarea {
    width: 300px;
  }
  
  footer button{
    width: 300px;
  }
}