.contact {
  padding: 2rem 0;
  h3 {
    text-align: center;
    padding-bottom: 1rem;
    color: var(--dp);
  }

  .sections {
    .info {
      .details {
        .block {
          display: flex;
          align-items: center;
          padding-bottom: 10px;
          gap: 1rem;

          img {
            width: 50px;
            height: 50px;
            background-color: var(--dp);
            padding: 8px;
            border-radius: 50%;
          }
          a {
            color: var(--dp);
          }
        }
      }

      .socials {
        h4 {
          text-align: center;
        }

        .icons {
          width: 100%;
          display: flex;
          justify-content: center;
          gap: 10px;
          a {
            width: 40px;
            height: 40px;
            display: block;
            background-color: var(--dp);
            padding: 8px;
            border-radius: 50%;
          }
        }
      }
    }

    .times {
      padding: 1rem 0;
      p {
        text-align: center;
        font-weight: bold;
        padding-bottom: 10px;
      }
    }

    .book {
      h3 {
        padding-bottom: 0;
      }

      p {
        text-align: center;
        padding-bottom: 10px;
      }

      a {
        background-color: var(--dp);
        display: block;
        text-align: center;
        border-radius: 5px;
        padding: 0.5rem 0;
        color: var(--l);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;

        img {
          width: 40px;
          height: 40px;
        }
      }
    }
  }
}

@media (min-width: 768px) {
  .contact {
    padding: 2rem 0;
    h3 {
      text-align: center;
      padding-bottom: 1rem;
      color: var(--dp);
    }

    .sections {
      display: flex;
      justify-content: center;

      .info {
        width: 30%;
        .details {
          .block {
            display: flex;
            align-items: center;
            padding-bottom: 10px;
            gap: 1rem;
            img {
              width: 50px;
              height: 50px;
              background-color: var(--dp);
              border-radius: 50%;
            }
          }
        }

        .socials {
          h4 {
            text-align: center;
          }

          .icons {
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 10px;
            a {
              width: 40px;
              height: 40px;
              display: block;
              background-color: var(--dp);
              border-radius: 50%;
            }
          }
        }
      }

      .times {
        order: 3;
        width: 30%;

        padding: 1rem 0;
        p {
          text-align: center;
          font-weight: bold;
          padding-bottom: 10px;
        }
      }

      .book {
        width: 30%;
        order: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 10px;
        border-left: 2px solid var(--d);
        border-right: 2px solid var(--d);

        h3 {
          padding-bottom: 0;
        }

        p {
          text-align: center;
          padding-bottom: 10px;
        }

        a {
          background-color: var(--dp);
          display: block;
          text-align: center;
          border-radius: 5px;
          padding: 0.5rem 0;
          color: var(--l);
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 5px;

          img {
            width: 40px;
            height: 40px;
          }
        }
      }
    }
  }
}
