@import url(https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap);

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

* {
    font-family: Rubik,sans-serif
}

*,:after,:before {
    box-sizing: border-box
}

html {
    font-size: 16px
}

@media screen and (max-width: 768px) {
    html {
        font-size:15px
    }
}

@media screen and (max-width: 465px) {
    html {
        font-size:14px
    }
}

body{
  background: #202020;
}

.contact{
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100vw;
  min-height: 100vh;
  background: linear-gradient(180deg, #202020 0%, rgba(32, 32, 32, 0.2) 50%, #202020 100%), url(https://onedrive.live.com/embed?resid=E3C63FF488C4719D%21953&authkey=%21AD8tULBRhH9wIpU&width=6646&height=4430);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-title{
  color: #CCCCCC;
  font-size: 2.5rem;
}

.contact-form{
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
  border: 1px solid #602DFF;
  border-radius: 1rem;
  background: #252525;
  max-width: 375px;
  width: 100%;
}

label{
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: #ccc;
}

label input, label textarea{
  background: #202020;
  padding: .75rem;
  font-size: 1rem;
  border-radius: .5rem;
  color: #e5e5e5;
  border: 1px solid transparent;
  transition: all .25s ease 0s

}

label textarea{
  max-width: 100%;
  max-height: 200px;
  min-width: 200px;
  min-height: 100px;
}

.send-btn{
  background: linear-gradient(90deg, #602DFF 0%, #170055 100%);
  padding: .75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #CCC;
  border-radius: .5rem;
  cursor: pointer;
}

label input:hover,
label textarea:hover,
label input:focus,
label textarea:focus{
  border-color: #602DFF;
  box-shadow: 0 0 0 3px #602DFF80;
}

.send-btn:hover, .send-btn:focus{
    background: linear-gradient(90deg, #602DFF 75%, #170055 100%);
}

@media screen and (max-width: 900px){
  .contact{
    flex-direction: column;
    gap: 1rem;
  }
  .contact-title{
    text-align: center;  
  }
}