.contact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact > div:first-of-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(41, 41, 53);
    padding: 40px 60px 60px 60px;
    margin-bottom: 40px;
    width: 100%;
    gap: 10px;
}
.contact > div > span:nth-child(1) {
    text-align: center;
    font-family: "bebas neue pro";
    font-weight: 700;
    font-size: 96px;
    color: rgb(255, 255, 255);
    line-height: 96px;
    text-transform: uppercase;
}
.contact > div > span:nth-child(2),
.contact > div > span:nth-child(3),
.contact > div > span:nth-child(4),
.contact > div > span:nth-child(5){
    color: #ffffff;
    font-size: 24px;
    text-align: center;
}
.contact-title {
    margin: 0 0 40px;
}
.contact-gridButtons {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: no-wrap;
    height: auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 5px;
}
.contact-gridButtons > div {
    background: rgb(59, 59, 84);
    padding: 24px 14px 14px;
    margin: 20px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0);
    border-width: 1px;
    border-radius: 8px;
    min-height: 180px;
    width: 250px;
    color: #f9f9f9;
}
.contact-gridButtons > div:hover {
    background: #535374;
    transition: 0.2s;
    cursor: pointer;
}
.contact-gridButtons > div > div:first-child {
    display: flex;
    align-items: center;
}
.contact-gridButtons > div > div > img:first-child {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}
.contact-gridButtons > div > div > span {
    font-family: montserrat;
    font-weight: 700;
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 24px;
    
}
.contact-gridButtons > div> span a {
    text-decoration: none !important;
}
.contact-gridButtons > div> span {
    color: #ffffff;
    font-size: 14px;
    font-family: montserrat;
    margin-top: 10px;
    display: flex;
    display: -webkit-flex; 
}
.contact > div:nth-of-type(2) {
    display: flex;
    flex-direction: row;
    height: 500px;
    width: 100%;
    max-width: 1366px;
    justify-content: center;
    margin-bottom: 80px;
}
.contact > div:nth-of-type(2) > div:first-child {
    background: rgb(41, 41, 53);
    padding: 40px 40px 20px;
    margin: 20px;
    border-radius: 8px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #f9f9f9;
}
.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}
.contact-form > span:nth-child(1) {
    font-family: "bebas neue pro";
    font-weight: 700;
    font-size: 32px;
    color: rgb(255, 255, 255);
    line-height: 32px;
    text-transform: uppercase;
}
.contact-form > span:nth-child(2) {
    font-family: montserrat;
    font-size: 18px;
    color: #ffffff;
}
.contact-form > span:last-child {
    font-family: montserrat;
    font-size: 12px;
    color: #c9c9d7;
}
.contact-form > label {
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bolder;
    margin: 20px 0 5px
}
.contact-form > input {
    background: rgb(59, 59, 84);
    padding: 9px 0px 9px 12px;
    border-style: solid;
    border-color: rgb(59, 59, 84);
    border-radius: 6px;
    font-size: 16px;
    font-family: montserrat;
    color: rgb(249, 249, 249);
    width: 100%;
}
.contact-form > button {
    opacity: 0.5;
    cursor: none;
    background: linear-gradient(45deg, rgb(37, 189, 149) 0%, rgb(28, 255, 71) 100%) rgba(37, 189, 149, 0);
    padding: 12px 0px;
    margin: 20px 0px 0px;
    border-radius: 8px;
    color: rgb(7, 60, 28);
    font-family: montserrat;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    width: 100%;
    border: 0;
    text-transform: uppercase;
    text-align: center;
}
.contact-form > button.active {
    opacity: 1;
    cursor:pointer;

}
.contact-form > button.active:hover {
    background: linear-gradient(245deg, rgb(37, 189, 149) 0%, rgb(28, 255, 71) 100%) rgba(37, 189, 149, 0);
}
.contact > div:nth-of-type(2) > div:nth-child(2) {
    background: rgb(41, 41, 53);
    margin: 20px;
    border-radius: 8px;
    height: 100%;
    width: 450px;
    display: flex;
    flex-direction: column;
    color: #f9f9f9;
    overflow: hidden;
}
.contact-location {
    display: flex;
    flex-direction: row;
    padding: 20px;
    align-items: center;
 
}
.contact-location > img {
    width: 30px;
    height: 30px;
}
.contact-location > div {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}
.contact-location > div > span {
    font-family: montserrat;
    font-weight: 700;
    font-size: 20px;
    color: rgb(255, 255, 255);
    line-height: 30px;
}
.contact-sede {
    display: flex;
    flex-direction: row;
    padding: 20px;
    align-items: center;
}
.contact-sede > img {
    width: 30px;
    height: 30px;
}
.contact-sede > div  {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}
.contact-sede > div > span {
    font-family: montserrat;
    font-weight: 700;
    font-size: 20px;
    color: rgb(255, 255, 255);
    line-height: 30px;
}
.contact-map {
    height:100%;
    width: 100%;
}
.nameError, .emailError, .messageError {
    display: none;
    color: red;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

 /*** RESPONSIVE DESIGN ***/
  
  /* Mobiles */
  @media only screen and (max-width: 320px) {
    .contact-gridButtons {
        display: flex;
        flex-direction: column;
        height: auto;
        margin-top: 40px;
        width:100%;
    }
    .contact-gridButtons > div {
        width: 100%;
        margin: 10px;
    }
        .contact-gridButtons > div > div > span {
        font-size: 26px;
    }
    .contact-gridButtons > div> span {
        font-size: 20px;
    }
    .contact > div > span:nth-child(1) {
        font-size: 65px;
    }
    .contact > div:nth-of-type(2) {
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;
    }
    .contact > div:first-of-type {
        padding: 20px;
    }
    .contact > div:nth-of-type(2) > div:nth-child(2) {
        margin: 20px 0;
        width: 100%;
        height: 600px;
      }
  
  }
  @media only screen and (min-width: 321px) and (max-width: 767px) {
    .contact-gridButtons {
        display: flex;
        flex-direction: column;
        height: auto;
        margin-top: 40px
    }
    .contact > div:first-of-type {
        padding: 40px 16px
    }
    .contact-gridButtons > div {
        width: 100%;
        margin: 10px;
        height: 200px;
    }
    .contact-gridButtons > div > div > span {
        font-size: 28px;
    }
    .contact-gridButtons > div> span {
        font-size: 21px;
    }
      .contact > div > span:nth-child(1) {
        font-size: 65px;
    }
    .contact > div:nth-of-type(2) {
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;
    }
    .contact > div:nth-of-type(2) > div:first-child {
        width: 100%;
        margin: 0;
    }
    .contact > div:nth-of-type(2) > div:nth-child(2) {
        margin: 20px 0;
        width: 100%;
        height: 600px;
      }
  }
  
  /* Tablet */
  @media only screen and (min-width: 768px) and (max-width: 991px) {  

  }
  
  /* Laptop */
  @media only screen and (min-width: 992px) and (max-width: 1365px) {

.contact-gridButtons {
       
gap: 5px !important;    

}

}
  @media only screen and (min-width: 1366px) {}