* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

button{
    background: transparent;
    border: none;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background-color: #000;
}

.background-image-mobile {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: .4;
    background-image: url('../img/bg-mobile.webp');
}

.background-image-desktop {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    opacity: .4;
    background-image: url('../img/bg-desktop.webp');
}

.bg-link{
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

/* Base */
#background-image-desktop {
    display: block;
}

#background-image-mobile {
    display: none;
}

/* Media query */
@media (max-width: 768px) {
    #background-image-desktop {
        display: none;
    }

    #background-image-mobile {
        display: block;
    }
}

.modal-container {
    position: fixed;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    text-align: center;
    z-index: 1;
    max-width: 500px;
}

@media (max-width: 768px) {
    #modal-container {
        width: 100%;
        max-width: 95vw;
    }
}

.modal-content{
    width: 100%;
    padding: 2rem;
}

.modal-head{
    width: 100%;
    padding-bottom:  2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-head h2{
    font-size: 2rem;
    color: #1f65c4;
}

.modal-head .close{
    width: 32px;
    height: 32px;
}

.modal-desc{
    width: 100%;
    text-align: left;
}

.modal-desc p{
    font-size: 1.125rem;
    color: #1b1b1b;
}

.modal-actions{
    width: 100%;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-actions button{
    width: 49%;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    color: #fff;

    font-size: 1.375rem;
    font-weight: 500;
    cursor: pointer;
}

.modal-actions button.accept{
    background-color: #1b1b1b;
}

.modal-actions button.preferences{
    background-color: #1f65c4;
}

/* Base */
#modal-image-desktop {
    display: block;
}

#modal-image-mobile {
    display: none;
}

/* Media query */
@media (max-width: 768px) {
    #modal-image-desktop {
        display: none;
    }

    #modal-image-mobile {
        display: block;
    }
}