html,
body,
#app {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-image: url('/image/backBody1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/*Настройка хиро блока с стаистикой*/
.hero {
    background-image: url("/image/heroBack.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    position: relative;
    width: 100%;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    max-width: 900px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 3rem;
}

.hero p {
    font-size: 1.3rem;
    color: white;
    margin-top: 1rem;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 10px 30px;
}

.hero-stats {
    margin-top: 2rem;
    color: white;
}

.hero-stat {
    text-align: center;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.0rem;
        margin-bottom: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
}
/*!!!!------!!!!*/



/*Приветствие*/
.welcome {
    background-image: url("/image/welcome.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: auto;
    min-height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.welcome h2 {
    font-size: 3rem;
    font-weight: bold;
    color: black;
}

.welcome p {
    font-size: 1.5rem;
    color: black;
}

@media (max-width: 767.98px) {
    .welcome {
        height: auto;
        min-height: 40vh;
        padding: 3rem 1rem;
        text-align: center;
    }

    .welcome h2 {
        font-size: 1.5rem;
    }

    .welcome p {
        font-size: 1rem;
    }
}
/*!!!!------!!!!*/



/*Блок как стать участником*/
.how-to-join-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #ffffff;
}

.how-to-join-step a {
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.how-to-join-step a:hover {
    transform: scale(1.1);
}

.white-space-pre-line {
    white-space: pre-line;
}
/*!!!!------!!!!*/

/*Хидер шапка*/
header {
    background-image: url("/image/backBody.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-link:hover {
    text-decoration: none;
    transform: scale(1.1);
    color: #000000;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.navbar-brand:hover {
    text-decoration: none;
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

/*Выпадающее меню в хидере*/
.custom-dropdown {
    position: absolute;
    top: 35px;
    right: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1055;
    min-width: 180px;
    padding: 0.5rem 0;
}

.dropdown-btn {
    display: block;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: left;
    color: #212529;
    text-decoration: none;
    background: none;
    border: none;
}
.dropdown-btn:hover {
    background-color: #f8f9fa;
}
/*!!!!------!!!!*/


/*Футер*/
footer {
    background-image: url("/image/backBody.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*!!!!------!!!!*/



/*Настройки шапки на мобилке*/
@media (max-width: 767.98px) {
    .mobile-btn-w-50 {
        width: 50%;
    }

    .mobile-btn-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .mobile-nav-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/*!!!!------!!!!*/



/*Настройка кнопки управления для мобилок*/
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.fab-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.fab-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: white;
    color: #007bff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
    margin-bottom: 8px;
}

.fab-icons {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fab-icons.open .fab-icon {
    opacity: 1;
    transform: translateY(-10px);
    pointer-events: auto;
}

.fab-icons.closed .fab-icon {
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
}
/*!!!!------!!!!*/



/*Карточки команд*/
.card {
    background: radial-gradient(circle at 25% 25%, #b2dfdb 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, #a5d6a7 0%, transparent 70%),
    #c8e6c9;
    border: 2px solid #388e3c;
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0 6px 16px rgba(56, 142, 60, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.teamCard .card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 24px rgba(56, 142, 60, 0.3);
}
/*!!!!------!!!!*/



/*Кнопки*/
.btn-auth,
.btn-register {
    color: #ffffff;
    background: linear-gradient(to right, #00B4D8, #48CAE4);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.1s ease;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-shadow: 0 4px 8px rgba(0, 180, 216, 0.2);
    cursor: pointer;
}
.btn-register {
    background: linear-gradient(to right, #0077B6, #00B4D8);
}

.btn-auth:hover,
.btn-register:hover {
    color: #ffffff;
    filter: brightness(1.1);
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 180, 216, 0.3);
}

.btn-auth:active,
.btn-register:active {
    color: #ffffff;
    filter: brightness(0.95);
    transform: scale(1.03);
    box-shadow: 0 2px 4px rgba(0, 180, 216, 0.2);
}

    /*Кнопка фильтра */
.btn-filter {
    background: #d9f4f4;
    border: 1px solid #00b4d8;
    color: #0077b6;
    padding: 6px 12px;
    border-radius: 10px;
}
.btn-filter:hover {
    background: #e0f7fa;
}
.btn-filter:active {
    transform: scale(1.03);
    background: #d0eef5;
}


    /*Кнопка управлять*/
.btn-manage {
    border-radius: 10px;
    background: linear-gradient(to right, #ade8f4, #90e0ef);
    color: #003049;
    box-shadow: 0 2px 4px rgba(144, 224, 239, 0.2);
}
.btn-manage:hover {
    background: linear-gradient(to right, #a1dff1, #87d4e4);
    color: #003049;
}
.btn-manage:active {
    background: linear-gradient(to right, #8fd3e4, #75c5d6);
    transform: scale(1.03);
}


    /*Кнопка удалить*/
.btn-delete {
    border-radius: 10px;
    background: linear-gradient(to right, #f08080, #ff9999);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(255, 153, 153, 0.2);
}
.btn-delete:hover {
    background: linear-gradient(to right, #ea6c6c, #ff8585);
}
.btn-delete:active {
    background: linear-gradient(to right, #d65c5c, #ff7a7a);
    transform: scale(1.03);
}


    /*Кнопка смотреть*/
.btn-view {
    border-radius: 10px;
    background: #00b4d8;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(144, 224, 239, 0.2);
}
.btn-view:hover {
    background: #00b4d8;
    color: #ffffff;
}
.btn-view:active {
    transform: scale(1.03);
}

    /*Кнопка показать ещё*/
.btn-show-more {
    background: linear-gradient(to right, #caf0f8, #ade8f4);
    color: #0077b6;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(144, 224, 239, 0.2);
}
.btn-show-more:hover {
    background: linear-gradient(to right, #b8e8f3, #9cd9e6);
    color: #0077b6;
}
.btn-show-more:active {
    background: linear-gradient(to right, #a0d6e4, #8cc8d6);
    color: #0077b6;
    transform: scale(1.03);
}
/*!!!!------!!!!*/


