/* Theme and root variables */
/* base colors (permanently dark theme) */
:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --header-bg: #222222;
    --header-text: #ffffff;
    --navbar-bg: #222;
    --navbar-text: #e0e0e0;
    --dropdown-bg: #333333;
    --dropdown-text: #e0e0e0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Header Styling */
.header {
    padding: 80px;
    text-align: center;
    background: #1abc9c;
    color: white;
}

.headeram {
    padding: 80px;
    text-align: center;
    background-origin: padding-box;
    background-image: url(../assets/slideam.png);
    color: white;
}

.headermcr {
    padding: 80px;
    text-align: center;
    background-origin: padding-box;
    background-image: url(../assets/slidemcr.png);
    color: white;
}

.headerlvjy {
    padding: 80px;
    text-align: center;
    background-origin: padding-box;
    background-image: url(../assets/slidelvjy.png);
    color: white;
}

.header h1 {
    font-size: 40px;
}

/* Top bar (site header) */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* center title */
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 10px 20px;
    z-index: 100;
}

/* place buttons at the edges */
.topbar .dropbtn {
    position: absolute;
    left: 20px;
}

.topbar .theme-btn {
    position: absolute;
    right: 20px;
}

/* ensure main content isn't hidden under fixed header */
body {
    margin: 0;
    padding-top: 50px; /* adjust to header height */
}

/* full-height sidebar that slides out */
.sidebar-full {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: var(--navbar-bg);
    overflow-x: hidden;
    transition: width 0.6s ease;
    padding-top: 60px;
}


/* bottom area container */
.sidebar-full .sidebar-bottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* socials page list */
.social-list {
    list-style: none;
    padding: 0;
}
.social-list li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}
.social-list li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
}
.social-list li a i {
    margin-right: 8px;
}
.social-list li span {
    margin-left: 8px;
}

/* contact form styling */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin-top: 20px;
}
.contact-form label {
    margin: 8px 0 4px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    padding: 8px 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
}
.contact-form button {
    margin-top: 12px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    background-color: #1abc9c;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.contact-form button:hover {
    background-color: #17a589;
}


  /* Simple Icons SVG styling for socials */
  .social-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
    transition: filter 0.2s, transform 0.2s;
    filter: grayscale(0.2) brightness(0.95);
  }
  .social-list li a:hover .social-icon {
    filter: none;
    transform: scale(1.12) rotate(-6deg);
  }

/* small hover shift for the hamburger menu button */
#sidebar-toggle:hover {
    transform: translateX(2px);
    transition: transform 0.1s ease;
}

/* blog post presentation */
.post {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1em;
    margin: 1em 0;
    background: #fafafa;
}
.post h2 {
    margin-top: 0;
}
.post small {
    color: #666;
    display: block;
    margin-bottom: 0.5em;
}

/* dark mode tweaks */
@media (prefers-color-scheme: dark) {
    .post {
        border-color: #555;
        background: #222;
        color: #eee;
    }
    .post small {
        color: #aaa;
    }
}

/* slide-in animation for newly added posts */
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.slide-in {
    animation: slideIn 0.5s ease both;
}

.sidebar-full .sidebar-bottom .sidebar-link {
    padding-left: 24px;
}

.sidebar-full a {
    padding: 6px 8px 6px 24px;
    text-decoration: none;
    font-size: 18px;
    color: var(--navbar-text);
    display: block;
    transition: 0.3s;
}

.sidebar-full a:hover {
    background-color: transparent; /* remove color */
    transform: translateX(5px);
}

/* prevent hover styling on close button */
.sidebar-full .closebtn:hover {
    background: none;
    color: var(--navbar-text);
    transform: rotate(45deg);
}

.sidebar-full .closebtn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 32px;
    background: none;
    color: var(--navbar-text);
    transition: transform 0.2s ease;
}

.sidebar-full .closebtn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 32px;
    background: none;
    color: var(--navbar-text);
    padding: 0;
    text-decoration: none;
}

.sidebar-full.open {
    width: 250px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Dropdown menu in top left */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    color: var(--header-text);
    border: none;
    font-size: 24px; /* larger icon */
    padding: 6px 10px;
    cursor: pointer;
    margin-left: -12px; /* initial offset left */
    transition: transform 0.2s ease, margin-left 0.2s ease;
}

.dropbtn:hover {
    transform: none;
    margin-left: -8px; /* slide right on hover */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--dropdown-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: var(--dropdown-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}


/* Navigation Bar Styling */
.navbar {
    overflow: hidden;
    background-color: var(--navbar-bg);
}

.navbar a {
    float: left;
    display: block;
    color: var(--navbar-text);
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.navbar a.right {
    float: right;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Layout Handling */
* {
    box-sizing: border-box;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

.side {
    flex: 30%;
    background-color: var(--bg-color);
    padding: 20px;
}

.main {
    flex: 70%;
    background-color: var(--bg-color);
    padding: 20px;
}

/* Media Layout Queries */
@media screen and (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

@media screen and (max-width: 400px) {
    .navbar a {
        float: none;
        width: 100%;
    }
}

/* Footer Styling */
.footer {
    padding: 20px;
    text-align: center;
    background: var(--bg-color);
}

/* Sliders */
* {box-sizing: border-box;}

/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next and Previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 19px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    display: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  /* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/* accord-ions */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.active, .accordion:hover {
    background-color: #ccc;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

/* Tabsssss */

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Style the buttons inside the tab */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
  }
  
  /* Fade in tabs */
  @-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px; 
    resize: vertical 
  }

input[type=email], select, textarea {
    width: 100%;
    padding: 12px; 
    border: 1px solid #ccc;
    border-radius: 4px; 
    box-sizing: border-box; 
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical 
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
    background-color: #45a049;
  }
  
  /* Add a background color and some padding around the form */
  .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  }

  /* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

/* Icons */
  .fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
  }
  
  .fa-youtube {
    background: #bb0000;
    color: white;
  }

  .fa-twitter {
    background: #55ACEE;
    color: white;
  }

  .fa-instagram {
    background: #125688;
    color: white;
  }