body {
  overflow-x: hidden;
}
main {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  padding: 0 0 5rem 0;
  background-color: #f1f1f1;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  text-align: center;
  font-weight: 400;
}
main > h1,
main > h3 {
  grid-column: 2 / 3;
}
h1 {
  font-size: 3rem;
  text-transform: uppercase;
  padding-top: 0 !important;
  margin-bottom: 7rem;
  letter-spacing: 0.3rem;
}
main > h3 {
  margin-top: 5rem;
}
.inner-grid {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.cf7-container {
  grid-column: 1 / -1;
  margin: 0 0 3rem;
}
.contact-details {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
}
.languages {
  font-weight: bold;
  max-width: 200px;
  text-align: center;
}
.phone-numbers {
    padding: 0;
    margin-bottom: 4rem;
    display: grid;
    justify-items: center;
}
ul {
  list-style: none;
}
div > h2 {
  margin-bottom: 38px;
  font-size: 1.4rem;
  text-transform: uppercase;
}
.wpcf7-form p {
  margin-bottom: 5px;
}
h3 {
  font-size: 15px;
}
.machine-buttons {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  height: 42px;
  font-size: 1rem;
  line-height: 1.3 !important;
  display: block !important;
  margin: 0 auto;
  max-width: 400px;
  text-align: center;
  font-weight: 700 !important;
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
  border-radius: 50rem;
}
.btn-primary:hover {
  color: #000;
  background-color: #fff;
  border-color: #000;
  border-width: 1px !important;
  border-style: solid;
}

.svg-container {
    position: relative;
    width: 100%;
    max-width: 100px;
    min-width: 60px;
}
.svg-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  scale: 1.03;
  top: -4px;
}
.svg-container:hover .svg-hover {
  opacity: 1;
}
section.social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column: 1 / -1;
  width: 100%;
  margin: auto;
  gap: 2rem;
  padding: 1rem;
  max-width: 600px;
}
section.social > div {
  display: grid;
  justify-items: center;
}
span.wpcf7-form-control-wrap > select,
span.wpcf7-form-control-wrap > textarea,
span.wpcf7-form-control-wrap > input,
span.wpcf7-form-control-wrap > label > input {
  background-color: white;
}
input#signup-to-newsletter {
  scale: 1.5;
  margin-right: 0.5rem;
}
@media (min-width: 900px) {
  .inner-grid {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }
  .cf7-container {
    grid-column: 1 / 2;
  }
  .contact-details {
    grid-column: 2 / -1;
  }
  .contact-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  h3 {
    font-size: 22px;
  }
  h1 {
    font-size: 72px;
  }
  section.social{
    grid-template-columns: repeat(5, 1fr);

  }
}
@media (min-width: 600px) {
    section.social{
    grid-template-columns: repeat(5, 1fr);
  }
}
