html{
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
    overflow-x: hidden;
}
body {
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    color: #333;
    background-color: #f8f8f8; /* Light grey background  f0f0f0*/
    height: 100%;
    width: 100%;
    margin: 0;
    /* line-height: 1.5; */
    /* word-spacing: 3.84px; */

   

}

header {
    background-color: #333333; /* Industrial steel color for the header 50586C */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw; 
    padding-top: 5px;
    padding-bottom: 5px;
    max-height: 45vh;
    /* padding: 0.5em 1em; */
    

}

#title-and-menu{
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100vw;
}

#title{
    text-wrap: wrap;
    flex-grow: 1;
}

nav{
    margin-left: 30px;

}
nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    margin: 0;
}

nav ul li {
    margin-right: 30px;
    margin-top: 5px;
    margin-bottom: 5px;


}

nav ul li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    min-height: 44px;

}

#settings{
    margin-left: 10px;
    padding: 5px;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: white;
    min-width: 44px;
    min-height: 44px;
}

#settings svg{
    transform: scale(2.5);
}

.accessibility-controls {
    display: flex;
    align-items: left;
    text-align: left;
    padding-left: 20px;
    flex-wrap: wrap;
    margin-right: 30px;
    flex-direction: column;
}

.accessibility-controls button {
    margin-left: 10px;
    padding: 5px;
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: white;
    min-width: 44px;
    min-height: 44px;
}

.category{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.accessibility-controls button:hover,
nav ul li a:hover,
.flags:hover,
footer a:hover
  {
    background-color: #333333; /* Industrial steel color for the header 50586C */
    opacity: 0.5;
}


main {
    height: 100%;

}

footer {
    display: flex;
    background-color: #333333; /* Industrial steel color for the header 50586C */
    color: white;
    text-align: center;
    /* flex-wrap: wrap; */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* padding: 1em; */
}

footer a {
    color: inherit; /* Ensures footer links match the footer text color */
    text-decoration: none; /* Removes underline */
    margin-left: 5px;
}


#site-map{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
#site-map p{
    padding-bottom: 15px;
}
#site-map li{
    min-width: 44px;
    min-height: 44px;
    text-align: left;
}

#site-map a{
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
    margin-bottom: 10px;
}
#site-map ul ul a{
    text-decoration: underline;

}

#footer_div{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

/* Contrast Themes */
.contrast-default {
    background-color: #f0f0f0;
    color: #333;
}

.contrast-bw {
    background-color: #000000;
    color: #ffffff;
}

.contrast-by {
    background-color: #000000;
    color: #ffff00;
}

.contrast-yb {
    background-color: #ffff00;
    color: #000000;
}

.contrast-default header,
.contrast-default footer,
.contrast-default  nav ul li a,
.contrast-default #helpers
{
    background-color: #333333; /* Industrial steel color for the header 50586C */
    color: white;
}

#normalText{
    height: 1.5em;
}

.contrast-height {
    height: 1.5em;
}

.contrast-bw header,
.contrast-bw footer,
.contrast-bw #helpers{
    background-color: #000000;
    color: #ffffff;
    border-color: #ffffff;
    border-style: solid;
    transition: 0s;
    
}

.contrast-bw button,
.contrast-bw nav ul li a,
.contrast-bw #settings {
    background-color: #000000;
    color: #ffffff;
}
#bwContrast{
    background-color: #000000;
    color: #ffffff;
}

.contrast-by header,
.contrast-by footer,
.contrast-by #helpers {
    background-color: #000000;
    color: #ffff00;
    border-color: #ffff00;
    border-style: solid;
    transition: 0s;
    

}

.contrast-by nav ul li a,
.contrast-by #settings,
.contrast-by button{
    background-color: #000000;
    color: #ffff00;
}

/*Hovers for contrast theams */

.contrast-by nav ul li a:hover,
.contrast-by #settings:hover,
.contrast-by footer a:hover,
.contrast-by #close button:hover,
.contrast-by .dropbtn:hover,
.contrast-by #normalText:hover,
.contrast-by #largeText:hover,
.contrast-by #veryLargeText:hover  {
    background-color: #ffff00;
    color: #000000;
    opacity: 1;
    border: solid #ffff00;
    padding: 3px;
}
.contrast-by .flags:hover{
    background-color: transparent;
    opacity: 1;
}
.contrast-by .accessibility-controls  button:hover,
.contrast-bw .accessibility-controls  button:hover,
.contrast-yb .accessibility-controls  button:hover{
    background-color: transparent;
    opacity: 1;
    border: solid red;
    padding: 3px;
}
.contrast-yb nav ul li a:hover,
.contrast-yb #settings:hover,
.contrast-yb .dropbtn:hover,
.contrast-yb footer a:hover,
.contrast-yb #close button:hover,
.contrast-yb #normalText:hover,
.contrast-yb #largeText:hover,
.contrast-yb #veryLargeText:hover {
    background-color: #000000;
    color: #ffff00;
    opacity: 1;
    border: solid #000000;
    padding: 3px;
}
.contrast-yb .flags:hover{
    background-color: transparent;
    opacity: 1;
}


.contrast-bw nav ul li a:hover,
.contrast-bw #settings:hover,
.contrast-bw .dropbtn:hover,
.contrast-bw footer a:hover,
.contrast-bw #close button:hover,
.contrast-bw #normalText:hover,
.contrast-bw #largeText:hover,
.contrast-bw #veryLargeText:hover {
    background-color: white;
    color: black;
    opacity: 1;
    border: solid #ffffff;
    padding: 3px;
}

.contrast-bw .flags:hover{
    background-color: transparent;
    opacity: 1;
}

/*end of hovvers for contrasts */


#byContrast {
    background-color: #000000;
    color: #ffff00;
}

.contrast-yb header,
.contrast-yb footer,
.contrast-yb #helpers {
    background-color: #ffff00;
    color: #000000;
    border-color: #000000;
    border-style: solid;
    transition: 0s;

}
.contrast-yb button,
.contrast-yb #settings,
.contrast-yb nav ul li a {
    background-color: #ffff00;
    color: #000000;
}

#ybContrast {
    background-color: #ffff00;
    color: #000000;
}

/* .pic{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('./res/huta5.png');
    width: 100%;
    height: 15vh ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    
} */

.accessibility-controls .label {
    font-size: inherit;
    margin-right: 8px;
    margin-left: 8px;
    margin-bottom: 10px;

}

button.active,
#ybContrast.active,
#byContrast.active,
#bwContrast.active {
    background-color: blue; /* Change this to the blue color you prefer */
    color: white; /* Change text color for better visibility if needed */
}

button .flags{
    margin-left: 8px;
    margin-right: 8px;
    height: 44px;
    width: 44px;
    cursor: pointer;
    border: none;
    padding: 0;
}

section{
    padding-top: 10px;
    /* min-height: 100vh; */


}

/* section h1{
    margin-top: 15px;
} */

.slide{
   display: flex;
   align-content: center;
   flex-wrap: wrap;
   

}

section h1,
section h3{
    padding-right: 40px;
    padding-left: 40px;
    padding-top: 40px;
}
.content p{
    text-align: left;
    text-indent: 40px;
    padding-right: 100px;
    padding-left: 100px;
    padding-bottom: 30px;
}

.content ul{
    padding-left: 200px;
    padding-right: 100px;
}

.content li{
    padding-bottom: 30px;
}

.picture{ 
    text-align: center;
    flex-wrap: wrap;
    flex-grow: 1;
    background-color: #fbf0d9; /* Industrial steel color for the header 50586C */
    padding-top: 30px;
    padding-bottom: 30px;
    box-shadow: 0 -10px 20px -5px rgba(0, 0, 0, 0.2), /* Shadow on top */
                 0 10px 20px -5px rgba(0, 0, 0, 0.2); /* Shadow on bottom */

}

.contrast-bw .picture,
.contrast-by .picture{
    background-color: #000000;
    border: none;
}
.contrast-yb{
    background-color: #ffff00;
    border: none;
}


img{
    max-width: 85%;
    height: auto;
    border: double #a69690;
    border-width: 25px;
    padding: 10px;
}

.picture img {
    max-height: 75vh;
}

/*Carousel*/

.carousel {
    position: relative;
    max-width: fit-content;
    margin: auto;
    overflow-y: hidden;
    /* overflow-x: hidden; */
    
}

.carousel-images .carousel-image {
    display: none;
    max-width: 94vw;
}

.carousel-images .active {
    display: flex;
    flex-wrap: wrap;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px; /* Adjust size as needed */
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    min-width: 44px;
    min-height: 44px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

#front_page{
    border: none;
    max-width: 100vw;
    height: 90vh;
    padding: 0;
    
}

#front_div {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 100vw;
    height: 90vh; 

}

#front_div::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

#front_div div{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text over the image */
    color: white;
    text-align: center;
    z-index: 2;
    padding-bottom: 40px;
}

#front_div div h1{
    font-size: 12vh;
    font-weight: bold;
    text-transform:capitalize;
    text-shadow: -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000,
   -2px  0px 0 #000,
    2px  0px 0 #000,
    0px -2px 0 #000,
    0px  2px 0 #000;
    
}

.contrast-by #front_div div h1,
.contrast-yb #front_div div h1{
    font-size: 12vh;
    font-weight: bold;
    color: #ffff00;
}


#s1{
    padding: 0; /*To section one matche navbar*/
}

.dropbtn{
    visibility: hidden;
    /* transform: scale(2.5); */
}

/* .dropdown-content{
    display: none;
} */

.contrast-bw img{
    border-color: #ffffff;
}

.contrast-by img{
    border-color: #ffff00;
}

.contrast-yb img{
    border-color: #000000;
}
h1,
h2,
h3{
    margin: 0;
}
@media (max-width: 880px){
    .dropbtn{
        visibility: visible;
        /* transform: scale(2.5)  translateY(-12%); */
        font-size: 38px;
        background-color: inherit;
        flex-grow: 1;
        border: none;
        color: white;
        font-family: 'Times New Roman', Times, serif;
        cursor: pointer;
        padding-top: 10px;
        /* margin-bottom: 10px; */
        padding-bottom: 10px;
        overflow: hidden;
        min-width: 44px;
        min-height: 44px;


    }
    #title{
        flex-grow: 1;
    }
    #title-and-menu{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;

    }



    .nav-btns{
        display: none;
    }
    .dropbtn svg{
        transform: translateY(25%);
        transform: scale(2.1);
    }
   

   nav ul{
    flex-direction: column;
   }

   .contrast-bw .dropdown-content {
    background-color: #000000;
    border: solid #ffffff;
   }
   .contrast-by .dropdown-content {
    background-color: #000000;
    border: solid #ffff00;
   }

   .contrast-yb .dropdown-content {
    background-color: #ffff00;
    border: solid #000000;
   }

   .content p{
    padding-left: 10vw;
    padding-right: 10vw;
    overflow-wrap: break-word;
   }

   .content ul{
    padding-left: 20vw;
    padding-right: 10vw;
    overflow-wrap: break-word;
    }



    footer ul,
    footer p,
    footer a{
        overflow-wrap: break-word;
        text-wrap: balance;
        padding: 5px;
        margin: 0;

    }
    footer ul li{
        padding-left: 1vw;
    }
    footer ul ul li {
        padding-left: 8vw;
        padding-bottom: 10px;
    }


    img{
    max-width: 94vw;
    height: auto;
    border-left: none;
    border-right: none;
    padding: 10px;
    }

    #front_page{
        border: none;
        max-width: 100vw;
        height: 50vh;
        padding: 0;
        
    }
    #front_div {
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 100vw;
        height: 50vh; 

    }

    .prev {
        padding: 5px;
    }

    .next {
        padding: 5px;
    }

    section h1,
    section h3{
        padding-right: 10px;
        padding-left: 15px;
    }

    #front_div div h1{
        font-size: 8vh;
    }
    .contrast-by #front_div div h1,
    .contrast-yb #front_div div h1{
        font-size: 8vh;
    }

    #footerEmail{
        font-size: 38px;
    }

    .contrast-bw .dropdown:hover,
    .contrast-by .dropdown:hover,
    .contrast-yb .dropdown:hover{
        padding: 10px;
    }


   
}
.display-h2{
    display: none;
}

@media (max-width: 720px){
    #title{
        /* display: none; */
        font-size: 20px;
    }
    
    button .flags{
        margin-left: 0px;
        margin-right: 0px;
    }
    .display-h1{
        display: none;
    }

    .display-h2{
        display: block;
    }

    #front_div div h1{
        font-size: 6vh;
    }
    .contrast-by #front_div div h1,
    .contrast-yb #front_div div h1{
        font-size: 6vh;
    }
}




.dropbtn:hover{
    background-color: #333333; /* Industrial steel color for the header 50586C */
    opacity: 0.5;
    z-index: 3;

}

.content{
    width: 100vw;
}
.next:focus-visible, 
.prev:focus-visible,
button:focus-visible,
li a:focus-visible,
#email:focus-visible,
#settings:focus-visible{

    border: solid red;
    border-radius: 6px;
    border-width: 5px;
    padding: 3px;


}


#helpers {
    display: none;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    background-color: #333333;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 20px;
    border: none;
}

#close{
    width: 100%;
    display: flex;
    text-align: left;
}

#close button{
    font-size: 38px;
    margin-left: 20px;

} 
.dropdown-content{
    display: none;

    height: 100%;
    width: 0;
    position: fixed;
    z-index: 98;
    left: 0;
    top: 0;
    background-color: #333333;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 20px;        
    border: none;
    text-align: left;
    padding-left: 10px;
   

}

.flex-content nav ul{
    align-items: flex-start;
}

#signe-language{
    background-color: white;
}

#signe-language .flags:hover{
    background-color: transparent;
}
.contrast-by #signe-language,
.contrast-yb #signe-language{
    background-color: #ffff00;
}

