@font-face {
    font-family: OpenSans;
    src: url(../static/OpenSans-VariableFont_wdth,wght.ttf);
}
@font-face {
    font-family: Georgia;
    src: url(../static/georgia.ttf);
}
:root {
    --main-color: #74c69d;
    --text: #2d6a4f;
    --button: #428064;
    --link-active: #262626;
    --link: #7e7e7e;
    --link-hover: var(--text);
    --bg: #BDE5E8;
    --light-bg: #d8f3dc;
    --gray: #858585;
    --sans-serif: OpenSans, Sans-Serif;
    --serif: Georgia, serif;
}
::selection {
    background-color: var(--main-color);
    color: var(--text);
}
* {
    margin: 0;
    padding: 0;
    font-family: inherit;
}
html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    background-image: url("/static/bg.svg");
    background-color: var(--bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
    color: var(--text);
    overflow: initial;
}
a:visited,
a:active,
a:focus,
a:hover,
a {
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}
a:hover {
    color: rgb(245, 255, 203);
    text-decoration: underline;
}
#nav {
    display: flex;
    width: 70%;
    height: auto;
    padding: 2rem 15%;
    margin: 0;
    z-index: 99;
    justify-content: space-between;
    align-items: center;
}
#nav-title {
    font-family: var(--serif);
    font-size: 4rem;
    font-weight: bold;
    color: var(--text);
    width: auto;
    padding: 0 auto 0 0;
    margin: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}
.dropbtn {
    background-color: var(--button);
    color: white;
    padding: 1rem;
    height: 4rem;
    width: 4rem;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.dropbtn:hover, .dropbtn:focus {
    background-color: var(--text);
}
#language-button {
    font-family: var(--sans-serif);
    font-size: 2rem;
    margin-left: 1rem;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
#active {
    background-color: var(--main-color);
}
.dropdown-content a {
    font-size: 1.8rem;
    color: black;
    padding: 1rem;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {background-color: #d0d0d0;}
.show {display:block;}
img {
    width: 6rem;
    height: 6rem;
    margin-left: 2rem;
}
#language-button {
    right: 0;
}
@media screen and (max-width: 1000px) {
    html {
        font-size: 56.25%;
    }
    #nav {
        width: 80%;
        padding: 2rem 10%;
    }
    #front {
        width: 80%;
        margin: 0 10%;
    }
}
@media screen and (max-width: 500px) {
    html {
        font-size: 50%;
    }
    #nav {
        width: 90%;
        padding: 2rem 5%;
    }
    #front {
        width: 90%;
        margin: 0 5%;
    }
}
@media screen and (max-width: 300px) {
    html {
        font-size: 43.75%;
    } 
}
