@font-face {
    font-family: Oktober;
    src: url("res/oktober_text.otf");
}
@font-face {
    font-family: Horizon;
    src: url("res/Horizon-updated/NEW UPDATED VERSION/horizon.otf");
}

.nav-button{
    font-family: Horizon;
    font-size: 24px;
}
.title{
    font-family: Horizon;
    font-size:24px;
    font-weight: bold;
    color: rgb(255, 255, 255);
}
@media (min-width: 40em) {
    .title{
        font-size: 48px;
    }
}

/* base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a {
    color: white;
}
a:visited {
    color: white;
}
a:hover {
    color: #fff4c4;
}

body {
    background-image: url('res/gradient\ \(1\).png');
}


/* off-screen-menu */
.off-screen-menu {
    background-color:  rgba(34, 37, 49, 60%);
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    z-index: 9;
}
.off-screen-menu.active {
    right: 0;
}

/* nav */
nav {
    padding: 1rem;
    display: flex;
    background-color: #202020
}

/* ham menu */
.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
    z-index: 10;

}
.ham-menu span {
    height: 3px;
    width: 50%;
    background-color: rgb(255, 255, 255);
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 20%;
}
.ham-menu span:nth-child(3) {
    top: 60%;
}
.ham-menu.active span {
    background-color: rgb(255, 255, 255);
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (min-width: 40em) {
    .ham-menu span{
        height: 5px;
        width: 100%;
        top: 50%;
    }
    .ham-menu span:nth-child(1) {
        top: 25%;
    }
    .ham-menu span:nth-child(3) {
        top: 75%;
    }
}

.content{
    font-family: Montserrat;
    text-align: center;
    color: rgb(255, 247, 232);
    margin: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.699);
    line-height: 24px;
    font-size: 18px;
}
.content h1{
    font-size: 24px;
    font-family: Horizon;
    color: rgb(255, 247, 232);
    text-shadow: 4px 4px 4px rgb(27, 27, 27);
}
