﻿:root {
    /*========== Colors ==========*/
    --hue: 240;
    --first-color: hsl(var(--hue), 16%, 18%);
    --first-color-alt: hsl(var(--hue), 16%, 12%);
    --title-color: hsl(var(--hue), 8%, 15%);
    --text-color: hsl(var(--hue), 8%, 35%);
    --body-color: hsl(var(--hue), 100%, 99%);
    --container-color: #FFF;
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --big-font-size: 1.5rem;
    --normal-font-size: .938rem;
    /*========== z index ==========*/
    --z-modal: 1000;
}

@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 1.75rem;
        --normal-font-size: 1rem;
    }
}

/*=============== BASE ===============*/


body,
button {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

body {
    background-color: var(--body-color);
    color: var(--text-color);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}




.error-bar i.fa-caret-* {
    color: #fff
}

.highlight-green {
    background-color: green;
}

li. {
    -webkit-transition: 1s linear all;
    transition: 1s linear all;
    background-color: clear;
}
/*=============== MODAL ===============*/


.modal {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    place-items: center;
    border: none;
    padding: 0;
    background-color: rgba(179, 157, 138, 0.85);
    z-index: 9999
}

.modal__button {
    display: inline-block;
    background-color: var(--first-color);
    color: #FFF;
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    transition: .3s;
}

    .modal__button:hover {
        background-color: var(--first-color-alt);
    }

.modal__container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    transition: all .3s;
    z-index: var(--z-modal);
    /*=== Effect 3 ===*/
    /* perspective: 1000px; */
}

.modal__content {
    position: relative;
    background-color: transparent;
    text-align: center;
    padding: 3rem 2rem 2rem;
    transition: all .3s;
    transform: translateY(10%);
}

.modal__img {
    width: 100%;
    margin-bottom: .75rem;
}

.modal__close {
    display: inline-flex;
    background-color: transparent;
    border-radius: .25rem;
    color: #FFF;
    font-size: 1.5rem;
    position: absolute;
    top: 2rem;
    right: 1.9rem;
    cursor: pointer;
}

.modal__title {
    font-size: var(--big-font-size);
    color: var(--title-color);
    font-weight: 500;
}

.modal__description {
    margin-bottom: 1.5rem;
}

.modal__button-width {
    width: 90%;
}

.modal__button-link {
    display: block;
    margin: 1rem auto 0;
    background-color: transparent;
    color: var(--first-color);
    font-weight: 500;
}



/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (min-width: 576px) {
    .modal__content {
        margin: auto;
        width: 30%;
        border-radius: 1.25rem;
    }

    .modal__img {
        width: 100%;
    }
}

.error-bar i.fa-caret-* {
    color: #fff
}

.highlight-green {
    background-color: green;
}

li. {
    -webkit-transition: 1s linear all;
    transition: 1s linear all;
    background-color: clear;
}

