@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    font-family: "Rubik", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    
    font-size: 30px;
    font-weight: 450;
    margin: 0;
    padding: 0;
    background-image: url(../img/background.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

* {
    text-decoration: none;
    list-style: none;
}

header {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

nav {
    background-color: rgb(20, 66, 62);
    display: flex;
    justify-content:space-between;
    width: 100%;
    padding: -5px;
    position: fixed;
    top: 0px;
}

nav ul {
    display: flex;
    align-items: center;
    padding: -5px;
    margin: 1px;
}

nav ul li:hover {
    background-color: rgb(16, 112, 119);
    transition: 0.3s;
    cursor: pointer;
}

.active {
    background-color: black;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul li, nav ul li *{
    color: white;
    padding: 20px;
    margin: 2px;
    font-size: x-large;
}

.content {
    position: relative;
    z-index: 1; 
    color: white;
    padding: 0px;
    margin: 0px;
}

nav {
    z-index: 1;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

footer {
    background-color: rgb(20, 66, 62);
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}
