@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg-body: #1d1b1a;
    --primary-color: #eb6608;
    --fontSize-title: 40px;
    --fontSize-paragraph: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

p,
a,
li,
td,
input,
label,
select {
    font-family: 'Work Sans', sans-serif;
}

body {
    background: var(--bg-body);
}

header {
    padding-top: 80px;
}

nav.bg-gym {
    background: var(--bg-body);
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    top: 20px;
}

nav .navbar-brand img {
    width: 200px;
}

nav.bg-gym .navbar-collapse {
    justify-content: flex-end;
}

nav.bg-gym ul li {
    margin-top: 14px;
}

nav.bg-gym ul li a {
    color: #ffff;
    position: relative;
    font-size: 18px;
    margin: 0 12px;
}

nav.bg-gym ul li a::after {
    width: 20%;
    height: 2px;
    background: transparent;
    content: "";
    position: absolute;
    bottom: 2px;
    left: 9px;
    transition: .4s;
}

nav.bg-gym ul li a:hover {
    color: var(--primary-color);
}

nav.bg-gym ul li a:hover::after {
    background: var(--primary-color);
    width: 40%;
}

nav.bg-gym ul li.login,
nav.bg-gym ul li.logout {
    margin-left: 200px;
    margin-right: 30px;
}

nav.bg-gym ul li.auth-btn a {
    display: block;
    padding: 12px;
    padding-left: 30px !important;
    padding-right: 30px !important;
    color: #ffff;
    background: var(--primary-color);
    border-radius: 4px;
}

nav.bg-gym ul li.auth-btn a:hover {
    background: #c75006;
}

#hero {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

#hero span.auto-type {
    color: var(--primary-color);
}

.typed-cursor {
    color: var(--primary-color);
}

#hero .cont-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero .cont-photo img {
    position: relative;
    z-index: 2;
    width: 400px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

#hero .cont-photo::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: radial-gradient(circle at 35% 35%, var(--primary-color) 0%, #c75006 85%);
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 60%;
    filter: blur(45px);
    opacity: 0.85;
    z-index: 1;
}

#hero .cont-info {
    padding-left: 60px;
}

#hero .cont-info h1 {
    color: #ffff;
    font-size: 60px;
    margin-bottom: 30px;
    font-weight: 700;
}

#hero .cont-info h1 span {
    border-bottom: 12px solid #ffff;
}

#hero .cont-info p {
    color: #d3d3d3;
    font-size: var(--fontSize-paragraph);
    margin-bottom: 60px;
}

#hero .cont-info .featured h2 {
    color: #d3d3d3;
    font-size: var(--fontSize-title);
}

#hero .cont-info .featured p {
    font-size: 14px;
}

.span-hero {
    color: var(--primary-color);
}

.hero-text-mobile {
    display: none;
}

#services {
    width: 100%;
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
}

#services h2 {
    color: #ffff;
    font-size: var(--fontSize-title);
    font-weight: 700;
}

#services p {
    color: #d3d3d3;
    font-size: var(--fontSize-paragraph);
}

#services .row {
    padding-top: 70px;
}

#services .card-services {
    background: #323333;
    border-radius: 4px;
    position: relative;
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 40px;
    text-align: left;
    transition: .4s;
    max-width: 280px;
    margin: 0 auto;
    margin-bottom: 70px;
}

#services .card-services:hover {
    background: var(--primary-color);
}

#services .card-services img {
    background: #ffff;
    width: 70px;
    padding: 15px;
    border-radius: 4px;
    position: absolute;
    top: -30px;
    left: 30px;
}

#services .card-services h3 {
    text-align: right;
    color: #ffff;
    font-size: 40px;
    margin-bottom: 20px;
}

#services .card-services h4 {
    color: #ffff;
    font-weight: 600;
    font-size: 18px;
    text-align: left;
    margin-bottom: 15px;
}

#services .card-services p {
    font-size: 16px;
    color: #d3d3d3;
    text-align: left;
    line-height: 30px;
    margin-bottom: 15px;
}

#services .card-services a {
    color: #d3d3d3;
    text-align: left;
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 2px solid #d3d3d3;
}

#classes {
    width: 100%;
    position: relative;
    text-align: left;
    padding: 140px 0 100px;
}

#classes h2 {
    font-size: var(--fontSize-title);
    color: #ffff;
    font-weight: 700;
    position: relative;
    margin-bottom: 70px;
}

#classes h2::after {
    width: 70%;
    height: 2px;
    background: #ffff;
    position: absolute;
    content: "";
    right: 0;
    top: 52%;
}

#classes .card-classes {
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

#classes .card-classes img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px 4px 0 0;
    display: block;
}

#classes .card-classes .cont-info {
    background: #323333;
    padding: 14px;
    border-radius: 0 0 4px 4px;
    transition: .4s;
}

#classes .card-classes .cont-info:hover {
    background-color: var(--primary-color);
}

.card-classes .cont-info h3 {
    font-size: 18px;
    color: #ffff;
    font: 600;
}

.card-classes .cont-info p {
    color: #d3d3d3;
    font-size: 16px;
    margin: 0;
}

#memberships {
    width: 100%;
    position: relative;
    padding: 40px 0 100px;
}

#memberships>.container>h2 {
    color: #ffff;
    font-size: var(--fontSize-title);
    font-weight: 700;
    margin-top: 100px;
    margin-bottom: 30px;
    text-align: center;
}

#memberships>.container>p {
    font-size: var(--fontSize-paragraph);
    color: #d3d3d3;
    text-align: center;
}

#plans .row {
    gap: 30px;
}

.card-plan {
    background: #323333;
    max-width: 340px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

.card-plan .plan-benefits {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 1.2s ease-in-out, opacity 1s ease-in-out;
}

.card-plan:hover .plan-benefits {
    max-height: 700px;
    opacity: 1;
}

.card-plan .plan-benefits span {
    font-size: 13px;
}

.card-plan .card-body h2 {
    color: #ffff;
}

.card-plan .display-5 {
    color: #ffff;
    font-weight: 700;
}

.card-plan .fs-6 {
    color: #d3d3d3;
}

.card-plan .plan-benefits span {
    color: #d3d3d3;
}

.btn-color {
    background: var(--primary-color);
    color: #ffff;
    padding: 12px 24px;
}

.btn-color:hover {
    background: #c75006;
    color: #ffff;
}

#comments {
    text-align: center;
    width: 100%;
    position: relative;
    padding: 140px 0 140px;
}

#comments h2 {
    color: #ffff;
    font-size: var(--fontSize-title);
    font-weight: 700;
    margin-bottom: 20px;
}

#comments .subtitle {
    color: #d3d3d3;
    font-size: var(--fontSize-paragraph);
    margin-bottom: 70px;
}

#comments .carousel-item {
    padding: 60px 20px;
}

#comments .comment-card {
    background: var(--primary-color);
    padding: 60px 80px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

#comments .comment-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffff;
    margin-bottom: 25px;
}

#comments .comment-card h3 {
    font-size: 28px;
    color: #ffff;
    margin-bottom: 10px;
    font-weight: 600;
}

#comments .comment-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 25px;
    font-style: italic;
}

#comments .comment-text {
    color: #ffff;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

#comments .carousel-control-prev,
#comments .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#comments .carousel-control-prev {
    left: 10%;
}

#comments .carousel-control-next {
    right: 10%;
}

#comments .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

#comments .carousel-indicators button.active {
    background-color: #ffff;
}

footer {
    background: #323333;
}

footer a {
    text-decoration: none;
    color: #ffff;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer i {
    font-size: 25px;
}

footer img {
    width: 220px;
}

footer h5 {
    color: var(--primary-color);
}

.p-footer {
    text-align: center;
}

@media screen and (min-width:320px) and (max-width:990px) {
    header nav button.navbar-toggler {
        background: var(--primary-color);
    }

    nav.bg-gym ul li.login {
        margin-left: 0;
        margin-right: 0;
    }

    nav.bg-gym ul li.register a {
        display: inline-block;
    }

    #hero {
        text-align: center;
    }

    #hero .cont-photo {
        width: 100%;
    }

    #hero .cont-info {
        padding-left: 0;
        padding-right: 0;
    }

    #hero .cont-info .row {
        margin-left: 0;
        margin-right: 0;
    }

    #hero .cont-info .featured {
        padding-left: 15px;
        padding-right: 15px;
    }

    #hero span.auto-type {
        display: inline-block;
        min-width: 150px;
        text-align: center;
    }

    .hero-text-desktop {
        display: none;
    }

    .hero-text-mobile {
        display: inline;
    }

    #classes .card-classes {
        margin-bottom: 30px;
    }

    #classes h2::after {
        width: 25%;
    }
}