/** @format */

@font-face {
  font-family: "font1";
  src: url("../fonts/Rubik-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "font2";
  src: url("../fonts/ELEPHNT.TTF");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  margin: 0;
}

.main {
  box-sizing: border-box;
}

.intro {
  margin-top: 20px;
  float: left;
  font-family: font1;
  font-size: 20px;
  width: 40%;
  color: #072142;
  position: relative;
  padding: 25px;
}

.intro hr {
  height: 5px;
  width: 100%;
  border: 0;
  border-radius: 100vw;
  background-color: #ff4d5a;
}

.moyens {
  margin-top: 100px;
  float: right;
  position: relative;
  width: 45%;
  border-left: 5px solid #ff4d5a;
  padding: 25px;
}

.moyens p {
  font-family: font1;
  font-size: 20px;
  color: #072142;
}

.moyens a {
  font-family: font2;
  font-size: 20px;
  color: #ff4d5a;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px 20px;
  border: 3.5px solid #072142;
  box-sizing: border-box;
  margin-bottom: 16px;
  resize: vertical;
  position: relative;
  font-family: font1;
  font-size: 20px;
}

::placeholder {
  color: #ff4d5a;
  font-family: font1;
  font-size: 20px;
  opacity: 75%;
}

input[type="text"],
input[type="email"] {
  border-radius: 100vw;
}

#lname,
#mail {
  left: 5%;
}

#fname {
  left: 10%;
}

#lname,
#fname {
  width: 40%;
}

#mail {
  width: 85%;
}

.part1 {
  width: 50%;
}

textarea {
  width: 90%;
  height: 200px;
  resize: none;
  border-radius: 20px;
  left: 2.5%;
}

input[type="submit"] {
  position: relative;
  background-color: #ff4d5a;
  color: white;
  border: 0.3vw solid #ff4d5a;
  border-radius: 100vw;
  cursor: pointer;
  padding: 11px 20px;
  font-family: font1;
  font-size: 15px;
  transition: 0.4s;
  width: 125px;
  margin-left: 2.5%;
  margin-bottom: 3vw;
}

input[type="submit"]:hover {
  color: #ff4d5a;
  background-color: white;
}

@media (max-width: 800px) {
  .intro {
    margin-top: 10px;
  }

  .moyens,
  .intro {
    width: 85%;
  }

  .moyens {
    margin-top: -50px;
    border-left: 0px;
  }

  .part1 {
    width: 100%;
  }

  #lname,
  #fname {
    width: 40%;
  }

  textarea {
    left: 5%;
    width: 90%;
  }

  input[type="submit"] {
    left: 5%;
    width: 80%;
  }
}

@media (max-width: 600px) {
  #lname,
  #fname,
  #mail {
    width: 90%;
  }
  #fname {
    left: 5%;
  }
}
