body {
    color: rgb(50, 74, 109);
    font-family: "Poppins", sans-serif;
    margin: unset;
}

p {
  line-height: 1.5em;
}
a {
    color: rgb(46, 106, 182);
    text-decoration: none;
}

h1,h2,h3,h4,h5 {
    color: rgb(28, 36, 75);
    font-family: "Poppins", sans-serif;
}

h1 {
    font-size: 84px;
    text-align: center;
}
h2 {
  font-size: 64px;
}
h3 {
  font-size: 32px;
}
h4 {
  font-size: 20px;
  font-weight: normal;
}
@media screen and (max-width: 1024px){
  h1 {
      font-size: 50px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 16px;
  }
}

section {
    background-color: #FFFFFF;
    padding: 2em 1em;
    position: relative;
}
section:first-of-type {
  padding-top: 0;
}
.dark {
    background-color: #0B0706;
    color: #FFFFFF;
}

section img {
    filter: drop-shadow(0px 2px 6px #0B0706);
}

@media screen and (min-width: 1024px){
    section {
        padding-left: 20%;
        padding-right: 20%;
    }
}
.full-width {
  padding: unset;
  width: 100%;
}

.center-text {
    text-align: center;
}

.flex-box {
    display: flex;
}
.wrap {
  flex-wrap: wrap;
}
@media screen and (min-width: 1024px){
    .col-2 > div {
        max-width: 49%;
    }
}

.button {
  background-color: #467ff7;
  border: 1px solid #467ff7;
  border-radius: 40px;
  color: white;
  display: inline-block;
  font-size: 16px;
  padding: 16px 55px;
  transition: all 0.2s;
}
.button:hover {
  background-color: transparent;
  color: #467ff7;
}

.header {
  align-items: center;
}
.header img {
  margin-right: 12px;
  width: 64px;
}

.hero-section {
  background-image: url("./images/gavel.jpg");
  background-position: center;
  background-size: cover;
  min-height: 80vh;
  position: relative;
}
.hero-section h1 {
  padding: 1vw 2vw;
}
.hero-section > div {
  animation-duration: 1s;
  animation-name: fade-in;
  background-color: #FFF9;
  border-radius: 60px;
  left: 50%;
  max-width: calc(120px + 40vw);
  padding: 0px 12px 24px 12px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
@keyframes fade-in {
  0% { opacity: 0.1; }
  100% { opacity: 1; }
}

.gallery-section {
  margin-top: 15vh;
  margin-bottom: 5vh;
}
.gallery-section .flex-box {
  gap: 2vw;
  justify-content: center;
  padding: 2vh;
}
.gallery-section .flex-box > div {

}
.gallery-section img {
  transition: 0.6s ease all;
  width: 100%;
}
.gallery-section .flex-box > div:hover img {
  transform:
    perspective(800px)
    rotateY(25deg) scale(0.9)
    rotateX(10deg);
}
@media screen and (min-width: 1024px){
  .gallery-section .flex-box > div {
    max-width: 20vw;
  }  
  .gallery-section img {
      max-width: 20vw;
    }
}

.about-section {

}
.about-section p {
  animation-duration: 20ms;
  animation-name: slide-right;
  animation-timeline: view();
}
@keyframes slide-right {
    0% { transform: translateX(100%); }
    40% { transform: translateX(0%); }
    100% { transform: translateX(0%); }
}


.notebox {
  background-color: #f3f5f8;
  height: 280px;
  width: 365px;
}
.notebox .spacer {
  border-block: 1px solid lightgray;
  display: inline-block;
  width: 25px;
}
.notebox h3 {
  margin-bottom: unset;
}
.notebox p {
  line-height: 1.50em;
  padding: 0px 54px;
}

.testimonials-section {
  background-color: #f3f5f8;
  margin-top: 10vh;
  padding: 10vh 0vh;
}
.testimonials-section img {
  height: 64px;
  width: 64px;
}
.testimonials-section h4 {
  display: inline-block;
  padding: 0px 12px;
}
.testimonials-section .notebox {
  height: 280px;
  width: 480px;
}
.testimonials-section .notebox p {
  padding: unset;
}
.testimonials-section .notebox .flex-box {
  align-items: center;
}

.footer-section {
  background-color: #467ff7;
  color: white;
}
.footer-section a {
  color: white;
  padding: 2px 14px;
  transition: all 0.2s;
}
.footer-section a:hover {
  color: lightgray;
}

#contact {
    background-color: #FFDC;
    border: 1px solid black;
    padding: 0.5em 1em;
    text-align: center;
}
.contact-section {
  padding-bottom: 5vh;
}
.contact-section p {
  padding: 1em 2em;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.contact-form {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 240px;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
    cursor: pointer;
    margin-top: 1.2rem;
}


.mail-button {
    display: inline-block;
}
.mail-button {
    transition: all 0.3s;
}
.mail-button:hover {
    filter: drop-shadow(0px 2px 6px white);
}