body {
    margin: 0;
}
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 1) {
    #body {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    #left-text,
    #right-text {
        text-align: center !important;
    }

    #tagline {
        display:block;
    }

    a{
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
#title {
    text-decoration: none !important;
}

#about-us {
    text-align: center;
}
}

#lights-prompt {
  width: 100%;
  text-align: -webkit-center;
  color: #f9f3e2;
  padding-top: 10%;
  margin: 10px;
  font-weight: 500;
}

#about-us {
    display: none;
}
ul {
    list-style-type: none;
    padding: 0;
}


#tagline {
    display: flex;
    flex-direction: column;
}
#name {
font-size: xxx-large;
font-weight: 900;
}        

a {
    color: #132436;
    text-decoration: none;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration: underline;
}

*,
*:before,
*:after {
    transition: 0.2s ease-in-out;
}

html,
body {
    font-family: helvetica neue, helvetica, arial, sans-serif;
    font-weight: 200;
}

#body {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
    /* Horizontal layout */
    background-color: #132436;
    color: #132436;
    transition: background-color 0.3s ease-in-out;
    height: 100vh;
    margin:0;
}

#body:has(#light-switch:checked) {
    background-color: #f9f3e2;
  }



#light-switch {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

#left-text {

    text-align: right;

}

#left-text,
#right-text {
    color: #132436;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 9;
    font-size: 2rem;
    width: 330px;
    padding: 5% 0;
    opacity: 0;
    visibility: hidden;
    /* display: none; */
    transition: display 1 ease-in-out;
}

#light-switch:checked~#left-text, #light-switch:checked~#right-text {
    opacity: 1;
    visibility: visible;
    display: block;
}

#light-switch:checked~#light-switch-label {
    box-shadow: 0 2px 2px #d0b57b;
}

#light-switch:checked~#light-switch-label .switch {
    box-shadow: 0 10px 10px -5px rgba(233, 219, 176, 1), 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 4px #fff4d3, 0 0 0 5px rgba(0, 0, 0, 0.1);
}

#light-switch:checked~#light-switch-label .switch:before {
    height: 75px;
    top: 0px;
    line-height: 75px;
    background: #fff4d3;
    color: #64bf60;
    text-shadow: 0 0 3px #38ff2e;
}

#light-switch:checked~#light-switch-label .switch:after {
    height: 70px;
    bottom: 5px;
    line-height: 70px;
    background: #fffaea;
    box-shadow: 0 5px 0 #d0b57b;
    color: #d7bf95;
    text-shadow: 0 0 0px transparent;
}

#light-switch-label {
    position: relative;
    display: block;
    height: 300px;
    min-width: 200px;
    max-width: 200px;
    z-index: 1;
    /* margin: 100px auto 0 auto; */
    background-color: #fff4d3;
    border-radius: 10px;
}

#light-switch-label .switch {
    cursor: pointer;
    height: 150px;
    width: 100px;
    background: #fffaea;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -75px 0 0 -50px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 10px -5px rgba(233, 219, 176, 0), 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 4px #fff4d3, 0 0 0 5px rgba(0, 0, 0, 0.1);
}

#light-switch-label .switch:before {
    content: 'ON';
    display: block;
    position: absolute;
    height: 70px;
    text-align: center;
    line-height: 70px;
    width: 100px;
    top: 5px;
    left: 0;
    background: #efe0b1;
    color: #bfa371;
    border-radius: 5px 5px 0 0;
}

#light-switch-label .switch:after {
    content: 'OFF';
    display: block;
    position: absolute;
    height: 75px;
    text-align: center;
    line-height: 75px;
    width: 100px;
    bottom: 0;
    left: 0;
    background: #fff4d3;
    color: #a4441a;
    text-shadow: 0 0 3px #ff4e00;
    border-radius: 0 0 5px 5px;
}

#light-switch-label .screw {
    position: absolute;
    height: 16px;
    width: 16px;
    border-radius: 100%;
    left: 50%;
    margin-left: -8px;
    background: #e3d4a5;
    overflow: hidden;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.15);
}

#light-switch-label .screw:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 2px;
    left: 50%;
    margin-left: -1px;
    background: rgba(0, 0, 0, 0.2);
}

#light-switch-label .screw:first-of-type {
    top: 30px;
}

#light-switch-label .screw:last-of-type {
    bottom: 30px;
}

#background {
    position: absolute;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    /* background-color: #132436; */
}

#services {
    font-size: 2rem;
    font-weight: bold;
}
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9;
    /* opacity: 0;  Add this line */
    transition: 0.3s ease;  /* Add this line */
  }

  .modal.show {  /* Add this class */
    display: block;
    opacity: 1;
    transition: 0.3s ease;  /* Add this line */
  }

  .modal-header {
    font-size: xx-large;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .close {
    cursor: pointer;
    /* position: absolute;
    top: 10px;
    right: 15px; */
    font-size: 2.5rem;;
  }
  
  h2 {
    margin-top: 0;
    font-size: 2rem;
  }
  
  p {
    margin-bottom: 0;
    font-size: x-large;
  }

  .cta-container {
    margin-top: 20px;
    font-size: x-large;
    display: flex;
    justify-content: space-evenly;
  }

  .cta-container a {
    padding: 10px;
    border: 1px solid #132436;
    border-radius: 3px;
    text-decoration: none !important;
  }
  
/* Add these lines to your existing CSS file */
  .banner {
    width: 100%;
    background-color: #132436;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* padding: 10px; */
    z-index: 9999;
    height: 65px;

  }
  #contact-banner {
    bottom: 0;
    left: 0;
    justify-content: center;
  }

  #top-banner {
    flex-wrap: wrap;
    top: 0;
    left: 0;
    background-color: transparent;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  
  #contact-banner a, #top-banner a {
    padding: 20px;
    color: #f9f3e2;
    /* text-decoration: none; */
    font-size : x-large;
    text-underline-offset: 3px;
  }
  
  /* #light-switch~#top-banner {
    display: flex;
    transition: display 0.5s ease-in-out;
} */
  #light-switch:checked~#top-banner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
} 

  
  @media only screen and (max-width: 768px) {
    #contact-banner {
      font-size: x-large;
    }
    #top-banner {
        font-size: x-large;
    }
  }