* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-image: linear-gradient(rgb(0, 111, 0), rgb(152, 152, 2));
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-button {
    display: none;
}

body {
    background: #f3e9c8 top center no-repeat;
    background-size: cover;
    font-family: Georgia, Arial, sans-serif !important;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    color: #403b34 !important;
    height: 100vh;
    overflow-x: hidden;
}

#bgimg {
    position: absolute;
    z-index: -1;
}

#header {
    display: flex;
    flex-direction: column;
    padding: .8em;
}

#title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 22em;
}

#title h1 {
    color: #403b34;
    font-weight: 500;
}

#menu {
    display: flex;
    justify-content: center;
    width: 100%;
}

#menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1em;
}

#menu ul li {
    margin: 0 1em;
}

#menu ul li:nth-child(even) {
    font-weight: normal;
    opacity: .3;
}

#menu ul li a {
    color: #403b34;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu ul li a:hover {
    color: #2d2a26;
    text-decoration: underline;
}

#menu ul li:nth-child(7) a:hover {
    color: #2d2a26;
    text-decoration: none;
}

#menu ul li:nth-child(7) a:after {
    content: '';
    background-image: linear-gradient(transparent 90%,green);
    display: block;
    width: 5em;
    height: 1.5em;
    position: absolute;
    z-index: -1;
}

#burgermenu {
    display: none;
}

#cross {
    display: none;
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70em;
    padding: 2em;
    padding: 4em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#flower {
    display: grid;
    place-items: center;
    position: relative;
}

#flower img {
    grid-area: 1 / 1;
}

#flower img:nth-child(3) {
    display: none;
}

#flower div {
    grid-area: 1 / 1;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1em;
    padding-left: 2em;
    padding-right: 2em;
    font-size: 4em;
}

#opis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 90%;
    margin-top: 3em;
    color: #403b34;
}

#opis p {
    width: 100%;
    text-align: justify;
    font-size: 18px;
}

#opis #ponudba {
    width: 70%;
}

#opis #ponudba .ponudbe {
    width: 100%;
    outline: none;
    background-color: transparent;
    margin-top: 2em;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 2px solid rgba(0, 0, 0, .3);
    padding: 1em;
    border-radius: .5em;
    cursor: pointer;
    transition: .3s ease;
    font-family: Georgia, Arial, sans-serif !important;
}

#opis #ponudba .ponudbe:hover {
    transform: scale(1.01);
}

#opis #ponudba .ponudbe img {
    max-height: 10em;
}

#opis #ponudba .ponudbe div {
    display: flex;
    flex-direction: column;
    border: none;
    margin-top: 0;
    width: 50%;
}

#opis #ponudba .ponudbe {
    position: relative;
}

#opis #ponudba form .ponudbe input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 8em;
    padding: 1em;
    width: 100%;
    margin-bottom: 2em;
    margin-top: 4em;
}

#footer #sp {
    font-weight: bold;
    opacity: .6;
}

#footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
}

#footer div p {
    margin: 0 0.5em;
    opacity: 0.8;
}

#footer div p a {
    text-decoration: none;
    color: #403b34;
}

::selection {
    background-color: #2d2a26;
    color: white;
}

/*Tablet*/

@media (max-width: 1000px) {
    #burgermenu {
        display: block;
        background-color: rgb(0, 88, 0);
        width: 2em;
        height: 2em;
        transform: rotate('90deg');
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: bold;
        color: white;
        transform: rotate(90deg);
        cursor: pointer;
        font-size: 1.2em;
        position: absolute;
        left: .5em;
    }

    #menu {
        height: 30em;
        position: fixed;
        background-image: linear-gradient(rgb(14, 62, 14),rgb(2, 87, 2));
        max-width: 100%;
        top: -30em;
        left: 0;
        z-index: 10;
        transition: .3s ease-in;
    }

    .active {
        transform: translateY(30em);
    }

    #menu ul {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 90%;
    }

    #menu ul li a{
        color: white;
    }

    #menu ul li:nth-child(even){
        display: none;
    }

    #cross {
        position: absolute;
        bottom: 1em;
        transform: rotate(90deg);
        display: block;
        font-weight: bold;
        color: white;
        cursor: pointer;
        font-size: 1.2em;
    }
}


/*Phone*/

@media (max-width: 500px) {
    #bgimg {
        display: none;
    }

    #title {
        display: flex;
        justify-content: center;
    }

    #title img {
        position: absolute;
        right: 5%;
        display: none;
    }

    #title h1{
        font-size: 1.5em;
        width: 100%;
        text-align: center;
    }

    #container {
        max-width: 100%;
        padding: 3em;
    }

    #flower {
        position: relative;
        max-width: 100%;
        margin-top: 3em;
    }
    
    #flower img {
        width: 100%;
        height: auto;
    }
    
    #flower div {
        position: absolute;
        top: 0; 
        left: 0; 
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.3); 
    }
    
    #flower div p {
        font-size: .6em;
        margin: 0;
        padding: 0;
        display: inline-block;
        white-space: normal;
        color: white;
    }
    

    #flower img:nth-child(3) {
        display: block;
    }

    #opis {
        flex-direction: column;
        width: 110%;
        margin-top: 5em;
    }

    #opis #ponudba {
        width: 110%;
        margin: 0;
    }

    #opis #ponudba .ponudbe img{
        max-width: 7em;
    }

    #opis #ponudba .ponudbe:nth-child(odd) div p{
        text-align: end;
        margin-top: 1em;
        font-size: .9em;
    }

    #opis #ponudba .ponudbe:nth-child(odd) div h1{
        text-align: end;
        font-size: 1.5em;
    }

    #opis #ponudba .ponudbe:nth-child(even) div p{
        text-align: start;
        margin-top: 1em;
        font-size: .9em
    }

    #opis #ponudba .ponudbe:nth-child(even) div h1{
        text-align: start;
        font-size: 1.5em;
    }

    #footer {
        max-width: 100%;
        height: 30em;
        margin-bottom: 1em;
        flex-direction: column;
        z-index: 10;
        margin-top: 1em;
    }

    #footer p {
        margin: 0;
        margin-bottom: 1em;
    }

    #footer img {
        display: none;
    }

    #footer div {
        flex-direction: column;
        height: 7em;
        justify-content: space-between;
        margin: 0;
        position: relative;
    }

    #footer div p:nth-child(even) {
        display: none;
    }
}