:root{
    --background-color: #0a0084;
    --primary-color: #1303c3;
    --secondary-color: #d3fe28; 
    --border-color: #f7fdfd;
    --text-color: #f7fdfd;
}

@font-face {
    font-family: "Mongolian Baiti";
    src: url(../fonts/monbaiti.ttf);
}

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

body, html{
    font-family: "Mongolian Baiti";
    background-color: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    height: 15vh;
    box-shadow: 10px 20px 50px rgb(0, 22, 103);
    background-color: var(--primary-color);
    font-size: 0.8rem;
}

.title{
    font-size: 1.6rem;
    margin-left: 1vw;
    border-bottom: var(--border-color) solid 2px;
    padding: 5px;
    color: var(--text-color)
}

.title p{
    color: rgba(255, 255, 255, 0.67);
}

.title-nav{
    font-size: 1.8rem;
}

.title-nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 2.5vw;
    margin-right: 2.5vw
}

.main-page{
    display: flex;
    flex-direction: column;
    padding: 5rem;
    height: 85vh;
    justify-content: center;
    align-items: center;
    gap: 20vh;
    position: relative;
    overflow: hidden;
}

.cutscene-background{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
}

.main-page button{
    font-size: 1.2rem;
    width: 10vw;
    height: 7.5vh;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.main-page button:hover{
    background-color: var(--secondary-color);
    color: black;
    border: black solid 2px;
    cursor: pointer;
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

a{
    color: var(--text-color);
    text-decoration: none;
}

a:hover{
    color: var(--secondary-color)
}

.site-name{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8vh;
}

.site-name img{
    width: 200px;
}

.site-name span{
    font-size: 5rem;
}

.site-name p{
    color: rgba(255, 255, 255, 0.67);
}

.main-page .site-name,
.main-page button {
    z-index: 1;
    position: relative;
}

.persona-page{
    display: flex;
    justify-content: center;
    height: 100vh;
    padding: 2rem;
    gap: 2.5vw;
    flex-wrap: wrap;
    margin-bottom: 2.5vh;
}

.persona-page a{
    color: none;
    text-decoration: none;
}

.persona{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    height: 45vh;
    width: 20vw;
    background-color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.persona:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.persona img{
    max-height: 50%;
    border-radius: 5px;
    background-color: #0d0097;
    padding: 10px;
}

.persona span{
    text-align: left;
}

.persona-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-left: solid var(--border-color) 5px;
    padding: 10px;
    gap: 5px;
}

.persona-info a{
    text-decoration: none;
}

.persona-info span{
    font-size: 1.6rem;
}

.persona-options{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.persona-options button{
    height: 50px;
    width: 12.5vw;
    border: white solid 4px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: 0.75s ease;
}

.persona-options button:hover{
    cursor: pointer;
    border-color: var(--secondary-color);
    transition: 0.75s;
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem 0 2.5rem;
    font-size: 1.4rem;
}

.sort-bar select {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: var(--border-color) solid 2px;
    border-radius: 10px;
    padding: 0.4rem 1rem;
    font-size: 1.2rem;
    font-family: "Mongolian Baiti";
    cursor: pointer;
    transition: 0.3s ease;
}

.sort-bar select:hover {
    border-color: var(--secondary-color);
}

.sort-bar select option {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.search-bar {
    display: flex;
    justify-content: center;
    padding: 2rem 2.5rem 0 2.5rem;
}

.search-bar input {
    width: 40vw;
    height: 6vh;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: var(--border-color) solid 2px;
    border-radius: 25px;
    padding: 0 1.5rem;
    font-size: 1.2rem;
    font-family: "Mongolian Baiti";
    outline: none;
    transition: 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--secondary-color);
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.shopping-cart{
    width: 50px;
    height: 50px;
    background-image: url(../img/white-shopping.png);
    background-size: cover;
    transition: 0.75s ease;
}

.shopping-cart:hover{
    background-image: url(../img/green-shopping.png);
    transition: 0.75s;
}

.weapon-page{
    display: flex;
    justify-content: center;
    height: 100vh;
    padding: 2rem;
    gap: 2.5vw;
    flex-wrap: wrap;
    margin-bottom: 2.5vh;
}

.weapon-page a{
    color: none;
    text-decoration: none;
}

.weapon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    height: 45vh;
    width: 20vw;
    background-color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.weapon:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.weapon img{
    max-height: 50%;
    max-width: 100%;
    border-radius: 5px;
    background-color: #0d0097;
    padding: 10px;
}

.weapons-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-left: solid var(--border-color) 5px;
    padding: 10px;
    gap: 5px;
}

.weapons-info a{
    text-decoration: none;
}

.weapons-info span{
    font-size: 1.6rem;
}

.weapons-options{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.weapons-options button{
    height: 50px;
    width: 12.5vw;
    border: white solid 4px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: 0.75s ease;
}

.weapons-options button:hover{
    cursor: pointer;
    border-color: var(--secondary-color);
    transition: 0.75s;
}

.attendant-page{
    display: flex;
    flex-direction: row;
    padding: 5rem;
    height: 85vh;
    align-items: center;
    gap: 20vh;
}

.attendant-description{
    width: 32.5vw;
    font-size: 1.6rem;
}

.attendant-description h1{
    border-top: var(--border-color) inset 3px;
    border-right: var(--border-color) inset 3px;
    padding: 5px;
}

.product-page{
    display: flex;
    flex-direction: row;
    padding: 5rem;
    height: 85vh; 
    justify-content: space-between;
}

.product-display{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    height: 60vh;
    width: 40vw;
    border-radius: 5px;
}

.product-display img{
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
}

.product-description{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60vh;
    width: 40vw;
}

.product-description header{
    border-bottom: white 2px solid;
    padding-bottom: 2px;
}

.description{
    margin-top: 2vh;
}

.description ul{
    list-style: none;
    line-height: 2.5vh;
}

.description p{
    line-height: 3vh;
}

.product-arcana{
    font-size: 1.2rem;
}

.product-type{
    font-size: 1.4rem;
}

.weapon-stats{
    font-size: 1.4rem;
}

.description-about{
    font-size: 1.4rem;
}

.description-options{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.description-options button{
    height: 10vh;
    width: 25vw;
    border: white solid 4px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.4rem;
    transition: 0.5s ease;
}

.description-options button:hover{
    cursor: pointer;
    background-color: var(--secondary-color);
    color: black;
    border-color: black;
    transition: 0.5s ease;
}

.shopping-cartdesc{
    width: 50px;
    height: 50px;
    background-image: url(../img/white-shopping.png);
    background-size: cover;
    transition: 0.5s ease;
}

.shopping-cartdesc:hover{
    background-image: url(../img/green-shopping.png);
    transform: scale(1.5);
    transition: 0.5s;
}

.cart-feedback{
    opacity:0;
    transition: opacity 0.5s ease;
    color: white;
    font-size: 1.2rem;
    user-select: none;
}

.footer{
    display: flex;
    height: 7.5vh;
    background-color: var(--primary-color);
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.persona-page p, .main-page p, .product-page p{
    font-size: 1.4em;
}

.cart-page{
    display: flex;
    flex-direction: column;
    height: 75vh;
}

.cart-title{
    display: flex;
    align-items: end;
    font-size: 2.5em;
    border-bottom: var(--border-color) solid 2px;
    height: 10vh;
    width: 100vw;
    padding-left: 2vw;
    padding-bottom: 1vh;
}

.cart-info{
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 75vh;
    width: 100vw;
    padding: 2.5vh 0px 2.5vh 0px;
    gap: 2vh;
    overflow: scroll;
}

.cart-product{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 15vh;
    width: 50vw;
    background-color: var(--primary-color);
    border-radius: 50px;
    padding: 0px 30px 0px 30px;
    gap: 2vw;
}

.cart-product img{
    border: solid var(--border-color) 2px;
    border-radius: 10px;
    height: 80%;
    padding: 5px;
}

.cart-description{
    display: flex;
    flex-direction: column;
    gap: 2vh;
    text-align: center;
}

.cart-producttitle{
    font-size: 1.4em;
}

.cart-productarcana{
    font-size: 1.2em;
}

.cart-productcost{
    font-size: 1.2em;
}

.cart-productbutton{
    height: 10vh;
    width: 10vw;
    border: white solid 4px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: 0.5s ease;
}

.cart-productbutton:hover{
    cursor: pointer;
    background-color: var(--secondary-color);
    color: black;
    border-color: black;
    transition: 0.5s ease;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-total{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 10vh;
}

.total-price{
    display: flex;
    gap: 5px;
    font-size: 1.4rem;
}

.checkout-btn{
    height: 10vh;
    width: 25vw;
    border: white solid 4px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.4rem;
    transition: 0.5s ease;
}

.checkout-btn:hover{
    cursor: pointer;
    background-color: var(--secondary-color);
    color: black;
    border-color: black;
    transition: 0.5s ease;
}

.quantity-display {
    font-size: 1.6rem;
    min-width: 2ch;
    text-align: center;
}

.quantity-btn {
    height: 40px;
    width: 40px;
    border: white solid 3px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--text-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background-color: var(--primary-color);
    border: var(--secondary-color) solid 3px;
    border-radius: 20px;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-box h2 {
    font-size: 2.5rem;
    border-bottom: var(--border-color) solid 2px;
    padding-bottom: 0.5rem;
    width: 100%;
}

.modal-box p {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.modal-box button {
    height: 8vh;
    width: 20vw;
    border: white solid 4px;
    border-radius: 15px;
    background-color: transparent;
    color: var(--text-color);
    font-size: 1.4rem;
    font-family: "Mongolian Baiti";
    cursor: pointer;
    transition: 0.5s ease;
}

.modal-box button:hover {
    background-color: var(--secondary-color);
    color: black;
    border-color: black;
}

.secret-background{
    height: 85vh;
    width: 100vw;
    background-image: url(../img/velvet-room-background.png);
    background-size: cover;
    opacity: 0.1;
    position: absolute;
}

.secret-page{
    display: flex;
    flex-direction: row;
    padding: 5rem;
    height: 85vh;
    justify-content: center;
    text-align: center;
}

.secret-secret{
    opacity: 0.1;
}




@keyframes modalIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-overlay.show:not(.modal-box) {
    cursor: pointer;
}


/* voor de tablet op 1024px */
@media (max-width: 1024px) {
    .persona {
        width: 28vw;
    }

    .persona-options button {
        width: 18vw;
    }

    .main-page button {
        width: 18vw;
    }

    .product-page {
        gap: 2rem;
    }

    .product-display {
        width: 45vw;
    }

    .product-description {
        width: 45vw;
    }

    .weapon {
        width: 28vw;
    }

    .weapons-options button {
        width: 18vw;
    }

    .cart-product {
        width: 75vw;
    }

    .cart-productbutton {
        width: 15vw;
    }

    .checkout-btn {
        width: 40vw;
    }

    .modal-box button {
        width: 30vw;
    }

    .search-bar input {
        width: 60vw;
    }
}

/* voor mobiel op 768px */
@media (max-width: 768px) {

    .hero {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 0.75rem;
        text-align: center;
    }

    .title {
        margin-left: 0;
        border-bottom: none;
        border-top: var(--border-color) solid 2px;
        padding-top: 0.5rem;
    }

    .title-nav {
        font-size: 1.1rem;
        width: 100%;
    }

    .title-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem 1.5rem;
        margin-right: 0;
        padding-bottom: 0.5rem;
    }

    .main-page {
        height: auto;
        min-height: 85vh;
        padding: 3rem 1.5rem;
        gap: 8vh;
    }

    .site-name span {
        font-size: 2.8rem;
        text-align: center;
    }

    .site-name p {
        text-align: center;
        padding: 0 1rem;
    }

    .main-page button {
        width: 55vw;
        height: 6.5vh;
        font-size: 1.1rem;
    }

    .search-bar {
        padding: 1.5rem 1rem 0 1rem;
    }

    .search-bar input {
        width: 90vw;
        height: 5.5vh;
        font-size: 1rem;
    }

    .sort-bar {
        padding: 1rem 1rem 0 1rem;
        font-size: 1.1rem;
        flex-wrap: wrap;
    }

    .sort-bar select {
        font-size: 1rem;
    }

    .persona-page {
        height: auto;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        justify-content: center;
    }

    .persona {
        width: 80vw;
        height: auto;
        padding: 1.25rem;
    }

    .persona img {
        max-height: 200px;
        width: auto;
    }

    .persona-options button {
        width: 55vw;
        height: 48px;
        font-size: 1rem;
    }

    .shopping-cart {
        width: 44px;
        height: 44px;
    }

    .weapon-page {
        height: auto;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        justify-content: center;
    }

    .weapon {
        width: 80vw;
        height: auto;
        padding: 1.25rem;
    }

    .weapon img {
        max-height: 200px;
        width: auto;
    }

    .weapons-options button {
        width: 55vw;
        height: 48px;
        font-size: 1rem;
    }

    .product-page {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 2rem 1.25rem;
        gap: 2rem;
    }

    .product-display {
        width: 90vw;
        height: 40vh;
    }

    .product-description {
        width: 90vw;
        height: auto;
        gap: 1.5rem;
    }

    .description-options {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .description-options button {
        width: 100%;
        height: 8vh;
        font-size: 1.2rem;
    }

    .description-options a {
        display: flex;
        justify-content: center;
    }

    .shopping-cartdesc {
        width: 44px;
        height: 44px;
    }

    .attendant-page {
        flex-direction: column;
        height: auto;
        padding: 2rem 1.25rem;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .attendant img {
        max-width: 60vw;
    }

    .attendant-description {
        width: 90vw;
        font-size: 1.2rem;
    }

    .attendant-description h1 {
        border-right: none;
        border-top: var(--border-color) inset 3px;
        margin-bottom: 0.75rem;
    }

    .cart-page {
        height: auto;
        min-height: 75vh;
    }

    .cart-title {
        font-size: 1.8em;
        height: auto;
        padding: 1.5rem 1.25rem 1rem;
    }

    .cart-info {
        height: auto;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        overflow: visible;
    }

    .cart-product {
        flex-direction: column;
        width: 90vw;
        height: auto;
        border-radius: 20px;
        padding: 1.25rem;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .cart-product img {
        height: 120px;
    }

    .cart-description {
        gap: 0.5rem;
    }

    .cart-productbutton {
        width: 50vw;
        height: 7vh;
        font-size: 1rem;
    }

    .cart-quantity {
        justify-content: center;
    }

    .cart-total {
        height: auto;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .checkout-btn {
        width: 80vw;
        height: 7vh;
        font-size: 1.2rem;
    }

    .modal-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
        width: 90vw;
    }

    .modal-box h2 {
        font-size: 1.8rem;
    }

    .modal-box p {
        font-size: 1.2rem;
    }

    .modal-box button {
        width: 70vw;
        height: 7vh;
        font-size: 1.1rem;
    }

    .footer {
        height: auto;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* kleine schermen 480px */
@media (max-width: 480px) {

    .title {
        font-size: 1.1rem;
    }

    .title-nav {
        font-size: 0.95rem;
    }

    .title-nav ul {
        gap: 0.5rem 1rem;
    }

    .site-name span {
        font-size: 2rem;
    }

    .site-name img {
        width: 120px;
    }

    .persona {
        width: 92vw;
    }

    .persona-options button {
        width: 65vw;
    }

    .product-display {
        width: 95vw;
    }

    .product-description {
        width: 95vw;
    }

    .attendant img {
        max-width: 80vw;
    }

    .attendant-description {
        width: 95vw;
        font-size: 1.1rem;
    }

    .search-bar input {
        width: 95vw;
        font-size: 0.95rem;
    }

    .weapon {
        width: 92vw;
    }

    .weapons-options button {
        width: 65vw;
    }

    .cart-product {
        width: 95vw;
    }

    .cart-productbutton {
        width: 65vw;
    }

    .checkout-btn {
        width: 90vw;
    }

    .modal-box button {
        width: 80vw;
    }

    .cart-title {
        font-size: 1.4em;
    }
}