/* -- Fonts -- */
@font-face {
    font-family: Nunito;
    src: url('/assets/fonts/Nunito-VariableFont_wght.ttf');
}
/* ----------- */
.center { display: grid; place-items: center; }

/* -- Animation durations -- */
body { --animate-duration: 500ms; font-family: 'Nunito', sans-serif; }
#showTip, #tipBox { --animate-duration: 800ms !important; }
/* ------------------------- */

/* -- Loader animation -- */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid;
    border-color: #91c03c #0000;
    animation: l1 1s infinite;
    margin-bottom: 10px;
}

@keyframes l1 {to{transform: rotate(.5turn)}}
/* ---------------------- */

/* -- Stars -- */
#stars i {
    font-size: 40px;
    color: #d3d3d3;
    transition: 0.1s ease;
    cursor: pointer;
}

#starText {
    margin-top: 15px;
    text-align: center;
    min-height: 24px;
}
/* ----------- */

/* -- Buttons -- */
.button {
    border-radius: 99px;
    border: none;
    padding: 10px 20px;
    transition: 0.2s ease;
    text-decoration: none;
    color: black;
}
.button:hover { transform: scale(0.97); }

.button.button-primary { background-color: var(--primary-btn-color); color: var(--primary-btn-color-text); }
.button.button-primary:hover { background-color: var(--primary-btn-color-hover); }

.button.button-secondary { background-color: var(--secondary-btn-color); color: var(--secondary-btn-color-text); }
.button.button-secondary:hover { background-color: var(--secondary-btn-color-hover); }
/* ------------- */

/* -- Reviewplatform Button -- */
.platformButton {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    width: 100%;
    background-color: #6a6a6a;
    color: white;
    padding: 15px 0;
    border-radius: 99px;
    transition: 0.2s ease;
}
.platformButton:hover {
    transform: scale(0.98);
}
.platformButton img { height: 25px; }
/* ---------------------------- */

/* -- Fullscreen modal for Social Media buttons -- */
.modalFull {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}