:root {
    --color-light-blue: #8486a9;
    --color-red: rgb(251, 96, 135);
    --color-white: rgb(255, 255, 255);
    --color-dark-blue: #343650;
    --color-very-dark-blue: #1e1f29;
    --color-black: #191a24;
}

body {
    /*font-family: BaseFiolexGirl;*/
    /*padding: 20px;*/
    /*-webkit-user-select: none;*/
    /*-moz-user-select: none;*/
    /*-ms-user-select: none;*/
    /*user-select: none;*/
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image: url("../wall/w_1.jpg");*/
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../wallpaper/w_220.webp");
}

.loader {
    width: 200px;
    height: 200px;
    border: 5px solid #ff4081;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.wave {
    margin: 0 auto;
    width: 200px;
    height: 200px;
    margin-top: 100px;
    position: relative;
}

.title {
    font-family: BaseFiolexGirl;
    font-size: 25px;
    color: white;
    text-align: center;
    width: 100%;
}

.top {
    font-family: BaseFiolexGirl;
    font-size: 24px;
    color: white;
}

.bottom {
    font-family: BaseFiolexGirl;
    font-size: 24px;
    color: white;
}

.counter {
    font-family: BaseFiolexGirl;
    font-size: 50px;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.nickname {
    /* font-family: BaseFiolexGirl; */
    font-size: 20px;
    color: white;
    width: 120px;
    height: 80px;
    text-align: center;
}

.font {
    font-family: BaseFiolexGirl;
}

@font-face {
    font-family: 'AmaticSC-Bold'; /*a name to be used later*/
    src: url('../fonts/AmaticSC-Bold.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Aristonne'; /*a name to be used later*/
    src: url('../fonts/Aristonne.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'BaseFiolexGirl'; /*a name to be used later*/
    src: url('../fonts/BaseFiolexGirl.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'BaseFutara'; /*a name to be used later*/
    src: url('../fonts/BaseFutara.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'BeautifulEveryTime'; /*a name to be used later*/
    src: url('../fonts/BeautifulEveryTime.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Comfortaa-Regular'; /*a name to be used later*/
    src: url('../fonts/Comfortaa-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'ComicSans'; /*a name to be used later*/
    src: url('../fonts/ComicSans.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'DancingScript-Regular'; /*a name to be used later*/
    src: url('../fonts/DancingScript-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'HeraBig'; /*a name to be used later*/
    src: url('../fonts/HeraBig.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Kaileen_Bold'; /*a name to be used later*/
    src: url('../fonts/Kaileen_Bold.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Kingthings_Petrock'; /*a name to be used later*/
    src: url('../fonts/Kingthings_Petrock.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Lobster-Regular'; /*a name to be used later*/
    src: url('../fonts/Lobster-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Pacifico-Regular'; /*a name to be used later*/
    src: url('../fonts/Pacifico-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'PatrickHand-Regular'; /*a name to be used later*/
    src: url('../fonts/PatrickHand-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Play-Regular'; /*a name to be used later*/
    src: url('../fonts/Play-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'ProximaNova-Regular'; /*a name to be used later*/
    src: url('../fonts/ProximaNova-Regular.otf'); /*URL to font*/
}

@font-face {
    font-family: 'RixLoveFool'; /*a name to be used later*/
    src: url('../fonts/RixLoveFool.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Roboto'; /*a name to be used later*/
    src: url('../fonts/Roboto.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'SofiaBold'; /*a name to be used later*/
    src: url('../fonts/SofiaBold.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Valentine'; /*a name to be used later*/
    src: url('../fonts/Valentine.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'ZemkeHand'; /*a name to be used later*/
    src: url('../fonts/ZemkeHand.ttf'); /*URL to font*/
}

.avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid #ffffff;
    object-fit: cover
}

/*#heart {*/
/*width: 30px;*/
/*height: 30px;*/
/*margin-left: 30px;*/
/*margin-right: 30px;*/
/*margin-bottom: 30px;*/
/*}*/

/* heart div class - in html i used just a simple html simbol entity for heart sign, you can use text or whatever u want*/

.heart {
    animation: beat .25s infinite alternate;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
    width: 30px;
    height: 30px;
}

/* Heart beat animation */
@keyframes beat {
    to {
        transform: scale(1.4);
    }
}

.avatar_crop {
    width: 200px;
    height: 200px;
    object-fit: cover
}

.menu {
    width: 30px;
    height: 30px;
    margin-top: 20px;
}

.menu_title {
    font-size: 17px;
    color: #ff4081;
    font-family: ProximaNova-Regular;
}

.menu_text {
    font-size: 18px;
    color: black;
    font-family: ProximaNova-Regular;
}

.button_style {
    button {
        text-transform: none;
        font-weight :bold;
        }
}

.countdown {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 14px;
    font-weight: 700;

    display: grid;
    grid-template-columns: repeat(4, 21%);
    justify-content: space-around;
    width: 90%;
    max-width: 750px; 
}

.time-content {
    height: 70px;
    box-shadow: 0px 7px 2px -2px rgb(25, 26, 36);
    background-color: var(--color-very-dark-blue);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    margin-bottom: 1em;
}

.time {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-blue);
    position: relative;
}

.time::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 50%;
    background-color: #272938c0;
}

.time > span {
    display: block;
    color: var(--color-red);
    font-size: 2.5em;
    z-index: 2;
}

.rings {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.rings::before, .rings::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-very-dark-blue);
    top: -2px;
}

.rings::before {
    left: -3.5px;
}

.rings::after {
    right: -3.5px;
}

.metric {
    text-transform: uppercase;
    text-align: center;
    color: white;
    font-size: 1rem;
    letter-spacing: 3px;
}

@media (min-width: 1024px) {
    .countdown {
        grid-template-columns: repeat(4, 18%);
    }
    .time-content {
        height: 120px;
        box-shadow: 0px 9px 2px -1px rgb(25, 26, 36);
    }

    .time > span {
        font-size: 5em;
    }

    .metric {
        margin-top: 1.5em;
        font-size: 1rem;
    }

    .rings {
        position: absolute;
        top: 50%;
        width: 100%;
    }
    
    .rings::before, .rings::after {
        width: 10px;
        height: 10px;
        top: -4px;
    }

    .rings::before {
        left: -5px;
    }
    
    .rings::after {
        right: -5px;
    }

}

@media (min-width: 641px) and (max-width: 1023px) {
    .caption {
        font-size: 1.7rem;
        width: 70%;
    }

    .countdown {
        grid-template-columns: repeat(4, minmax(100px, 140px));
        gap: 1rem;
    }

    .time-content {
        height: 110px;
    }

    .time > span {
        font-size: 4em;
    }
}
