
body{
    margin-left: 0;
    margin-right: 0;
}

/* Basic styles for the button container */
.button-container {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    gap: min(15px, 1vw);
    align-items: center;   
}


.button-centerer {
    display: flex; /* Use flexbox to center the contents of the button-container*/
    justify-content: center; /* Center the button container horizontally */
    width: 100%; /* Full width to allow centering */
}



button
{
    border-radius: 5px;
    padding: min(5px, 1vw);
    margin: 0 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    align-items: center;
}


.button
{
    font-size: min(16px, 3vw);
    height: min(20px, 4vw);
    margin: 0px 1px;
    padding: min(5px, 1vw);
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for 3D effect */
    font-family: sans-serif;
    font-style: normal;
    align-items: center;
    display: inline-flex;
}


/* Dropdown container styles */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Styles for the button that triggers the dropdown */
.dropbtn {
    border: none;
    padding: 0px, 0px;
    font-size:  min(16px, 3vw);
    border-radius: 5px;
    margin: 0 2px;
    height: 30px;
    height: min(30px, 6vw);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}



/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    width: fit-content;
}

.theme-dropdown {
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    width: fit-content;
    right: 0
}

/* Dropdown links styles */
.dropdown-content a {
    padding: 7px;
    text-decoration: none;
    display: block;
    font-family: sans-serif;
    font-style: normal;
    border-radius: 5px;
    transition: background-color 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */

}

.theme-dropdown a {
    padding: 4px 6px;
    text-decoration: none;
    display: block;
    font-family: sans-serif;
    font-style: normal;
    border-radius: 5px;
    transition: background-color 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Show the dropdown menu when hovering over the dropdown container */
.dropdown:hover .dropdown-content {
    display: block;
}

.theme-dropdown.show {
    display: block;
}




a.lang-button-active 
{
    margin: 0 2px;
    border-radius: 5px;
    max-height: min(30px, 6vw);

}


a.lang-button-inactive 
{
    margin: 0 2px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for 3D effect */
    max-height: min(30px, 6vw);

}

.flag
{
    width: min(30px, 6vw); height: min(30px, 6vw); border-radius: 3px;
}





.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    font-size: 1.2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 28px;
    transition: background-color 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

/* Bekapcsolt (sötét) állapot */
.switch input:checked + .slider {
    background-color: #4a4a4a;
}

.switch input:checked + .slider::before {
    transform: translateX(26px);
}