/* Old world Door (c) 2024.

/* Styles Menu Contenedor */
        #menuContainer {
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 1020;
        transition: .3s ease;
        }

        /* Styles Footer Contenedor */
        #footerContainer {
        width: 100%;
        bottom: 10px;
        height: auto;
        background-color: #520b0b;
        color: #fff;      
        text-align: center;
        }
/* Terminan Styles Footer Contenedor */

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom styles for the service cards - Collections*/
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 20px;
    touch-action: manipulation;
    background-color: whitesmoke;
    }

.service-card {
    margin: 20px;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    }

.service-card:hover{
    box-shadow: 0 0 11px rgb(33 33 33 / 25%);
    }

.service-card h3 {
    font-size: large;
    font-weight: 400;
    /*font-weight: normal;*/
    }

.service-card img {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 300px;
    padding-bottom: 10px;
    object-fit: contain;
    }

.service-card-content {
    padding: 1px 0;
    }

.service-card img:hover {
    /*transition: transform 0.3s ease-in-out;*/
    transition: all 0.3s ease-in-out 0s;
    transform: scale(1.05);
    }


@media (max-width: 768px) {
    .service-card {
    margin: 5px;
    padding: 10px;
    }

    .service-card img {
    height: auto;
    }

    .service-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: inherit;
    }

}

/* Styles Go to Bottom */

      #scroll-to-top-btn,
      #scroll-to-bottom-btn {
          background-color: grey;
          color: #fff;
          border-radius: 50%;
          border: none;
          width: 50px;
          height: 50px;
          text-align-last: center;
          position: fixed;
          right: 10px;
          bottom: 30px;
      }

      #scroll-to-top-btn i,
      #scroll-to-bottom-btn i {
          margin-right: 5px;
      }

/* Termina Styles para Go Bottom


/* Inicia Styles de Contact Us */
  .container-contact-main {
  display: grid;
  grid-template-columns: auto 60%;
  column-gap: 1rem;
  touch-action: pinch-zoom;
  touch-action: manipulation;
  margin: 10px;
  }

  .text-contact {
  display: flex;
  border-radius: 10px;
  }

  .text-contact p {
  width: auto;
  font-size:large;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-style: normal;
  color: white;
  text-shadow: 0px 1px black;
  padding: 10px;
  text-align: justify;
  padding-top: 2rem;
  margin: auto;
  margin-bottom: 1em;  
  }

/*Inician los Styles del Formulario de contacto */
.container-contact {
    background: linear-gradient(135deg, #f4e7d7, #D9B08C, #EFE3D0);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    font-size:medium;
    }

form > * {
          flex: 1 1 calc(48% - 10px);
          margin-bottom: 10px;
      }

      label {
          display: block;
          margin-bottom: 5px;
          font-weight: bold;
      }

      input,
      select,
      textarea {
          width: 100%;
          padding: 10px;
          margin-bottom: 10px;
          border: 1px solid #ccc;
          border-radius: 5px;
          box-sizing: border-box;
          font-size: medium;
      }

      select {
          appearance: auto;
      }

      textarea {
          resize: vertical;
      }

      .checkbox {
          display: flex;
          align-items: center;
      }

      .checkbox label {
          margin-bottom: 0;
          margin-left: 5px;
      }

      input[type="file"] {
          margin-bottom: 20px;
      }


      select:hover,
      textarea:hover {
        border-color: chocolate; /* Change the border color on hover */
      }

      /* Optional: Add hover effect for the checkbox label */
      .checkbox:hover label {
          color: chocolate;
      }

@media (max-width: 768px) {
    form > * {
    flex: 1 1 100%;
    }

      .container-contact-main {
      display: grid;
      grid-template-columns: auto;
      column-gap: 1rem;
      }

      .container-contact {
      margin: 0 5px;
      grid-row: 1; /* Prioridad en la Grid*/
      }

      .text-contact {
      margin-top: 20px;
      margin-bottom: 20px;
      height: 500px;
      }

      form {
        font-size: large;
    }

    input,
    select,
    textarea {
        font-size: larger;
    }

    .user-input-box label {
        font-size: larger;
    }

}
    
/* Termina Styles de Contact Us */

/* Inicia Styles Buttons About Us - Our Projects */
      .button-container {
      width: auto;
      text-align: center;
      padding: 1em;
      color: brown;
      background-color: white;
      }

      .button-container .button {
          display: inline-block;
          padding: 15px 30px;
          margin: 10px;
          font-weight: bold;
          font-size: large;
          color: black;
          border-radius: 10px;
          transition: background-color 0.3s ease;
          text-decoration: none;
          background: white;
      }

      .button:hover {
          background-color: brown;
          color: white;
      }

      .button-contact {
        color: white !important;
        background-color: chocolate;
      }

      .button-projects {
          border-color: gray;
          border-width: 2px;
          border-style: groove;
      }

      /* Responsive styles */
      @media only screen and (max-width: 600px) {
          .button-container .button {
          width: -webkit-fill-available;
          }
      }
/* Terminan Styles Buttons About Us - Our Projects */


/* Inician Styles Paragraph text SHOW MORE */
.title-descript {
    color: chocolate;
    font-size: larger;
}

.container-show-text {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px 50px;
    margin: 20px;
    }

.container-show-text .text {
    overflow: hidden;
    transition: max-height 0.5s ease;
    /*max-height: 150px;*/
    max-height: 3em;
    position: relative;
    line-height: 1.5em;
    font-family: 'Times New Roman', Times, serif;
    font-size: larger;
    text-align: justify;
    }

.container-show-text .text::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1.5em;
    background: linear-gradient(to top, #fff, transparent);
    }

.container-show-text .text.expanded {
    max-height: none;
    transform: translateY(-20px);
    animation: fadeIn 1s ease-in-out forwards;
    }

#text-container {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    max-height: 3em;
}


    .text.expanded::after {
        display: none;
    }

    .show-more {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        padding: 10px;
        width: 50px;
        height: 50px;
        background-color: brown;
        color: white;
        font-weight:bolder;
        font-size: x-large;
        font-family: Arial, Helvetica, sans-serif;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .show-more:hover {
        background-color: chocolate;
    }

@media (max-width: 768px) {
    .container-show-text {
    padding: 10px;
    }
}

/* Terminan Styles paragraph text */



.about-buttons {
      display: flex;
      justify-content: right;
      padding-right: 20px;
      margin-top: 20px;
      column-gap: 1rem;
      margin-bottom: 2rem;

    }

