*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
.dark{
    background-color:black;
    color: white;
}
.light{
    background-color: white;
    color: black;
}

/* Initial styles for hidden elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Adjust the translateY value for your desired effect */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Duration and easing of the transition */
}

/* Class to trigger the animation */
.show {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Add container styling */
.container {
    text-align: center;
    margin-top: 50px; /* main page margin from top */
}

.navbar {
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    color: white;
    font-size: 1.5rem;
    user-select: none;
}

.navbar-menu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-item {
    position: relative;
}

.navbar-item a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
}

.navbar-item a:hover {
    background-color:#25D366;
    border-radius: 20px;
    /* color: rgb(3, 92, 225); */
}

.arrow {
    margin-left: 5px;
    font-size: 0.8rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    list-style-type: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-menu li a {
    color: black;
    padding: 0.5rem 1rem;
}

.dropdown-menu li a:hover {
    background-color:#25D366;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-toggler {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
}

@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    .navbar-item {
        width: 100%;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-menu.show {
        display: flex;
    }
    .dark-mode button {
        font-size: 14px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-weight: bold;
        padding: 7px;
        border-radius: 20px;
    }
}

.centered-text {
    margin-top: 4px;
    display: block;
    width: 50%; /* Occupies 50% of the container */
    margin: 0 auto; /* Centers the text horizontally */
    text-align: start; /* Centers the text within the block */
    padding-left: 0; /* No extra padding required */
    padding-right: 0;
  }
  
  /* Mobile-specific styles */
  @media (max-width: 768px) {
    .centered-text {
      width: 90%; /* On mobile, increase width to 90% */
      padding-left: 5%; /* Less padding for mobile */
      padding-right: 5%; /* Less padding for mobile */
    }
  }
  

.contents{
    padding: 20px;
}
.image img{
    margin: 10px;
    width: 65%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Slideshow Gallery */
.slideshow-container {
    max-width: 70%;
    position: relative;
    margin: auto;
    margin-bottom: 30px;
}
/* Styles for the slideshow images */
.mySlides {
    display: none;
}

/* Style for next and previous buttons */
.prev, .next {
    user-select: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(38, 37, 37, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

/* Style for text */
.text {
    color: white;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    padding: 8px 0;
}

/* Style for text container */
.text-container {
    padding: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.text-container p{
    font-size: 15px;
}

.row {
    display: flex;
}
.column {
    flex: 33.33%;
    padding: 5px;
}
.column p{
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media only screen and (max-width: 720px) {
    .container img{
        width: 100%;
        height: auto;
    }
    .text-container p{
        font-size: 14px;
    }
    .front-text p{
        text-align: start;
        font-size: 14px;
    }
    .contents h2{
        font-size: 16px;
    }
    .contents h3{
        font-size: 14px;
        text-align: start;
    }
    .image img{
        margin: 20px;
        width: 100%;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .slideshow-container {
        max-width: 100%;
        position: relative;
        margin: auto;
    }
    .text-container {
        font-size: 10px;
    }
    .row {
        display:inline;
    }
    .column {
        flex: 35%;
        padding: 5px;
    }
    .column p{
        width: auto;
        font-size: 10px;
    }
    .copyright{
        padding-bottom: 20px;
    }
    .copyright p{
        padding: 10px;
    }
    .copyright h1{
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 12px;
        text-align: center;
        color: #25D366;
        padding: 16px;
    }
    .navbar-list ul li{
        padding: 6px;
        margin: 2px;
        text-align: center;
    }
}
@media only screen and (max-width: 344px){
    .contents h2{
        font-size: 12px;
    }
    header{
        font-size:16px;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        text-align: center;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header p{
        font-size: 10px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        text-align: center;
        padding: 10px;
    }
}