@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@200;400;600&display=swap");



body {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #518aa7 0%, #b5e4f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Raleway", sans-serif;
    margin: 100;
    min-height: 100vh;
}

/* Questionnaire */

.quiz-container {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.3);
    overflow: hidden;
    width: 600px;
    max-width: 100%;
}
.quiz-header {
    padding: 2rem;
}

.choices button {
    background-color: #1995D2;
    border: solid;
    color: white;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 1.1rem;
    width: 100%;
    padding: 1.5rem;
    border-radius: 10px;
}

.choices button:hover {
    background-color: #0b618c;
}


/* Popup*/

.popup-container {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

}


.popup {
    background-color: #fff;
    border-radius: 15px;
    padding: 0 2rem;
    position: relative;
    overflow: auto;
    max-height: 200vh;
    max-width: 600px;
    width: 100%;
}

.popup-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.products-container {
    padding: 0.25rem 1rem;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .product {
        width: 50px;
    }
}

.product {
    border: solid;
    border-radius: 25px;
    border-width: 2px;
    display: inline-block;
    color: rgb(132, 134, 158);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    width: 100px;
    height: 140px;
}


.product-price {
    color:rgba(147, 40, 161, 0.5)
}

.product:hover{
    color:rgba(147, 40, 161, 0.5);
}

.product-name {
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: bold;
}

.product img {
    border-radius: 10px;
    width: 50%;
    height: 35%
}



.popup .close {
    background-color: transparent;
    border: none;
    opacity: 0.5;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}


.popup .close:hover {
    opacity: 1;

}