* {
    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(1) a:hover {
    color: #2d2a26;
    text-decoration: none;
}

#menu ul li:nth-child(1) a:after {
    content: '';
    background-image: linear-gradient(transparent 90%,green);
    display: block;
    width: 4em;
    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.5);
    padding: 2em;
    width: 30em;
    margin-left: 23em;
    border-radius: .3em;
}

#opis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50em;
    margin-top: 3em;
    color: #403b34;
}

#opis img {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.483);
    margin-bottom: 1em;
}

#opis p {
    width: 30em;
    text-align: justify;
    font-size: 18px;
}

#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;
}

#obvestila {
    width: 50em;
    height: auto;
    margin: 5em;
    padding: 1em;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.obvestilo {
    width: 100%;
    margin-top: 1em;
    padding: 1em;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.081);
    border-radius: .4em;
}

::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;
        align-items: 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: 2em;
    }

    #flower {
        max-width: 100%;
        margin-top: 3em;
    }

    #flower div{
        position: absolute;
        margin: 0;
        max-width: 100%;
        background-color: rgba(0, 0, 0, 0.3);
    }

    #flower img {
        display: none;
    }

    #flower img:nth-child(3) {
        display: block;
        max-width: 100%;
    }

    #opis {
        flex-direction: column;
        max-width: 100%;
    }

    #opis p {
        margin-top: 1em;
        max-width: 100%;
        margin-bottom: 2em;
    }

    #obvestila {
        max-width: 95%;
    }

    #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;
    }
}