@import "./styles.css";

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins";
  src: url(./Assets/Poppins-Regular.ttf);
  width: 100%;
  height: 100%;
  align-items: center;
  background-color: var(--bgColor);
  overflow-x: hidden;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}

section p {
  flex-direction: row;
  width: 100%;
  align-items: flex-start;
  padding-left: 20%;
  line-height: 1.25;
  margin-bottom: 1rem;
  padding-right: 5%;
}

main ul {
  flex-direction: row;
  width: 100%;
  align-items: flex-start;
  padding-left: 20%;
  line-height: 1.25;
  margin-bottom: 2rem;
}

strong {
  color: var(--blockColorSecondary);
  align-items: flex-start;
}

/*section h1 {
  align-items: center;
  width: 100%;
  margin: 2 rem;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
}*/

h1 {
  text-align: center;
  border-bottom: 2px solid var(--blockColorSecondary);
  margin-bottom: 20px;
  color: var(--titleColor);
  background: var(--blockColorPrimaryTransparency);
  padding: 15px;
  width: 100%;
}

@media screen and (min-width: 600px) {
  section h1 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0px;
  }
}

.contact-in {
  width: 80%;
  height: auto;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 10px;
  background: rgba(88, 57, 50, 0.5);
  margin-bottom: 70px;
  border: 1px solid var(--blockColorPrimaryTransparency);
  border-radius: 15px;
}

@media screen and (min-width: 600px) {
  .contact-in {
    display: flex;
    padding-left: 50px;
    padding-right: 50px;
    box-shadow: -2px 5px 10px var(--blockColorSecondary);
    border-radius: 15px;
  }
}

.contact-map {
  width: 100%;
  height: auto;
  flex: 50%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
}

.contact-form {
  width: 100%;
  height: auto;
  flex: 50%;
}

.contact-form p {
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.contact-form h2 {
  margin-bottom: 10px;
  color: var(--titleColor);
  width: 100%;
}

@media screen and (min-width: 600px) {
  .contact-form h2 {
    display: flex;
    flex-direction: row-reverse;
  }
}

.boite p span {
  color: #a8d7a9;
  opacity: 80%;
  display: block;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
}

.boite p {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}

@media screen and (min-width: 600px) {
  .infoG {
    display: flex;
    margin: 10px;
  }

  .boite {
    padding-right: 15px;
    padding-left: 15px;
  }

  .boite p span {
    color: #a8d7a9;
    opacity: 80%;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
  }

  .boite p {
    display: block;
    font-size: 14px;
  }
}

.contact-form-txt {
  width: 90%;
  height: 20px;
  color: var(--blockColorSecondary);
  border: 1px solid #3f221c;
  border-radius: 50px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
}

@media screen and (min-width: 600px) {
  .contact-form-txt {
    margin-left: 20px;
  }
}

.contact-form-textarea {
  width: 90%;
  margin: auto;
  height: 140px;
  color: #000;
  border: 1px solid #3f221c;
  border-radius: 30px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
  font-family: "poppins", sans-serif;
}

@media screen and (min-width: 600px) {
  .contact-form-textarea {
    margin-left: 20px;
  }
}

.contact-form-button {
  align-items: center;
  width: 50%;
  border: none;
  outline: none;
  border: 1px solid #3f221c;
  border-radius: 50px;
  padding: 10px 0;
  font-size: 17px;
  cursor: pointer;
  margin-left: 75px;
  color: #3f221c;
  background-color: #a8d7a9;
  transition: transform 0.3s ease;
}

@media screen and (min-width: 600px) {
  .contact-form-button::after,
  .contact-form-button::before {
    content: "";
    position: absolute;
  }

  .contact-form-button:hover {
    transform: translate(0px, -10px);
  }
}

@media screen and (min-width: 600px) {
  .contact-form-button {
    margin-left: 140px;
  }
}
