* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif ;
}

body {
    background-image: url("../img/backgroundTexture.jpg");
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 15vmax;
}

.title-font {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.7rem;
    font-weight: 900;
  }  

.main-nav {
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    height: 64px;
    top: 0;
    font-size: 1.2rem;
    background: #0f0f0f;
    border: 4px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom left, #ff5f15 0%, #0f0f0f 30%, #0f0f0f 70%, #ff5f15 100%);
}
    
.main-nav__container {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    height: inherit;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

#main-nav__logo {
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    background-clip: text;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    background-image: linear-gradient(to top right, #ff5f15 0%, #0f0f0f 110%);
    padding-top: 3px;
}

.main-nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.main-nav__item {
    justify-content: center;
    padding: 0 0.4rem;
}

.main-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.2rem 1.3rem;
    height: 100%;
    color: #ffffff;
    font-weight: 600;
    outline: 3px #692e12 solid;
    border: none;
    border-radius: 20px;
}

.main-nav__links:hover {
    background: #3f3f3f;
    outline: 3px #ff5f15 solid;
    transition: all 0.2s ease-in-out;
    color: #ffff00;
    font-weight: 500;
    text-decoration: underline;
}

.main-nav__button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    padding: 2px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 25px;
    background-image: linear-gradient(to top right, #0f0f0f -10%, #ff5f15 110%);
    color: #ffffff;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
}

.button:hover {
    text-decoration: underline;
    outline: 4px #ff5f15 solid;
    font-weight: 900;
    color: #ffff00;
    background-image: linear-gradient(to bottom right, #0f0f0f -10%, #ff5f15 110%);
    transition: all 0.2s ease;
}

@media screen and (max-width: 1080px) {
    .main-nav__container {
        display: flex;
        justify-content: space-between;
        height: 64px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }
    .main-nav__menu {
        display: grid;
        grid-template-columns: auto;
        background: #0f0f0f;
        margin: 1.6rem auto;
        width: 100%;
        position: absolute;
        top: -1000%;
        opacity: -1;
        transition: all 0.5s ease;
        height: 50vh;
        min-height: 400px;
        z-index: -1;
        padding: 1rem;
    }
    .main-nav__menu.active {
        background: #0f0f0f;
        top: 70%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }
    #main-nav__logo {
        padding-left: 25px;
    }
    .main-nav__toggle .bar {
        width: 25px;
        height: 4px;
        margin: 5px auto;
        transition: all 0.5s ease-in-out;
        background: #ffffff;
    }
    .main-nav__item {
        width: 100%;
    }
    .main-nav__links {
        text-align: center;
        padding: 0.8rem;
        width: 100%;
        display: table;
    }
    #mobile-menu {
        position: absolute;
        top: 14px;
        right: 32px;
    }
    .main-nav__button {
        padding-bottom: 0.1rem;
    }
    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        height: 48px;
        margin: 0;
    }
    .main-nav__toggle .bar{
        display: block;
        cursor: pointer;
    }
    #mobile-menu.is-active .bar:nth-child(2){
        opacity: 0;
    }
    #mobile-menu.is-active .bar:nth-child(1){
        transform: translateY(9px) rotate(45deg);
    }
    #mobile-menu.is-active .bar:nth-child(3){
        transform: translateY(-9px) rotate(-45deg);
    }
}