/* 
---------- ▼ HEADER TAGS ▼ ---------- 
*/


header{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
}

/* 
---------- ▼ LOGO & SLOGAN ▼ ---------- 
*/

.logopack{
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}

.logo img{
    width: 300px;
    max-width: 100%;
}

.slogan img{
    display: block;
    width: 1000px;
    
}

/* 
---------- ▼ NAVIGATION ▼ ---------- 
*/

.navigation-btn{
    z-index: 999;
    border: solid 2px;
    border-radius: 10px;
    top: 0;
    left: 0;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--main-lightgray);
    padding: 0 50px;
}

.navigation{
    position: relative;
    line-height: 75px;
}

.navigation .menu{
    position: relative;
    display: flex;
    justify-content: center;
    list-style: none;
    user-select: none;
    align-items: center;
}

.menu-item > a{
    color: #000;
    font-weight: 600;
    font-size: 1.3em;
    text-decoration: none;
    margin: 0 20px;
    padding: 10px 0;
}

.menu-item > a:hover{
    color: gold;
    transition: 0.3s ease;
}

.activepage{
    font-weight: bold;
    color: gold !important;
}

.menu-item .sub-menu{
    border-left: solid 2px;
    border-right: solid 2px;
    border-bottom: solid 2px;
    position: absolute;
    align-items: center;
    background-color: var(--main-lightgray);
    top: 77px;
    line-height: 40px;
    list-style: none;
    border-radius: 0 0 5px 5px;
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: fade 0.3s;
    transition-property: transform, opacity;
}

.menu-item:hover .sub-menu{
    pointer-events: all;
    transform: translateY(0);
    opacity: 1;
}

.menu-item .sub-menu .sub-item{
    position: relative;
    padding: 5px 15px;
    cursor: pointer;
    text-align: center;
}

.menu-item .sub-menu .sub-item a{
    color: #fff;
    font-size: 1em;
    text-decoration: none;
    padding: 0px;
    text-align: center;
}

.menu-item .sub-menu .sub-item:hover{
    background-color: #636363;
    color: gold;
    transition: 0.3s;
}

.menu-item .sub-menu .sub-item:last-child:hover{
    border-radius: 0 0 5px 5px;
}

/* 
---------- ▼ BODY TAGS ▼ ---------- 
*/


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: poppins;
}

:root{
    --main-lightgray: #858585;
    --main-darkgray: #1E1E1E;
    --main-gray: #262626;
}

body{
    min-height: 100vh;
    background-image: url("/img/background.png");
    background-size: cover;
    background-attachment: fixed;
}

.highlighter{
    color: gold;
}

/* 
---------- ▼ CONTENT ▼ ---------- 
*/

.content{
    border: solid 2px;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 95%;
    margin: 0 auto;
    background-color: var(--main-lightgray);
}

.contentinner{
    padding: 70px 0;
    background-color: transparent;
    max-width: 90%;
}

.contentinner h2{
    font-size: 40px;
    text-align: center;
    margin-top: -50px;
}

.contentflex{
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 
---------- ▼ Story styles ▼ ---------- 
*/

.head-pic{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.head-pic img{
    border: solid 2px;
    border-radius: 50%;
    margin-top: 30px;
    max-width: 100%;
    width: 250px;
    height: 250px;
}

.head-pic p{
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    margin-top: 20px;
    text-decoration: underline;
}

.storybox-left{
    align-items: center;
    margin: 5px auto;
    max-width: 70%;
    width: 100%;
    height: 100%;
}

.storybox-left img{
    border: solid 2px;
    border-radius: 10px;
    height: 100%;
    float: left;
    margin: 0 10px;
    max-width: calc(100% - 20px);
}

.storybox-right{
    margin: 5px auto;
    max-width: 70%;
    width: 90%;
    height: 100%;
}

.storybox-right img{
    border: solid 2px;
    border-radius: 10px;
    height: 100%;
    float: right;
    margin: 0 10px;
    max-width: calc(100% - 20px);
}

.storytext{
    font-weight: 500;
    padding: 25px;
}

.storyline{
    border: solid 1px #fff;
    height: 0;
    width: 28%;
}

.buttonbox{
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 25px 0;
    gap: 25px;
}
/* 
---------- ▼ CARD ▼ ---------- 
*/

.card *{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.card{
    border: solid 2px;
    border-radius: 10px;

    width: 350px;
    background-color: #636363;
    padding: 10px;
    margin-top: 5%;
    max-width: calc(90% - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

/* 
---------- ▼ BUTTONS ▼ ---------- 
*/

.card-button{
    display: block;
    text-align: center;
    margin: 5px;
    padding: 5px 10px;
    background-color: var(--main-gray);
    color: gold;
    border: solid 2px black;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.card-button:hover{
    background-color: var(--main-lightgray);
    transition: 0.5s ease;
}


/* 
---------- ▼ FOOTER TAGS ▼ ---------- 
*/

/* 
---------- ▼ MOBILE VERSION ▼ ---------- 
*/

@media (max-width: 1163px){

    .navigation-btn{
        border: hidden;
    }

    .navigation .menu{
        border-left: solid 2px;
        border-bottom: solid 2px;
        border-radius: 0 0 0 10px;
        position: fixed;
        display: block;
        background: var(--main-lightgray);
        min-width: 350px;
        height: 100vh;
        top: 0;
        right: -100%;
        padding: 50px 70px;
        visibility: hidden;
        overflow-y: auto;
        transition: 0.5s;
        transition-property: right, visibility;
    }
    
    .navigation .menu.active{
        right: 0;
        visibility: visible;
    }

    .menu-item{
        position: relative;
    }

    .menu-item .sub-menu{
        border: hidden;
        opacity: 1;
        position: relative;
        top: 0;
        transform: translateX(10px);
        background: #565656;
        border-radius: 10px;
        overflow: hidden;
        display: none;
    }

    .menu-item:hover .sub-menu{
        transform: translateX(10px);
    }

    .menu-item .sub-menu .sub-item:hover{
        background: none;
    }

    .menu-item .sub-menu .sub-item a:hover{
        color: gold;
        transition: 0.3s;
    }

    .close-btn{
        position: absolute;
        background: url(/img/close.png)no-repeat;
        width: 40px;
        height: 40px;
        background-size: 25px;
        background-position: center;
        top: 0;
        left: 0;
        margin: 25px;
        cursor: pointer;
    }

    .logopack{
        position: relative;
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        background-color: transparent;
        color: #fff;
        padding: 10px 20px;
        flex-direction: row;
    }

    .menu-btn{
        background: url(/img/menu.png)no-repeat;
        border: solid 2px;
        border-radius: 5px;
        width: 40px;
        height: 40px;
        background-size: 30px;
        background-color: var(--main-lightgray);
        background-position: center;
        cursor: pointer;
        padding: 10px 20px;
    }

    .slogan img{
        display: none;
    }

    .logo img{
        max-width: 100px;
        flex: 0;
    }
}
