:root{
    --background-color: #4a4a4bee;
    --darker-background-color: #383838b3;
    --accent-color: #599b1639;
    --text-color: #FFFFFF;
    --navbar-height: 70px;
}

*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    font-family: Tahoma,Arial,sans-serif;
    color: var(--text-color);
    box-sizing: border-box;
    text-decoration: none;
}

html{
    height: 100%;
}

body{
    height: 100%;
    background-image: url(about/background_sep_gr.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

#page-container {
  position: relative;
  min-height: 91vh;
}

#content-wrap {
  padding-bottom: 2.5rem;
}

img.logo{
    position: relative;
    margin-left: 20px;
    padding-top: 8px;
    max-width: 230px;
}

nav{
    height: var(--navbar-height);
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    z-index: 1;
}
nav li{
    height: 100%;
    width: 120px;
    text-align: center;
    position: relative;
}
nav li:hover{
    background: var(--accent-color);
}
nav ul a{
    height: 100%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}
.dropdown{
    height: min-content;
    width: 200px;
    background: var(--background-color);

    display: none;
    flex-direction: column;

    position: absolute;
    left: 0;
    top: var(--navbar-height);
}
.dropdown li{
    height: 45px;
    width: 100%;
}
.dropdown li a{
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
}
nav li:hover .dropdown{
    display: flex;
}
nav input[type="checkbox"]{
    display: none;
}
.expandable_li{
    display: flex;
    justify-content: center;
    align-items: center;
}
.toggle_button{
    width: 20px;
    height: 20px;

    position: absolute;
    top: 23px;
    right: 25px;

    display: none;
    flex-direction: column;
    justify-content: space-between;
}
.bar{
    height: 1px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}

.main{
    height: 100%;
    width: 100%;
    position: relative;
}

.container{
    padding: 50px 30% 10px 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:left;
    align-items:start;
    z-index: -1;
}
.container a{
    color: #ffebfe;
}
.container a:hover{
    color: #fdcffc;
}

.container p{
    margin-top: 10px;
}

footer{
    text-align: center;
    padding: 10px;
    background-color: var(--background-color);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    font-size: 0.8em;
}
footer a{
    color: #ffebfe;
}
footer a:hover{
    color: #fdcffc;
}

@media (hover: none){
    .toggle_button{
        display: flex;
    }

    nav ul{
        height: min-content;
        width: 100%;
        background-color: #79797aee;

        display: none;
        position: absolute;
        top: var(--navbar-height);
        z-index: 1;

    }
    nav li{
        height: min-content;
        width: 100%;
    }

    nav ul a{
        padding: 30px 0;
    }

    .expandable_li{
        display: block;
    }

    .expandable_li label{
        padding: 30px 0;
        cursor: pointer;
        display: block;
    }

    .expandable_li:hover .dropdown{
        display: none;
    }

    .expandable_li input[type="checkbox"]:checked ~ .dropdown{
        display: block;
    }

    .dropdown{
        position: static;
        width: 100%;
    }

    .dropdown li{
        padding: 0;
        display: block;
        position: static;
        background: var(--darker-background-color);
    }

    .dropdown li a{
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    #toggle_button:checked ~ ul{
        display: block;
    }

    .main h2, .main p{
        z-index: -1;
    }
}

@media(max-width: 850px){
    .toggle_button{
        display: flex;
    }

    nav ul{
        height: min-content;
        width: 100%;
        background-color: var(--background-color);

        display: none;
        position: absolute;
        top: var(--navbar-height);

    }
    nav li{
        height: min-content;
        width: 100%;
    }

    nav ul a{
        padding: 30px 0;
    }

    .expandable_li{
        display: block;
    }

    .expandable_li label{
        padding: 30px 0;
        cursor: pointer;
        display: block;
    }

    .expandable_li:hover .dropdown{
        display: none;
    }

    .expandable_li input[type="checkbox"]:checked ~ .dropdown{
        display: block;
    }

    .dropdown{
        position: static;
        width: 100%;
    }

    .dropdown li{
        padding: 0;
        display: block;
        position: static;
        background: var(--darker-background-color);
    }

    .dropdown li a{
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    #toggle_button:checked ~ ul{
        display: block;
    }
    .container{
    padding: 50px 30% 20px 70px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:left;
    align-items:start;
    }
    .container p{
        margin-top: 10px;
    }
}

@media(max-width: 450px){
    .main h2{
        font-size: 1.2em;
        width: 80%;
    }
    .container{
    padding: 50px 20% 20px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:left;
    align-items:start;
    }
    .container p{
        margin-top: 8px;
    }
   
}
@media(max-width: 340px){
    img.logo{
    position:relative;
    margin-left: 20px;
    padding-top: 8px;
    max-width: 175px;
    }
}