
/* button */
.button{
    border: solid 3px var(--com-purple);
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 8px;
    border-radius: 3px;
    text-decoration: none;

    cursor: pointer;
}

.button > button{
    display: flex;
    padding: 12px 44px;

    background-color: var(--com-purple);
    color: white;
    border-radius: 2px;
    border: none;
    text-decoration: none;
    font-size: 24px;

    transition: .5s ease-out;
    cursor: pointer;

    white-space:nowrap;
}

.button > button > *{
    padding-left: 10px;
}

.button:hover{
    border: solid 3px var(--pri-sec-purple);
    transition: .5s ease-out;
}

.button > button:hover{
    background-color: var(--pri-sec-purple);
    transition: .5s ease-out;
}

@media (max-width: 767px){

    .button > button{
        padding: 12px 20px;
        font-family: Rufina;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
        letter-spacing: 0em;
        text-align: left;
    }

}

/* navbar */
.nav-box{
    height: 80px;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top:0;
    height: 80px;
    width: 100%;
    z-index: 100;

    box-shadow: 0px 8px 5px 0px var(--pri-purple);
    background-color: var(--pri-purple);
    border-bottom: 2px solid var(--gold);
    font-size: 20px;
    font-weight: 400;
}


/* logo */
nav h1.logo > a{
    background-image: url("../../img/logo-horizontal.svg");
    height: 50px;
    width: 206px;
    display: block;
    text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 2rem;
}


/* nav-list */
nav ul{
    display: flex;
    align-items: center;
    list-style: none;
    margin-right: 2rem;
    margin-left: 2rem;
    position: absolute;
    right: 0;
}

nav ul > li > a{
    display: block;
    text-decoration: none;
    margin-right: 2rem;
    padding-bottom: 1px;
    text-align: center;
    color: var(--gold);
}

nav ul > .about > a:hover, .news > a:hover, .divination > a:hover{
    border-bottom: solid 1px var(--gold);
}

nav .hambergur{
    display: none;
}

nav .nav-social{
    display: none;
}

@media (max-width: 767px) {

    nav{
        max-width: 100%;
        position: fixed;
        background-color: var(--pri-purple);
    }

    nav ul{
        background-color: var(--pri-sec-purple);
        width: 100%;  

        flex-direction: column;
        justify-content: center;
        align-items: center;

        position: fixed;
        transform: translateY(-1000%);
        transition: opacity 0.3s;
        opacity: 1;
        top: 80px;

        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
    }

    nav .gallery{
        margin: 1rem;
    }

    nav ul li a{
        margin: 2rem;
    }

    nav h1.logo > a {
        margin-left: 10%;
    }

    nav .hamburger{
        display: inline-block;
        cursor: pointer;
        position: fixed;
        top: 1rem;
        right: 1rem;
    }

    nav .nav-social{
        display: block;
        margin-top: 3rem;
    }

    .nav-menu.active{
        transform: translateY(0);
    }

    nav .bar1, .bar2, .bar3 {
        width: 35px;
        height: 2px;
        background-color: var(--gold);
        margin: 8px 0;
        transition: 0.4s;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-12px, 12px);
        transform: rotate(-45deg) translate(-10px, 10px);
      }
      
    .change .bar2 {opacity: 0;}
      
    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-6px, -6px);
        transform: rotate(45deg) translate(-4px, -4px);
      }


}

@media (max-width: 375px) {

    nav h1.logo > a {
        margin-left: 8%;
    }

    nav .hambergur{
        display: block;
        margin-right: 5%;
    }
}



/* gallery button */
.gallery{
    border: solid 2px var(--gold);
    border-radius: 2px;
}

.gallery a{
    margin: 8px;
    padding: 4px 24px;
    border-radius: 1px;
    transition: .5s ease-out;
}

.gallery a:hover{
    background-color: var(--gold);
    color: var(--pri-purple);
    transition: .5s ease-out;
}





