﻿input[type="checkbox"] {
    display: none;
}

#button {
    position: relative;
    display: block;
    width: 100px;
    height: 40px;
    background-color: #d0b2ed;
    border-radius: 30px;
    cursor: pointer;
    margin: 20px auto;
    transition: background-color 0.3s ease;
}

#knob {
    width: 30px;
    height: 30px;
    background-color: #fff;
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 50%;
    transition: 0.4s ease left, 0.4s ease background-color;
    background-image: url(../media/serbianflag.jpg);
    background-size: cover;
    background-position: center;
}

#language-text {
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
    color: black;
    font-size: 12px;
    font-weight: bold;
    font-family: Garet !important;
    transition: color 0.4s ease, left 0.4s ease;
}

#language-toggle:checked + #button {
    background-color: #c0d1ae;
}

    #language-toggle:checked + #button #knob {
        left: 65px;
        background-color: white;
        background-image: url(https://m.media-amazon.com/images/I/61dHFpZmRSL._AC_UF1000,1000_QL80_.jpg);
    }

    #language-toggle:checked + #button #language-text {
        color: black;
        left: 12px;
        transition: left 0.4s ease;
    }





/*2*/

.menu-container {
    position: fixed;
    bottom:20px;
    left:25px;
    width: 60px;
    height: 60px;
    z-index:9999;
}

.button-menu {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    background-color: rgba(61, 43, 26);
    border: none;
    font-size: 30px;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    opacity:0.8;
    transition: opacity ease-in-out 0.3s;
}

    .button-menu:hover {
    opacity:1;
    }

    .button-menu img {
    filter:invert(1);
    opacity:0.7;
    }

.option {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 2px 2px 5px rgba(61, 43, 26, 0.7);
    display: flex; 
    justify-content: center; 
    align-items: center; 
}




.menu-container img {
    width: 25px;
}

.option-o {
    transform: translateY(0);
    background-color: #e3d9d2;
}

.option-a {
    transform: translateY(0);
    background-color: #c0d1ae;
}

.option-b {
    transform: translateY(0);
    background-color: #d0b2ed;
}

.option-c {
    transform: translateY(0);
    background-color: #e3d9d2;
}

.menu-open .option-o {
    transform: translateY(-90px);
    opacity: 1;
    pointer-events: auto;
}


.menu-open .option-a {
    transform: translateY(-150px);
    opacity: 1;
    pointer-events: auto;
}

.menu-open .option-b {
    transform: translateY(-210px);
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.1s;
}

.menu-open .option-c {
    transform: translateY(-270px);
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.2s;
}


/*MORE*/


.btnmore {
    font-size: 1vw;
    position: relative;
    width: 70%;
    padding: 2px !important;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6em;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    color: white;
    background-color: #6e825a;
    overflow: hidden;
    white-space: nowrap;
}


    .btnmore:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(192, 209, 174, 0.2);
    }

    .btnmore:active {
        transform: translateY(-1px);
        box-shadow: 0 5px 10px rgba(192, 209, 174, 0.2);
    }

    .btnmore::after {
        content: "";
        display: inline-block;
        height: 100%;
        width: 100%;
        border-radius: 100px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: all 0.4s;
        background-color: #d0b2ed;
    }

    .btnmore:hover::after {
        transform: scaleX(1.4) scaleY(1.6);
        opacity: 0;
    }
