

body{
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--base-clr);
    color: var(--text-clr);
    
  }
.container{
  background-image: url(/photos/people_exercising_on_the_beach__584088766.png);
  background-size:cover;
  background-position: center;
  width: 100%;
}

h1{
  text-align: center;
}

.container{
  position: relative;
  width: 100%;
  min-height: 80vh;
  padding: 2rem;
  padding-top: 12rem;
  background-color: #F5F5F7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form{
  width:100%;
  max-width:820px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow: hidden;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  
}

.contact-info{
  background-color: #fafafa;
  position: relative;

  h3{
    font-size: 20px;
    margin:5px;
    margin-top: 2em;
    padding:5px;
  }
  p{
    margin:5px;
    padding: 5px;
    line-height: 1.5;
  }
}

.contact-form{
  background-color: rgb(246, 137, 97);
  position: relative;
}


.circle{
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, rgb(246, 81, 20));
  position: absolute;

}

.circle.one{
  width:130px;
  height:130px;
  top: 130px;
  right: -40px;

}

.circle.two{
  width:80px;
  height: 80px;
  top: 10px;
  right: 30px;

}

.contact-form:before{
  content: "";
  position:absolute;
  width: 26px;
  height: 26px;
  background-color: rgb(246, 137, 97);
  transform: rotate(45deg);
  top: 50px;
  left:-13px;
}


form{
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title{
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
  text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000;
}


.input-container{
  position: relative;
  margin: 1rem 0;

}

/*
label{
  display:none;
}
*/
.input{
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;

}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y:auto;

}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color:#fafafa;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label{
  top: 1rem;
  transform:translateY(0);
}

.btn{
  padding:0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #000;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

.btn:hover {
  background-color: purple;
  color:#fff;
  border-radius: 0;
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: coral;
  top: 50%;
  transform: translateY(-50%);
}


.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

