*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}   

.navbar ul
{
    list-style-type: none;
    position: fixed;
    overflow:hidden;
    padding: 0px;
    margin: 0px;
    z-index: 2;
    width: 100%;
    height: 3.5rem;
    transition: top 0.3s, background-color 0.5s ease;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.navbar a
{
    color: white;
    text-decoration: none;
    padding: 0.9rem;
    display: block;
    text-align: center;
}
.navbar a:hover
{
    background-color: rgb(7, 12, 32);
}
.navbar li
{
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 0;
    padding: 0; */
}
.navbar .logo-link{
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.logo{
    object-fit: cover;
    height: 3.5rem;
    width: 3.5rem;
    margin-top: -0.8rem;
}
.content 
{
    padding: 20px;
    background: #fff;
    z-index: 1;
    position: relative;
    margin: auto;
    text-align: center;
}
/* FOR VIDEO HOMEPAGE */
.box
{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.box video
{
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;

}
/* SCROLLBAR */
::-webkit-scrollbar {
    width: 0px;    
}

::-webkit-scrollbar-thumb {
    background: #888; 
}

.animated-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.inner
{
    margin-left: 13rem;
    max-width: 84.5vw;
}
pre {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}


/* CSS */
.button-18 {
    align-items: center;
    background-color: #0A1338;
    border: 0;
    border-radius: 50px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    justify-content: center;
    line-height: 20px;
    max-width: 150px;
    min-height: 40px;
    min-width: 0px;
    overflow: hidden;
    padding: 0px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 5px;
    text-align: center;
    touch-action: manipulation;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
}

.button-18:hover,
.button-18:focus { 
    background-color: #16437E;
    color: #ffffff;
}

.button-18:active {
    background: #09223b;
    color: rgb(255, 255, 255, .7);
}

.button-18:disabled { 
    cursor: not-allowed;
    background: rgba(0, 0, 0, .08);
    color: rgba(0, 0, 0, .3);
}

.lessons-buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#google_translate_element 
{
    display: none;
}
  
#google_translate_element.visible
{
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.toggle-sidebar-btn {
    display: none;
    position: fixed;
    top: 0.8rem;
    right: 4rem;
    z-index: 1500;
    background-color: #070F2A;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Stil pentru butonul burger */
.burger-menu {
    display: none;
    position: fixed;
    top: 0.8rem;
    right: 1rem;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    background-color: rgba(7, 15, 42, 0.7);
    border-radius: 4px;
}

.burger-menu span {
    display: block;
    width: 1.5rem;
    height: 0.2rem;
    background-color: white;
    margin: 0.3rem 0;
    transition: transform 0.3s, opacity 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
        background-color: #070F2A;
    }
    
    .navbar ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -80%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #070F2A;
        overflow-x: hidden;
        transition: right 0.3s ease;
        padding-top: 3.5rem;
        box-shadow: -3px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .navbar ul.open {
        right: 0;
    }
    
    .navbar ul.open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    .navbar li {
        float: none;
        display: block;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar a {
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: left;
        color: white;
        background-color: #070F2A;
    }
    
    .navbar a:hover {
        background-color: #101d4e;
    }
    
    .navbar .logo-link {
        display: none;
    }
    
    .logo {
        height: 2.5rem;
        width: 2.5rem;
        margin-top: -0.5rem;
    }
    
    .inner {
        margin-left: 0;
        max-width: 100%;
    }
    
    .toggle-sidebar-btn {
        left: auto;
        right: 4rem;
        top: 0.8rem;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 80%;
        max-width: 250px;
        height: 100vh;
        z-index: 998;
        background-color: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        padding-top: 60px;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .flex-container {
        flex-direction: column;
    }
    
    .slideshow-container, .contentslideshow {
        width: 100%;
        padding: 0 1rem;
    }
    
    .contentslideshow {
        margin-top: 2rem;
    }
    
    .mySlides img {
        height: auto;
        max-height: 300px;
    }
}