/* Вся сторінка – Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: lightblue;
    height: 150px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
}

/* Футер */
footer {
    width: 100%;
    background: #000000;
    color: white;
    text-align: left;
    height: 5%;
    padding: 20px 0;
	left: 0;
	right: 0;
	bottom: 0;
    font-size: 10px;
    font-family: 'Play', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex-grow: 1; /* Дозволяє main розширюватися і займати доступний простір, відштовхуючи футер вниз */
}

.btn {
        display: inline-block;
        padding: 10px 24px;
        background-color: #a04de6;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        border: none;
        transition: background-color 0.3s ease;
        font-size: 16px;
        font-family: 'Play', sans-serif;
    }

.btn:hover {
         background: linear-gradient(60deg, #f11c73, #7531dc);
    }

#user-image {
    position: fixed;
    top: 8px;
    bottom: 10px;
    right: 50px;
    width: 24px;
    height: 24px;
    margin-right: 60px;
    cursor: pointer;
}

#ind, #ab, #cont, #down, .apk, #exer, .suc_a, #user-header, #respon{
    text-decoration: none; /* Відключає підкреслення за замовчуванням */
    color: #ffffff; /* Задає колір тексту посилання */
    font-size: 16px; /* Розмір шрифту */
    padding: 10px; /* Відступи навколо посилання */
    border-radius: 5px; /* Округлення країв */
    transition: background-color 0.3s ease, color 0.3s ease; /* Анімація для змін кольору */
    font-family: 'Play', sans-serif;
}

#ind:hover, #ab:hover, #cont:hover, #down:hover, .apk:hover, #exer:hover, .suc_a:hover, #respon:hover{
    background: linear-gradient(60deg, #f11c73, #7531dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#ind.active,
#ab.active,
#cont.active,
.apk.active,
#down.active,
.suc_a.active,
#exer.active,
#respon.active{
    color: #a04de6!important;
    border-radius: 5px;
     transition: color 0.5s ease;
}

.hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}
.about{
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #21212d;
}
.contacts{
    width: 100%;
    height: 800px;
    overflow: hidden;
    background: #21212d;
}
.downloads{
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #21212d;
}
.responses{
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #21212d;
}
.profile{
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #21212d;
}

.login{
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #21212d;
}

.exercises{
    width: 100%;
    height: 1210px;
    overflow: hidden;
    background: #21212d;
}

.exit{
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #21212d;
}
#woman {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    display: flex;
    justify-content: center; /* Центрує текст горизонтально */
    align-items: center;
    text-align: center;
    font-family: 'Play', sans-serif;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: #fbf5ff;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    font-size: 53px;
    font-family: 'Play', sans-serif;
    font-weight: bold;

}

.content{
    padding: 20px;
    background: #21212d;
    text-align: left;

    font-family: 'Play', sans-serif;
    color: white;

}

.content h2{
    font-size: 24px;
    margin-bottom: 30px;
    margin-top: 40px;
    color: #ffffff; /* Білий текст */
    font-family: 'Play', sans-serif;
}

.content p{
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 30px;
    color: #ffffff; /* Білий текст */
    font-family: 'Play', sans-serif;
}

.content2 {
    padding: 20px;
    background: #000000;
    height: 600px;
    color: white;
    text-align: center;
    font-family: 'Play', sans-serif;
}

/* Для браузерів на основі WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 0px; /* Ширина скролбара */
}

::-webkit-scrollbar-track {
  background: transparent; /* Фон треку скролбара */
}

::-webkit-scrollbar-thumb {
  background: transparent; /* Фон повзунка скролбара */
}



.d-block {
  width: 620px;
  height: 320px;
  object-fit: cover;
}


.trainer{
    float: right;
    margin-top: 40px;
    /*margin-right: 50px;*/

}

.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

    .profile-block {
        text-align: center;
        background-color: #000000;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        width: 340px;
        height: 210px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .profile-block p {
        margin-top: -15px;
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: bold;
        font-family: 'Play', sans-serif;
        color: #ffffff;
    }

    .profile-actions {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .ab-us, .cont, .down {
        font-size: 24px;
        font-family: 'Play', sans-serif;
        color: #ffffff;
        text-align: center;
    }

/* Всі елементи, що містяться в .login, організовані через Flexbox */
.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 92vh;
    background: #21212d; /* Темний фон */
}

/* Визначаємо стиль для самого блоку форми */
.log {
    background-color: #000000; /* Темний фон для блоку */
    border-radius: 5px; /* Округлені кути */
    text-align: center;
    max-width: 350px; /* Максимальна ширина блоку */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    width: 30%;
    height: 330px;
    margin-top: 60px;
    margin-bottom: 50px;
}

h2 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #ffffff; /* Білий текст */
    font-family: 'Play', sans-serif;
}

/* Стилі для лейблів та полів вводу */
label {
    display: block;
    font-size: 16px;
    color: #ffffff; /* Білий текст для лейблів */
    margin-bottom: 1px;
    text-align: left;
    font-family: 'Play', sans-serif;
}

input {
    width: 100%;
    padding: 6px;
    margin: 6px 0 6px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus {
    border-color: #6c5ce7; /* Колір для поля вводу при фокусі */
    outline: none;

}

button {
    width: 100%;
    padding: 3px;
    background-color: #a04de6;
    border: none;
    color: white;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Play', sans-serif;
}

.button:hover {
    background: linear-gradient(60deg, #f11c73, #7531dc);
}

/* Повідомлення помилок */
#message {
    margin-top: 20px;
    color: #6617bb; /* Колір помилки */
    font-size: 15px;
}

.register {
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #21212d;
    display: flex;
    justify-content: center;
    align-items: center;

}

.register-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    padding: 60px;
    border-radius: 5px;
    width: 250px;
    height: 290px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.register-block p {
    margin-top: -10px;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
    font-family: 'Play', sans-serif;
    color: #ffffff;
}

.carousel {
  position: relative; /* Для позиціонування стрілок відносно контейнера */

}

.prev, .next {
  position: absolute;
  top: 35%;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 10;
  transition: border-color 0.3s ease;
}

.prev {
  left: 120px;
  border-width: 15px 20px 15px 0;
  border-color: transparent white transparent transparent;
}

.next {
  right: 120px;
  border-width: 15px 0 15px 20px;
  border-color: transparent transparent transparent white;
}

.prev:hover, .prev:active {
  border-color: transparent #a04de6 transparent transparent;
}

.next:hover, .next:active {
  border-color: transparent transparent transparent #a04de6;
}

#logo {
  width: 63px;
  height: auto;
    margin-top: 2px;
    position: fixed;
    left: 90px;
    font-size: 15px;
    top: 2px;
}

.user-menu-container {
    position: fixed; /* Залишаємо fixed, якщо картинка має бути фіксованою */
    top: 35px;
    right: 140px;
    display: inline-block; /* Щоб контейнер займав лише необхідну ширину */
}

.user-dropdown {
    position: absolute; /* Позиціонуємо абсолютно відносно .user-menu-container */
    top: calc(100% + 5px); /* Розміщуємо на 5px нижче нижнього краю картинки */
    left: 0; /* Вирівнюємо по лівому краю картинки */
    background-color: #21212d;
    border-radius: 4px;
    display: none; /* Спочатку меню приховане */
    min-width: 130px;
    padding: 5px 0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.6); /* Тінь для краси */
    z-index: 10;
}

.user-menu-container:hover .user-dropdown {
    display: block; /* Меню показується при наведенні на контейнер */
}

.user-dropdown.show {
    display: block; /* Якщо є клас .show, то меню видно */
}

.dropdown-button {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    text-align: left;
    font-size: 13px;
    transition: background-color 0.3s ease;
    color: #ffffff;
    font-family: 'Play', sans-serif;
}

.dropdown-button:hover {
    background: linear-gradient(60deg, #f11c73, #7531dc);
    color: white;
}

.head-text, .down{
    font-size: 26px;
    color: #ffffff;
    text-align: center;
    font-family:  'Play', sans-serif;
    margin-top: 30px;
}

.exit-block{
        text-align: center;
        background-color: #000000;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px;
        width: 260px;
        height: 120px;
        margin-top: 70px;
        margin-bottom: 30px;
}

.exit {
    display: flex;
    justify-content: center;
    align-items: center;

}

.exit-block p {
    margin-top: -10px;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
    font-family: 'Play', sans-serif;
    color: #ffffff;
}

.content3{
    padding: 10px;
    background: #000000;
    text-align: left;
    height: 320px;
    font-family: 'Play', sans-serif;
    color: white;
}
.content4{
    padding: 10px;
    background: #21212d;
    text-align: left;
    height: 320px;
    font-family: 'Play', sans-serif;
    color: white;
}
.content5{
    padding: 10px;
    background: #000000;
    text-align: left;
    height: 320px;
    font-family: 'Play', sans-serif;
    color: white;
}

.exercises h2{
    font-size: 24px;
    margin-bottom: 30px;
    margin-top: 40px;
    color: #ffffff; /* Білий текст */
    font-family: 'Play', sans-serif;
    text-align: center;
}
.exercises h3{
    font-size: 22px;
    margin-top: 10px;
    color: #ffffff; /* Білий текст */
    font-family: 'Play', sans-serif;
}
.content3 img{
    width: 380px;
    height: 220px;
    margin-top: 20px;
    /*right: 90px;*/
    position: absolute;
    right: 7%;
}
.content5 img{
    width: 380px;
    height: 220px;
    margin-top: 20px;
    /*right: 90px;*/
    position: absolute;
    right: 7%;
}
.content4 img{
    width: 380px;
    height: 220px;
    margin-top: 20px;
    /*right: 90px;*/
    position: absolute;
    right: 7%;
}
.suc{
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #21212d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.suc-block{
    padding: 20px;
    background: #21212d;
    text-align: left;
    height: 200px;
    font-family: 'Play', sans-serif;
    color: white;
}
.suc-block p{
    font-size: 24px;
    margin-bottom: 30px;
    margin-top: 40px;
    color: #ffffff; /* Білий текст */
    font-family: 'Play', sans-serif;
}

.exerc {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #21212d;
    color: white;
    font-family: 'Play', sans-serif;
    text-align: center;
    display: flex;
    justify-content: center;  /* по горизонталі */
}
.exerc video{
    width: 500px;
    height: 300px;
}

.apk {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-family: 'Play', sans-serif;
    font-size: 22px;
}

.flex-box {
    display: flex;
    align-items: flex-start; /* Вирівнює верхні краї елементів */
    gap: 20px; /* Відступ між текстом і картинкою */
    margin-bottom: 30px;
}

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

}

.text-block h3 {
    margin-left: 15px;  /* Обнуляємо відступи */
    padding: 0;
    font-size: 24px;
}

.text-block p {
    margin: 5px 0 0 0;
    margin-left: 15px;
    font-size: 20px;
}

*{
  cursor: url('../images/cursor.png'), auto;
}
*:hover {
    cursor: url('../images/cursor2.png'), auto;
}
#user-image, .button, .preview-img, .btn {
  cursor: url('../images/cursor.png'), auto;
}

#user-image:hover, .button:hover, .preview-img:hover, .btn:hover, .close-button:hover{
  cursor: url('../images/cursor2.png'), auto;
}


#user-header{
    color: white;
    font-family: 'Play', sans-serif;
    font-size: 16px;
}

.responses-header {
  display: flex;
  justify-content: center; /* центрує по горизонталі */
  align-items: center;     /* вирівнює по вертикалі */
  gap: 130px;               /* відступ між заголовком і кнопкою */
  margin: 40px auto 20px auto;
  max-width: 800px;
}

.responses-header h2 {
  color: #fff;
  margin: 0;
}


.btn-add-review {
    background: linear-gradient(60deg, #f11c73, #7531dc);
    color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.btn-add-review:hover {
    background: linear-gradient(60deg, #f11c73, #7531dc);
    color: white;
}

.make-response-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}
.make-response-container form p {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.make-response-container form label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #ffffff;
}

.make-response-container form input,
.make-response-container form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #2c2c3a;
    color: #fff;
    font-size: 14px;
    font-family: 'Play', sans-serif;
    resize: vertical; /* дозволяє змінювати висоту textarea */
}

.make-response-container form input:focus,
.make-response-container form textarea:focus {
    outline: none;
    border-color: #a04de6;
    box-shadow: 0 0 5px rgb(109, 35, 175);
}

.make-response{
    background: #21212d;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.btn-row {
  display: flex;
  gap: 10px; /* Відступ між кнопками */
}

.btn-row .btn {
  flex: 1;   /* Робить кнопки однакової ширини */
  text-align: center;
}

.text-muted{
    font-family: 'Play', sans-serif;
    color: white;
}
.review-text, .add {
    font-family: 'Play', sans-serif;
    color: white;
}


.responses-container {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 20px;
  max-height: 400px; /* висота блоку */
  overflow-y: scroll; /* прокрутка є */
  scrollbar-width: none; /* Firefox — приховує смугу */
}

.responses-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge — приховує смугу */
}

.review-card {
  margin: 15px auto;
  max-width: 500px;
 height: 70px; /* краще використовувати min-height замість height */
  border-radius: 5px;
  padding: 15px;
  background: #737386;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: left; /* текст по лівому краю */
  display: flex;
  flex-direction: column; /* щоб усі елементи були вертикально */
  align-items: flex-start; /* вирівнюємо по лівому краю */
}


.review-meta {
  font-size: 12px;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
  text-align: left;
    font-family: 'Play', sans-serif;
}

.review-text {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  margin: 0;
  line-height: 1.4;
    font-family: 'Play', sans-serif;
    padding-left: 10px;

}

.back-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f7f7f7;
}

.back-btn:hover {
    background: #e0e0e0;
}

