:root {
    --white-color: white;
    --dark-color: #171717;
    --medium-gray-color: #222222;
    --gray-color: #555656;
    --lightgray-color: lightgray;
    --accent-color-1: #f6be00;
    --accent-color-2: #f7f8f3;
    --accent-color-3: #f7f8f3;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins,
kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd,
ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

hr {
    width: 100%;
    border: none;
    border-top: 1px solid var(--lightgray-color);
}

.text-accent {
    color: var(--accent-color-1);
}

.button {
    color: var(--dark-color);
    width: fit-content;
    padding: .8rem 1rem;
    border-radius: 25px;
    background: var(--accent-color-1);
    font-size: small;
    text-transform: uppercase;
}

header {
    position: sticky;
    top: 0;
    height: 4rem;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    background-color: var(--dark-color);
    z-index: 1;
}

.header-desktop {
    width: 1400px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white-color);
    text-transform: uppercase;
    font-weight: 900;
    font-size: x-large;
}

.logo-dot {
    font-size: small;
}

.navigation {
    display: none;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.menu li a {
    color: var(--white-color);
}

.menu .menu-divider {
    display: none;
}

.mobile-navigation {
    cursor: pointer;
}

.line {
    width: 2rem;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: .2s;
    border-radius: 1px;
}

.open .line1 {
    transform: translateY(9px) rotate(-45deg);
}

.open .line2 {
    opacity: 0;
}

.open .line3 {
    transform: translateY(-9px) rotate(45deg);
}

.open .mobile-menu {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3rem;
    align-items: center;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    background: var(--accent-color-2);
    cursor: initial;
    list-style: none;
}

.mobile-menu li {
    position: relative;
    width: 14rem;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: .1em .1em 0 rgba(182, 182, 182, 0.5);
    z-index: 1;
}

.mobile-menu li:before {
    content: "";
    display: inline-block;
    width: 3rem;
    height: 3rem;
    position: absolute;
    left: -1rem;
    bottom: 1rem;
    background: var(--accent-color-1);
    z-index: -1;
}

.mobile-menu {
    display: none;
}

main {
    display: flex;
    flex-direction: column;
}

.hero {
    display: flex;
}

.hero-optional {
    display: none;
    height: 40vh;
    width: 100%;
    background: url(https://www.portel.pl/newsimg/duze/p1269/wiktor-franc-dolaczyl-do-drugoligowcow-elblaskiego-126978b.jpg) center;
    background-size: cover;
    gap: 1rem;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1rem 2rem 1rem;
}

.hero-image {
    height: 40vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(/img/wf1.webp) 0 25%;
    background-size: cover;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1rem 2rem 1rem;
}

.hero-title, .hero-subtitle {
    color: var(--white-color);
    font-weight: 900;
    font-size: xx-large;
    text-shadow: .1em .1em 0 var(--dark-color);
}

.hero-subtitle {
    font-weight: normal;
    font-size: initial;
}

.row {
    padding: 4rem 1rem;
}

.description-wrapper {
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    line-height: 1.5;
}

.description {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.description-text {
    color: var(--gray-color);
}

.portfolio {
    display: flex;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url(https://ilgeniodelpingpong.files.wordpress.com/2019/09/rah_30856869992.jpg) center;
    background-size: cover;
    color: var(--white-color);
}

.portfolio-desktop {
    width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.videos {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.video {
    width: 100%;
    height: 52vw;
    border: 1px solid var(--gray-color);
}

.portfolio-list {
    list-style: none;
}

.portfolio-list li {
    line-height: 1.8;
}

.portfolio-list li::before {
    content: "●";
    color: var(--accent-color-1);
    padding-right: .5rem;
}

.workouts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--accent-color-2);
}

.skills {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.skill-group {
    max-width: 16rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.skill {
    height: 10rem;
    width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--accent-color-1);
    border-radius: 50%;
}

.skill-img {
    height: 50%;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.testimonial-group, .articles-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-item {
    max-width: 22.5rem;
    padding: 1rem;
    border: 1px solid var(--lightgray-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-self: stretch;
}

.quote-mark {
    position: relative;
    top: 1rem;
    width: 3rem;
}

.testimonial-content {
    padding: 3rem 1rem 5rem 1rem;
    background: var(--accent-color-3);
}

.person {
    position: relative;
    top: -2.5rem;
    width: 5rem;
    border-radius: 50%;
}

.person-name {
    position: relative;
    top: -1.5rem;
}

.person-city {
    position: relative;
    top: -1rem;
    font-size: .9rem;
    color: var(--gray-color);
    text-transform: uppercase;
}

.articles {
    background: var(--accent-color-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.article-link {
    color: inherit;
}

.article-link:hover {
    color: var(--medium-gray-color);
}

.contact {
    background: var(--dark-color);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: center;
}

.contact-details {
    max-width: 22.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.contact-img {
    height: 1.5rem;
}

.phone, .email {
    cursor: pointer;
    color: var(--white-color);
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.footer .logo {
    color: var(--dark-color);
}

.footer-menu {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.menu-divider {
    display: none;
    height: .75rem;
    width: 2px;
    background: var(--gray-color);
}

.copyrights {
    padding: 1rem;
    display: flex;
    justify-content: center;
    background: var(--medium-gray-color);
    color: var(--white-color);
}

.copyrights-desktop {
    width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.social {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    height: 1.5rem;
}

@media all and (min-width: 630px) {
    .menu-divider {
        display: initial;
    }

    .hero-optional {
        display: flex;
    }

    .desktop-hide {
        display: none;
    }
}

@media all and (min-width: 768px) {
    .navigation {
        display: block;
    }

    .mobile-navigation {
        display: none;
    }

    .hero-image, .hero-optional {
        height: 50vh;
    }

    .video {
        width: 661px;
        height: 360px;
    }

    .copyrights-desktop {
        flex-direction: initial;
        justify-content: space-between;
    }
}

@media all and (min-width: 992px) {
    .menu .menu-divider {
        display: initial;
    }

    .hero-image, .hero-optional {
        height: 55vh;
    }

    .hero-optional {
        align-items: flex-end;
    }

    .hero-subtitle {
        text-align: right;
    }
}

@media all and (min-width: 1400px) {
    .videos {
        flex-wrap: initial;
        justify-content: space-between;
    }
}
