*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
}
body{
    background-color: #6b9bff;
}
h1 {
    font-family: 'Cooper Black', monospace;
    font-size: 4rem;
    margin-bottom: 10px;
}

p {
    font-family: 'Cooper Black', monospace;
    font-size: 2rem;
    margin-top: 0;
}
a {
    color:chocolate;
    font-family: 'Cooper Black', monospace;
}
nav{
    height: 54px;
    background-color: #6b9bff;
    font-family: 'Cooper Black', monospace;
    margin-top: 0;
}
nav ul{
    list-style: none;
    display: flex;
}
nav .home-li{
    margin-right: auto;
}
nav li{
    display:flex;
}
nav a{
    display: flex;
    text-decoration: none;
    color: #2c3459;
    padding:1em 2em;
    transition: background-color 150ms ease;
}
nav a:hover{
    background-color:#99baff;
}
nav a.active-link{
    border-bottom: 3px solid #2c3459;
}
#open-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding:1em;
    margin-left: auto;
    cursor:pointer;
}
#close-sidebar-button{
    display: none;
    background: none;
    border:none;
    padding: 1em;
    cursor: pointer;
}
#overlay{
    background:rgba(0, 0, 0, 0.5);
    position: fixed;
    inset:0;
    z-index:9;
    display: none;
}
@media screen and (max-width:700px){
    #open-sidebar-button{
        display: block;
        padding:5px;
    }
    
    nav{
        position:fixed;
        top:30px;
        right:-100%;
        height: calc(100vh - 60px);
        width:60%;
        z-index: 10;
        border-left:1px solid #99baff;
        transition: right 300ms ease-out;
    }
    nav.show{
        right: 0;
    }
    nav ul{
        width:100%;
        flex-direction:column;
    }
    nav a{
        width: 100%;
        padding-left: 2.5em;
    }
    nav a.active-link{
        border-bottom: none;
    }
    nav .home-li{
        margin-right:unset;
    }
    #close-sidebar-button{
        display: block;
    }
    #overlay.show{
        display: block;
    }
}
.background-image {
    background-image: url(./bilder/day1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 1080px;
    position: relative;
}
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

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