#homepage {
    position: absolute;
    top: 0%;
    left: 0%;
    border: 1px outset rgb(243, 243, 243);
    border-radius: 8px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 99%;
    width: 60px;
    padding-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background-image: linear-gradient(white, rgb(161, 231, 255), white);
    font-weight: bold;
    color: rgb(2, 95, 194);
    transition: ease .5s;
    font-size: 35px;
}

.fa-angle-left {
    scale: 1.5;
    color: rgb(2, 95, 194);
}

#homepage:hover {
    background-image: linear-gradient(white, rgb(255, 255, 199), white);
    width: 100px;
    transition: ease 1s;
    font-size: 18px;
}

#homepage:after {
    content: 'Home Page';
    display: none;
}

#homepage:hover:after {
    display: inline;
}

body { 
    font-family: Arial, sans-serif; 
    margin: 20px; 
    line-height: 1.6; 
}

#langNav {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    background-color: white;
        width: 100%;
}

.langSelect {
    color: black;
    text-decoration: none;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 20px;
    cursor: pointer;
}

.langSelect:hover {
    color: red;
}


.langSelect:focus,
.langSelect.active {
    color: rgb(1, 1, 144);
    /* font-weight: bold; */
    /* text-decoration: underline; */
    background-image: linear-gradient(0.25turn, rgb(219, 255, 225), rgb(230, 255, 175), rgb(185, 255, 255), rgb(174, 255, 239));
    border: 1px outset silver;
    border-radius: 8px;
    box-shadow: 1px 1px 10px rgb(255, 222, 137);
}

#webTitle {
    display: flex;
    justify-content: center;
    font-size: 45px;
    font-weight: bold;
    color: rgb(2, 95, 194);
    background-color: white;
    width: 100%;
}

.voiceSpeed {
    display: flex;
    justify-content: center;
    align-items: center;
}

#voiceSpeedLabel {
    flex: 2.5;
}

.speedInput {
    flex: 3;
  appearance: none;
  width: 100%; /* Full-width */
  height: 10px; /* Specified height */
  background: linear-gradient(0.25turn, rgb(60, 48, 220), #13b8ff, rgb(241, 203, 156), #fb5407);
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
  border-radius: 8px;
  border: 1px outset silver;
  cursor: pointer;
}

.speedInput:hover {
    background: linear-gradient(0.25turn, rgb(84, 74, 217), #4ac4f9, rgb(244, 216, 183), #fa7c41);
}

.speedInput::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; 
    height: 20px; 
    border-radius: 50%;
    border: 2.5px outset rgb(181, 179, 179);
    background: linear-gradient(135deg, white 0%, white 50%, rgb(108, 107, 107) 100%);
    cursor: pointer;
}

.speedInput::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

.rateValue {
    flex: 1;
}

#langAndTitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    position: sticky;
    top: 0;
    background-color: white;
    border: 1.5px solid silver;
    border-radius: 8px;
    width: 100%;
    z-index: 10;
}

.question { 
        color: Navy;
    font-size: 30px;
    display: flex;
    align-items: center;
    font-weight: bold; 
    margin-top: 20px; 
    border-radius: 8px;
    background-image: linear-gradient(0.25turn, rgb(196, 255, 206), rgb(213, 240, 155), rgb(159, 255, 255), rgb(155, 239, 253));
    background: linear-gradient(0.25turn, #5bb7de, #ebf8e1, #ff9e71);
    background: linear-gradient(0.25turn, #f9b292, #ebf8e1, #98e0ff);
        background: linear-gradient(0.25turn, #98e0ff, #ebf8e1, #f9b292);
    /* background: linear-gradient(0.25turn, #ff9e71, #ebf8e1, #5bb7de); */
}

.speaker { 
    cursor: pointer; 
    margin-left: 8px; 
    color: blue; 
    display: inline-flex; justify-content: center; align-items: center;
    scale: 1.3;
    /* background-image: linear-gradient(to bottom, white 0%, lightblue 10%, lightblue 20%, white 30%, lightblue 50%, lightblue 75%, rgb(219, 242, 239) 90%, lightblue 100%);
    background-image: linear-gradient(to bottom, white 0%, rgb(255, 230, 182) 10%, rgb(255, 223, 165) 20%, white 30%, rgb(255, 212, 132) 50%, rgb(255, 207, 117) 75%, rgb(222, 216, 186) 80%, rgb(255, 198, 92) 100%); */
}

.smallSpeaker {
    cursor: pointer;
    scale: .8;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
}

.translation {
    color: orangered; 
    font-weight: normal; 
    font-style: italic; 
    font-size: 15px;
}

.questionsTranslate {
    padding-left: 10px;
    font-size: 20px;
}

li {
    font-size: 25px;
}

a {
    color: blue;
}

#siteFooter {
    text-align: center;
    padding: 15px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 14px;
    margin-top: 50px;
    border-top: 1px solid #ccc;
}






.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: rgb(255, 255, 255);
  padding: 30px;
  padding-top: 0;
  /* height: 70%;
  max-width: 50%; */
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.disclaimerTitle {
 color: orangered; 
 font-size: 40px; 
 box-shadow: 1px 1px 10px rgb(144, 142, 142); 
 border-radius: 8px;
 background-color: rgb(255, 247, 236);
 font-family:Georgia, 'Times New Roman', Times, serif;
}

.modal-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00467f;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 16px;
  border: 1px outset silver;
  background-image: linear-gradient(white, rgb(68, 174, 250), white);
  box-shadow: 1px 3px 10px rgb(143, 137, 137);
  cursor: pointer;
}

.modal-content button:hover {
    background-image: linear-gradient(white, rgb(157, 214, 255), white);
    box-shadow: 1px 1px 10px rgb(143, 137, 137);
}

.modal-content button:focus {
    border: 1px inset silver;
    box-shadow: 1px 1px 5px rgb(255, 255, 255);
}

.modal-content a {
  color: #00467f;
  text-decoration: underline;
}































@media (max-width: 800px) {

#homepage {
    position: absolute;
    top: -1%;
    left: -.1%;
    right: 0;
    border: 1px solid rgb(187, 185, 185);
    border-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 20%;
    width: 97.5%;
    /* padding-left: 10px; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background-image: linear-gradient(white, lightblue, white);
        font-weight: normal;
        font-size: 14px;

}

.homepageText {
    padding-right: 10px;
}

.fa-angle-left {
    scale: 1;
    color: black;
}

/* #homepage:hover {
    background-image: linear-gradient(white, rgb(225, 247, 255), white);
} */

#homepage:active {
    border: 1px inset silver;
}

#homepage:hover {
    background-image: linear-gradient(white, rgb(255, 255, 199), white);
    width: 95%;
    margin-left: 1.1%;
    transform: scaleX(1.05);
    transition: ease 1s;
    font-size: 18px;
}

#homepageWord:before {
    content: 'Home Page';
    display: inline;
}

#homepage:hover:after {
    display: none;
}

#langNav {
    padding-top: 3%;
}





    .langSelect {
        font-size: 9px;
    }
    #webTitle {
        font-size: 18px;
    }

    .question {
        font-size: 20px;
    }

    .questionsTranslate {
        font-size: 17px;
    }

   .modal {
        
   }

    .modal-content {
        width: 80%;
        min-height: 80%;
        padding: 20px;
        padding-bottom: 10px;
        /* margin-top: -10%; */
        padding-top: 0;
        max-width: 80%;
    }

    .modal-content button {
        /* margin-top: 0%; */
        height: 50px;
        font-size: 20px;
        border: 1px outset silver;

        cursor: pointer;
    }

    .voiceSpeedLabel {
        flex: 2;
    }

    .speedInput {
        flex: 3;
    }

    #rateValue {
        flex: 1;
        font-size: 12px;
    }

    #voiceSpeedLabel {
        font-size: 12px;
    }
}
 