@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  background: #24252A;
}

html li a, button{
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
    text-decoration: none;
    cursor: pointer;
}

header{
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 30px 10%;
}

.logo{
    cursor: pointer;
    margin-right: auto;
    width: 80px;
}

.nav_links{
    list-style: none;

}

.nav_links li{
    display: inline-block;
    padding: 0px 20px;
}

.nav_links li a{
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover{
    transition: all 0.3s ease 0s;
    color: rgb(202, 62, 27);
}

.contact-btn{
    padding: 9px 25px;
    background-color: rgb(202, 62, 27);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    margin-left: 20px;
}

.contact-btn:hover{
    background-color: rgba(202, 62, 27, 0.8);
} 

hr{
  display: none;
}

/* end navbar */

.container{
  align-items: center; 
  margin-top: 30px;
}

.contact-section{
  display: grid;
  width: 100%; 
  justify-content: center; 
}

.subtitle{
  text-align: center;
  margin: auto;
  margin-bottom: 10px;
}

.contact-info{
  color: #fff;
  max-width: 500px;
  line-height: 65px; 
  padding-left: 50px;
  font-size: 18px;

  text-decoration: none;
}

.contact-info img{
  margin-right: 20px;
  font-size: 25px;
  border-radius: 5px;
  vertical-align: middle; 
  width: 50px;

}

.contact-form{
  display: grid;
  position: flex;
  max-width: 700px;
  margin-right: 50px;
  margin-bottom: 15px;
}

h2{
  color: #fff;
  text-align: left;
  font-size: 20px;
  text-transform: uppercase;
}

.contact-form h2{
  color: #fff;
  text-align: center;
  font-size: 35px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.contact-form .text-box{
  background: #fff;
  color: #24252A;
  border: none;
  width: calc(50% - 10px);
  height: 50px;
  padding: 12px;
  font-size: 15px;
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  opacity: 0.9;
}

.contact-form .text-box:first-child{
  margin-right: 15px;
}

.contact-form textarea{
  background: #fff;
  color: #24252A;
  border: none;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  min-height: 200px;
  max-height: 400px;
  resize: vertical;
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  opacity: 0.9; 
}

.contact-form .send-btn{
  float: right;
  background: rgb(202, 62, 27);
  color: #fff;
  border: none;
  width: 120px;
  height: 40px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  transition-property: background;
}

.contact-form .send-btn:hover{
  background: rgba(202, 62, 27, 0.8);
}


@media screen and (max-width: 950px){
  .contact-section{
    flex-direction: column;
  }

  .contact-info, .contact-form{
    margin: 30px 50px;
  }

  .contact-form h2{
    font-size: 30px;
  }

  .contact-form .text-box{
    width: 100%;
  }

  .contact-info img{
    display: block;
    margin: 0;
    padding: 0;
    margin: auto;
  }

  .contact-info{
    margin: auto;
    text-align: center;
    display: flex;
    position: relative;
    left: 25%;
    margin: 0;
    padding: 0;
  }


}

@media screen and (max-width: 694px){


    html li, .link, button{
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #edf0f1;
    text-decoration: none;
  }
  .nav_links li{
    display: inline-block;
    padding: 0px 10px;
    margin-left: 20px;
}

.contact-info{
  text-align: center;
  display: block;
  margin: 0;
  padding: 0;


  margin: auto;
  text-align: center;
  display: flex;
  position: relative;
  left: 0;

} 

}
 
@media screen and (max-width: 520px){
  .contact-info img{
    display: block;
    margin: 0;
    padding: 0;
    margin: auto;
  }

  .contact-info{
    text-align: center;
    display: block;
    margin: 0;
    padding: 0;


    margin: auto;
    text-align: center;
    display: flex;
    position: relative;
    left: 0;
  
  }

}

@media screen and (max-width: 399px){
  header{
      display: block;
      text-align: center;
      margin: 0;
      padding: 0;
  }

  .logo{
      width: 100px;
      margin-top: 10px;
      margin-bottom: 15px;
  }

  .nav_links li{
      margin: 0;
  }

  .contact-btn{
      margin-top: 15px;
      margin-bottom: 15px;
  }

  hr{
      display: block;
  }
}