@import "STY-branding.css";
@import "STY-text.css";
@import "STY-buttons-elements.css";
@import "STY-sections.css";
@import "STY-modal.css";

/* ------------------------------------ */
body {
    margin: 0;
    padding: 0;
    background-color: var(--100);
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    font-family: 'Spinnaker', sans-serif;
    position: relative;
}
a {
    text-decoration: none;
    cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--100);
}
::-webkit-scrollbar-thumb {
    background: var(--700);
}
.nodisplay {display: none;}

/* a tag in NAV with p */
.nav-a {margin: 0px 40px}

/* ----------------------------------------------------------- PAGE */
.page {
    width: 100%;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center;
    position: relative;
}
.page-account {
    width: 100%;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center;
    padding: 60px 0px 0px 60px; box-sizing: border-box;
    position: relative;
}

/* ----------------------------------------------------------- HEADER - top nav */
.header {
    width: 100%;
    height: 60px;
    background-color: var(--100);
    display: flex; flex-direction: column;
    position: fixed;
    top: 0;
    z-index: 100;
}

.nav-top-guest {
    width: 100%; height: 100%;
    display: flex; flex-direction: row; justify-content: right; align-items: center;
}

/* ----------------------------------------------------------- HEADER - account */
.header-account-top {
    width: 100%; height: 60px;
    background-color: var(--100);
    display: flex; flex-direction: column;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header-account-side {
    width: 60px; height: 100vh;
    background-color: var(--100);
    display: flex; flex-direction: row;
    position: fixed;
    top: 0;
    z-index: 101;
}

.nav-top-account {
    width: calc(100%-60px); height: 100%;
    display: flex; flex-direction: row; justify-content: left; align-items: center;
    margin-left: 100px;
}
.nav-side-account {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: right; align-items: center;
}

.header-account-top-media, .header-account-bootom-media, .nav-top-account-media, .nav-bootom-account-media {display: none;}

/* ----------------------------------------------------------- FOOTER*/
.footer {
    width: 100%;
    background-color: var(--100);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 40px 0px 40px 0px; box-sizing: border-box;
}

/* ----------------------------------------------------------- PAGINATIONS - per page*/
.pagination {
    width: 90%;
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    margin: 20px 0px 40px 0px;
}
.pagination a {
    margin: 0 5px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
}
.pagination .active {
    font-weight: bold;
    font-size: 15px;
}
.pagination-icon {
    width: 32px; height: 32px;
    fill: var(--text-dark);
    margin: 0 5px -4px 5px;
}
.rotate180 {rotate: 180deg;}

/* ----------------------------------------------------------- COOKIE modal*/
@keyframes cookieModal {
    0% {margin-bottom: -100%}
    50% {margin-bottom: -100%}
    100% {margin-bottom: 0px;}
}

.modal-cookie {
    width: calc(100vw - 10px);
    padding: 40px 40px;
    box-sizing: border-box;
    background-color: var(--200);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: fixed;
    bottom: 0;
    z-index: 200;
    animation-name: cookieModal;
    animation-duration: 4s;
}
.cookie-l {
    width: 50%;
    padding: 20px 20px 0px 20px; box-sizing: border-box;
    display: flex; justify-content: right;
}
.cookie-r {
    width: 50%;
    padding: 20px 20px 0px 20px;; box-sizing: border-box;
    display: flex; justify-content: left;
}


/* ----------------------------------------------------------- @media */

@media only screen and (max-width: 600px) {
    .page-account {padding: 80px 0px 0px 0px}
    .header-account-top, .header-account-side {display: none;}
    .nav-a {margin: 0px 30px}
    .header-account-top-media {
        width: 100%; height: 80px;
        background-color: var(--100);
        display: flex; flex-direction: column;
        position: fixed;
        top: 0;
        z-index: 100;
    }
    .header-account-bootom-media {
        width: 100%; height: 80px;
        background-color: var(--100);
        display: flex; flex-direction: column;
        position: fixed;
        bottom: 0;
        z-index: 100;
    }
    .nav-top-account-media {
        width: 100%; height: 100%;
        display: flex; flex-direction: row; justify-content: left; align-items: center;
        padding: 0px 20px;
    }
    .nav-bootom-account-media {
        width: 100%; height: 100%;
        display: flex; flex-direction: row; justify-content: space-evenly; align-items: center;
    }
}

@media only screen and (max-width: 400px) {
    .nav-top-account-media {padding: 0px 10px;}
    .nav-a {margin: 0px 20px}
}