/* Navigation */
.header {
    width: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: .4s;
}

.nav {
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: .3s;
}

.nav__logo:hover {
    color: var(--primary-color);
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background: rgba(11, 11, 11, 0.95);
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        padding: 4rem 0 0 3rem;
        transition: .4s;
        backdrop-filter: blur(10px);
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    transition: .3s;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

.nav__toggle {
    font-size: 1.2rem;
    color: var(--title-color);
    cursor: pointer;
}

/* Show menu */
.show-menu {
    right: 0 !important;
}

/* Change background header */
.scroll-header {
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

/* Buttons */
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1.25rem 2.5rem;
    font-weight: var(--font-semi-bold);
    border-radius: .5rem;
    transition: .3s;
}

.button:hover {
    background-color: var(--primary-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 92, 0, 0.3);
}

/* Active link */
.active-link {
    color: var(--primary-color);
    position: relative;
}

.active-link::after {
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
}

/* News */
.news__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.news__card {
    padding: 2rem;
    border-radius: 1rem;
    transition: .3s;
}

.news__card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.news__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
}

.news__description {
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1-5);
    color: var(--text-color-light);
}

.news__button {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--small-font-size);
    color: var(--primary-color);
}

/* Training */
.training__container {
    grid-template-columns: 1fr;
}

.training__info {
    padding: 2rem;
    border-radius: 1rem;
}

.training__subtitle {
    margin-bottom: var(--mb-1-5);
}

.training__text {
    margin-bottom: var(--mb-1);
}

@media screen and (min-width: 767px) {
    .training__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer__container {
    row-gap: 3.5rem;
}

.footer__logo {
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
    display: block;
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: .75rem;
}

.footer__link {
    color: var(--text-color);
    transition: .3s;
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__social {
    display: flex;
    column-gap: 1.5rem;
}

.footer__social-link {
    font-size: 1.25rem;
    color: var(--title-color);
    transition: .3s;
}

.footer__social-link:hover {
    color: var(--primary-color);
}

.footer__copy {
    display: block;
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    margin-top: 4.5rem;
}