@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap');

/* global style */
* {
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
}

html,
body {
    /* height: 1100px; */
    /* height: 890px; */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    color: white;
    text-shadow: 2px 2px 4px black;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url("../pictures/index-bkg-laptop.png"); */
    background-color: #101010;
    background-size: cover;
    background-repeat: no-repeat;

}



:root {
    --color-prime: #E6C550;
}

a {
    color: white;
    text-decoration: none;
}

h1 {
    margin: 0;
    color: white;
    /* color: #E6C550; */
    background-image: url(../pictures/h1-bcg-312x80.png);
    background-size: contain;
    background-repeat: no-repeat;
    font-weight: 400;
    font-size: 2.5rem;
}

h2 {
    /* color: var(--color-prime); */
    color: white;
}

button {
    position: relative;
    width: 260px;
    height: 40px;
    font-size: 1rem;
    font-weight: bold;
    /* background-image: linear-gradient(to right, #181515, #494949); */
    background-color: #C69749;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    /* box-shadow: 5px 5px 30px 10px black; */
    /* color: var(--color-prime); */
    color: white;

}

button img {
    width: 25px;
    position: absolute;
    top: 25%;
    right: 20px;
}

section {

    width: 100vw;

    /* height: 115vh; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block: auto auto;



}

.container {
    width: 100%;
    max-width: 90%;
    /* height: min-content; */
    /* padding-block: 1rem; */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;


}

.text-box {
    background-color: #2a2a2a;
    border-radius: 20px;
}

.input-border {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    margin-block-end: 2rem;
    padding: 1rem;
    /* background-image: linear-gradient(-20deg, #c45e5e, #ccc00a); */
    background-color: #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
}

label {
    margin-block-end: 1rem;
}

.circle-1 {

    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    position: absolute;
    left: -5px;
    top: -9px;

}

.circle-2 {

    width: 40px;
    height: 40px;
    border: 2px solid rgba(217, 0, 0, 0.15);
    border-radius: 50px;
    position: absolute;
    left: 123px;
    top: 41px;

}

.circle-3 {

    width: 70px;
    height: 70px;
    border: 2px solid rgba(9, 240, 143, 0.15);
    border-radius: 50px;
    position: absolute;
    left: 207px;
    top: -9px;

}

.circle-4 {

    width: 70px;
    height: 70px;
    border: 2px solid rgba(238, 3, 3, 0.26);
    border-radius: 50px;
    position: absolute;
    left: 283px;
    top: 54px;

}

.forward-btn {
    position: fixed;
    top: 25px;
    transform: translateX(-570%);
    z-index: 10;
    font-size: 2.5rem;
    background-color: #ffffff2b;
    border-radius: 10px;
    height: 74px;
    width: 29px;
}

input {
    background-color: white;
    padding-inline-start: .5rem;
    width: 150px;
    position: relative;
    z-index: 10;
}

.ads-box {
    width: 330px;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: none;
}

.ads p {
    color: grey;
    margin: 0;
    line-height: 2rem;
    font-size: .8rem;
}


/*------ index-page ------ */
/* animation intro section */

.animation-intro-section {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #101010;
    z-index: 100;
    top: 0;
    left: 0;
    overflow: hidden;
    animation: hidden .8s ease forwards 4s ;
}

@keyframes hidden {
    to {
        opacity: 0;
        display: none;
    }
}

#logo {
    width: 300px;
    max-width: 500px;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    
}

#logo path {
    animation: intro 4s ease-in-out forwards ;
}

@keyframes intro {
    0% {
        stroke-dasharray: 46px;
        opacity: 0;
    }
    52% {
        fill: rgba(255, 255, 255, 0);

    }
    90% {
        stroke-dasharray: 190px;
        opacity: 1;
    }
    100% {
        fill: white;
    }
    
}




/* --------description-section----------- */

.description-section {
    display: flex;
}

.description-section .container {
    gap: 0;
}

.description-section .container .text {
    width: 395px;
    max-width: 90%;
    /* background-color: #000000a6; */
    /* border: 2px solid black; */
    position: relative;
    border-radius: 5px;
    text-align: left;
}

.description-section .container .text::after {
    content: '';
    position: absolute;
    z-index: -10;
    top: 0;
    left: -64px;
    width: 500px;
    height: 283px;
    background-image: url(../pictures/text-bkg-500x300.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 90px;
}

.description-section .container .next-btn-text {
    margin-block: 0;
    line-height: 0;
}

/* .description-section .container .text p {
    padding-inline: 1rem;
} */

.description-section .container .text span {
    display: inline-block;
    padding: 0 28%;
    padding-bottom: 1rem;
    white-space: nowrap;
}

/* .description-section .container #index-next-btn {
    margin-block-start: 2rem;
} */

.description-section .container .ads {
    margin-block-start: 2rem;
}

/* install instukciós rész */
.description-section .container .install-promo {

    width: 400px;
    max-width: 100%;

    overflow: hidden;
    margin-block-end: 2rem;
}



.description-section .container .install-promo .install-text-and-btn p {
    padding-inline: 3rem;
    text-align: left;
    margin-block-start: 1.5rem;
}

#install-btn {
    margin-block-end: 2rem;
}

.description-section .container .install-promo .install-device-choice,
.install-accepted {
    display: none;
}

.description-section .container .install-promo .install-device-choice .other-install {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description-section .container .install-promo .install-device-choice .other-install img {
    width: 300px;
    height: 100%;
    margin-block-start: 1rem;
}

.description-section .container .install-promo .install-device-choice .other-install p {
    max-width: 95%;

}

.description-section .container .install-promo .install-device-choice .mobile-install {
    display: none;
}

.description-section .container .install-promo .install-device-choice .mobile-install p {
    padding-inline: .8rem;
    text-align: left;
}

.description-section .container .install-promo .install-device-choice .mobile-install img {
    height: 294px;
}

#dont-see-me-anymore {
    display: none;
    width: 225px;
    margin-block-end: 2rem;
}



/* -------- mode selector section------------ */
.training-mode-choice-section {

    flex-direction: column;
}

.training-mode-choice-section .container .training-mode-selector {

    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.training-mode-choice-section .container .training-mode-selector .training-mode-card {
    width: 319px;
    height: 236px;
    display: flex;
    /* justify-content: center;
    align-items: center;
    gap: .5rem; */
    position: relative;
    overflow: hidden;
}

.training-mode-choice-section .container .training-mode-selector .training-mode-card .img {
    width: 100px;
    height: 100%;
}




.training-mode-choice-section .container .training-mode-selector .training-mode-card .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 230px;
    text-align: left;
}

.training-mode-choice-section .container .training-mode-selector .training-mode-card .text h2 {
    margin-block: 0;
}

.training-mode-choice-section .container .training-mode-selector .training-mode-card .text h4 {
    margin-block-start: .5rem;
    margin-block-end: 0;

}

.training-mode-choice-section .container .training-mode-selector .training-mode-card .text ul {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 1rem;

}

.training-mode-choice-section .container .training-mode-selector .free-training-card {
    background-image: url(../pictures/free-training-card-img.png);
    background-size: contain;
}

.training-mode-choice-section .container .training-mode-selector .weight-training-card {
    background-image: url(../pictures/weight-training-card-img.png);
    background-size: contain;
}

.training-mode-card-button {
    width: 120px;
    height: 30px;
    position: absolute;
    bottom: 20px;
    right: 10px;
}



/* ------ */

.training-mode-choice-section .container .training-mode-selector .choice-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.training-mode-choice-section .container .training-mode-selector .choice-text hr {
    color: white;
    width: 200px;
    max-width: 50%;
    height: 2px;
    background-color: white;
    filter: drop-shadow(3px 3px 3px black);

}

.training-mode-choice-section .container .training-mode-selector .choice-text p {
    margin-block: 2rem;
}


/* ----------weight-training-customize-page--------- */

.weight-training-customize-section .container {
    gap: 0;

}



.weight-training-customize-section .container button {
    margin-block-end: 2rem;
}

/* ----------free-training-customize-page--------- */
.free-training-customize-section .container {
    gap: 0;
}

.free-training-customize-section .container button {
    margin-block: 2rem;
}










/*------ work-page ------- */
.work-section {
    line-height: 4rem;
    flex-direction: column;
}

.work-section .container {
    padding-block: 0;
    gap: 0;
}

.work-section .container h1 {
    margin-block-end: 2rem;
}



.work-section .container .progress-bar-text {
    margin-block-end: 1rem;
}

.work-section .container .progress-bar-border {
    margin-block-end: 2rem;
}

.display {
    border: 4px solid var(--color-prime);
    border-radius: 20px;
    width: 288px;
    height: 178px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-block-end: 2rem;
    /* background-color: rgba(5, 244, 154, 0.12); */
}

/* .display::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(2px);
} */

.training-end-content {
    display: none;
    width: 288px;
    height: 100%;
}

.training-end-content img {

    width: 288px;
    height: 170px;
}

.training-end-content video {
    width: 275px;
    height: 170px;
    border-radius: 50px;
    box-shadow: 0 4px 15px 5px #161616;
}


.exercise-repetition-counter {
    position: relative;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    border-radius: 20px;
    width: 131%;
    height: 116%;
    background-color: #23272c;
}

.exercise-counter,
.repetition-counter {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
}

.exercise-counter {
    top: 10%;
    left: 8%;
}

.repetition-counter {
    bottom: 10%;
    left: 8%;
}

.number-box{
    overflow: hidden;
    background-color: #D8AC12;
    border: 2px solid black;
    box-shadow: inset 2px 4px 10px black, 2px 2px 20px 10px #327070;
    border-radius: 12px;
    font-size: 4rem;
    height: 75px;
    width: 75px;
    margin: 0;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exercise-number,
.repetition-number {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-100%, -60%);
    animation: in .5s cubic-bezier(1, 0, 0, 0.99) forwards;
    
}

@keyframes out {
    to{
        transform: translate(-100%, -200%);
    }

}
@keyframes in {
    from{
        transform: translate(-100%, 200%);
    }
    to{
        transform: translate(-100%, -60%);
    }
}



.exercise-text,
.repetition-text {
    text-decoration: overline underline;
    font-size: 1.5rem;
}

.progress-bar-text p {
    margin: 0;
    line-height: 4px;
}

.progress-bar-border {
    width: 280px;
    height: 50px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 30px;
    padding: 2px;
    background-image: linear-gradient(to right, #f0ecea, #ff0000);
    overflow: hidden;
    box-shadow: 5px 5px 30px 10px black;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
}

.half-line {
    position: absolute;
    left: 80px;
    top: 0;
    width: 86px;
    height: 4px;
    transform: rotate(90deg);

}

.half-line hr {
    margin-block: 0;
    color: white;
}

.finish-line {
    position: absolute;
    left: 190px;
    top: 0;
    width: 86px;
    height: 4px;
    transform: rotate(90deg);

}

.finish-line hr {
    margin-block: 0;
    color: white;

}

#progress-start-icon {
    position: absolute;
    left: 0;
}

#progress-goal-icon {
    position: absolute;
    top: 5px;
    right: 0;
    width: 39px;
}

#progress-indicator-icon {
    display: none;
    position: absolute;
    z-index: 10;
}

.stopper {
    font-size: 6rem;
    margin-block-end: 1.5rem;
}

.work-section .container .instruction {
    line-height: 0rem;
    height: 1rem;
}
.work-section .container .instruction-start, .work-section .container .instruction-rest, .work-section .container .instruction-work {
    line-height: 3rem;
}




.work-rest-btn {
    display: none;
    width: 217px;
    height: 113px;
    font-size: 2.5rem;
    font-weight: bold;
    border-radius: 10px;
    border-color: #ffffff;
    box-shadow: 5px 5px 30px 10px black;
    background-color: #63d952;
    background-image: none;
    color: white;
    text-shadow: 2px 2px 10px black;
    margin-block-end: 2rem;
}

.work-start-btn,
.work-work-btn {

    width: 217px;
    height: 113px;
    font-size: 2.5rem;
    font-weight: bold;
    border-radius: 10px;
    border-color: #ffffff;
    box-shadow: 5px 5px 30px 10px black;
    background-color: #c41919;
    background-image: none;
    color: white;
    text-shadow: 2px 2px 10px black;
    margin-block-end: 2rem;
}

/* training finish */
/* statisztikák */

.statistics {
    display: none;
}

/* .statistics-container::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(2px);
} */

.statistics-container {
    /* border: 1px solid var(--color-prime); */
    border-radius: 20px;
    display: flex;
    position: relative;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 282px;
    height: 74px;
    background-color: rgb(175 175 175 / 35%);
    margin-block-end: 2rem;
}

.statistics h2 {
    margin: 1rem;
    line-height: 1rem;
    margin-block-end: 2rem;
}

.statistics-container h4 {
    margin: .5rem;
    line-height: 1rem;
    /* background-color: #42747c29; */
    border-radius: 5px;
    padding: .3rem;
    /* box-shadow: 2px 2px 30px 5px rgb(21, 21, 21); */
}

.statistics-content {
    display: flex;
    justify-content: right;
    width: 400px;
    display: flex;
    justify-content: center;
    line-height: 1rem;
    gap: 1.5rem;
}

.statistics p {
    line-height: 1rem;
    margin: 0;
}

/*statisztikák vége*/


.share-container {
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 334px;
    line-height: 1.5rem;
}

#share-btn {
    margin-block-end: 2rem;
}

.verzio-number {
    line-height: 1rem;
    font-size: .5rem;
}

#new-training-btn {
    display: none;
    margin-block-end: 2rem;
}














/* media query */






@media(max-width:500px) {

    /* index pagek */

    /* install */
    .description-section .container .install-promo .install-device-choice .mobile-install {
        display: flex;
    }

    .description-section .container .install-promo .install-device-choice .other-install {
        display: none;
    }

}