html {
    background-color: black;
    scroll-behavior: smooth;
}

body {
    background-color: #171616;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px 0 30px;
    background-color: #0A0707;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.navbar-nav.active {
    left: 0;
}
.navbar-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}
.navbar-nav {
    transition: all 0.4s ease-in;
}
.navbar-nav a{
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1.15rem;
    background-color: transparent;
    padding: 8px;
    border: 10px;
    transition: all 0.2s ease;
    background: linear-gradient(90deg, #ffffff 50%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-nav .no-hover{
    background: none;
    -webkit-text-fill-color: white;
    background-color: #c11313;
}
.navbar-nav .no-hover:hover{
    border-bottom: none;
    font-weight: normal;
}
.navbar-nav a:hover {
    border-bottom: 4px solid #c11313;
    font-weight: bold;
}
.login-register-page {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container-login {
    margin-top: 100px;
    position: relative;
    width: 825px;
    height: 520px;
    border-radius: 30px;
    margin: 20px;
    /* box-shadow: 0 0 15px rgba(238, 238, 238, 0.548); */
    overflow: hidden;
    background: url(assets/background-contact.png) no-repeat center center;
    background-size: cover;
}
.form-box-login, .form-box-regist {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
    transition: 0.6s ease-in-out 0.8s, visibility 0s 0.6s;
}
.container-login.active .form-box-login, .form-box-regist {
    right: 50%;
}
.form-box-regist {
    visibility: hidden;
    right: 0;
}
.container-login.active .form-box-regist {
    visibility: visible;
    right: 50%;
}
.form-box-login {
    visibility: visible;
    right: 0;
}
.container-login.active .form-box-login {
    visibility: hidden;
    right: 50%;
}
form {
    width: 100%;
}
.container-login h1{
    font-size: 40px;
    margin: -10px 0px;
}
.input-box {
    position: relative;
    margin: 30px 0px;
    background-color: transparent;
}
.input-box input {
    width: 70%;
    padding: 15px 35px 15px 20px;
    border-radius: 10px;
    border: 1px solid white;
    outline: none;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
}
.input-box input::placeholder {
    color: rgba(255, 255, 255, 0.862);
}
.input-box i {
    position: absolute;
    transform: translateY(50%);
    top: 6px;
    right: 12%;
    font-size: 17px;
    color: #909090;
}
.btn-login{
    width: 84%;
    height: 45px;
    border-radius: 10px;
    background-color: #AA0101;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
}
.toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}
.toggle-box::before{
    content: '';
    position: absolute;
    border-radius: 150px;
    left: -250%;
    width: 300%;
    height: 100%;
    background-color: #AA0101;
    z-index: 2;
    transition: 0.8s ease-in-out;
}
.container-login.active .toggle-box::before{
    left: 50%;
}
.toggle-panel-left, .toggle-panel-right {
    position: absolute;
    width: 50%;
    height: 100%;
    color: white;
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s ease-in;
}
.toggle-panel-left {
    left: 0;
    transition: ease-in-out 1.2s; 
}
.container-login.active .toggle-panel-left {
    left: -50%;
    transition: ease-in-out 0.6s; 
}

.toggle-panel-right {
    right: -50%;
    transition: ease-in-out 0.6s;
}
.container-login.active .toggle-panel-right {
    right: 0%;
    transition: ease-in-out 1.2s;
}
.btn-register-now, .btn-login-now{
    width: 50%;
    height: 45px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.0);
    color: white;
    border: 2px solid white;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
}

.home {
    background-image: url(assets/background-home.png);
    background-size: cover;
    background-position: center;
    background-attachment: none;
    padding-top: 50px;
    padding-bottom: 110px;
}
.home-page {
    margin-top: 200px;
    margin-left: 130px;
    padding: 50px;
    width: 400px;
    height: 300px;
    position: relative;
}
.home-page h1 {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    background: linear-gradient(90deg, #310606, #af0e0e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Kanit', sans-serif;
    position: absolute;
    text-align: right;
}
.home-page a {
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
}
.home-page p {
    font-family: 'Montserrat', sans-serif;   
}
.hde-home {
    top: -10%;
}
.health-home {
    top: -2%;
}
.home-paragraph {
    color: white; 
}
.home-link{
    font-weight: bold;
    color: white;
}
.login-link{
    margin-right: 10px;
    padding: 5px 20px;
    background-color: #770b0b;
    transition: all 0.2s ease;
}

.sign-up-link{
    padding: 5px 20px;
    font-weight: lighter;
    border: 1px solid white;
    transition: all 0.2s ease;
}
.sign-up-link:hover{
    color: black;
    background-color: white;
}
.login-link:hover{
    color: #770b0b;
    background-color: white;
}
.about-page {
    position: relative;
    padding-top: 150px;
}
.about-us {
    top: 4%;
    right: 6%;
}
.health-about{
    top: 10%;
    right: 6%;
}
.about-section h1 {
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(45deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    position: absolute;
    text-align: right;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.image-box {
    width: 200px;
    height: 350px;
    overflow: hidden;
    transform: skewX(-10deg);
    position: relative;
    background: #171616;
    margin-top: 40px;
}

.hamburger-container button {
    display: none;
    background-color: transparent;
    border: none;
}

.hamburger-container button i{
    font-size: 20px;
    color: white;
}

.hamburger-container{
    display: none;
}

.image-photo {
    width: 120%;  
    height: 100%;
    object-fit: cover;
    transform: skewX(10deg);
    position: relative;
    left: -10%;
    filter: brightness(0.8);
}

.about-text {
    color: white;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-left: 45px;
    margin-right: 45px;
    margin-top: 50px;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 0px;
}

.program {
    font-family: 'Montserrat', sans-serif;
    padding-top: 70px;
    padding-bottom: 150px;
}
.program-info{
    display: flex;
    flex-direction: column;
    margin: 0 0 0 40px;
}
.program-info h1{
    font-size: 45px;
    font-weight: bold;
    background: linear-gradient(45deg, #ffffff 0%, #a0a0a000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: -20px;
}
.program-info h2{
    font-size: 30px;
    color: white;
    font-weight: normal;    
}
.program-list{
    font-size: 20px;
    color: white;
    display: flex;
    gap: 270px;
    margin-left: -110px;
    margin-bottom: -30px;
}
.container-program {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.item-program{
    background-color: #909090;
    margin: 0 5px 0 5px;
    display: flex;
    flex-direction: column;
    padding: 30px 0px 1px 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}
.item-program h1 {
    font-size: 30px;
    margin-bottom: 25px;
    margin-top: -15px;
}
.item-program p {
    font-size: 20px;
}
.item-program .divider-program {
    width: 120px;
    height: 7px;
    background-color: #c11313;
    border-radius: 20px;
    margin-left: 0px;
}
.item-program:nth-child(2),
.item-program:nth-child(3),
.item-program:nth-child(4),
.item-program:nth-child(5),
.item-program:nth-child(6),
.item-program:nth-child(7),
.item-program:nth-child(8),
.item-program:nth-child(9),
.item-program:nth-child(10),
.item-program:nth-child(11),
.item-program:nth-child(12),
.item-program:nth-child(13),
.item-program:nth-child(14),
.item-program:nth-child(15),
.item-program:nth-child(16) {
    width: 27%;
    height: 150px;
}
.item-program:nth-child(2){
    background-image: url(assets/workout-1.png);
}
.item-program:nth-child(3){
    background-image: url(assets/schedule-1.png);
}
.item-program:nth-child(4){
    background-image: url(assets/nutritions-foods-1.png);
}
.item-program:nth-child(5){
    background-image: url(assets/workout-2.png);
}
.item-program:nth-child(6){
    background-image: url(assets/schedule-2.png);
}
.item-program:nth-child(7){
    background-image: url(assets/nutritions-foods-2.png);
}
.item-program:nth-child(8){
    background-image: url(assets/workout-3.png);
}
.item-program:nth-child(9){
    background-image: url(assets/schedule-3.png);
}
.item-program:nth-child(10){
    background-image: url(assets/nutritions-foods-3.png);
}
.item-program:nth-child(11){
    background-image: url(assets/workout-4.png);
}
.item-program:nth-child(12){
    background-image: url(assets/schedule-4.png);
}
.item-program:nth-child(13){
    background-image: url(assets/nutritions-foods-4.png);
}
.item-program:nth-child(14){
    background-image: url(assets/workout-5.png);
}
.item-program:nth-child(15){
    background-image: url(assets/schedule-5.png);
}
.item-program:nth-child(16){
    background-image: url(assets/nutritions-foods-5.png);
}
.item-program:hover{
    opacity: 50%;
    transform: scale(1.1);
}


.contact {
    background-color: black;
}
.contact-section {
    padding-top: 30px;
}
.contact-section h1 {
    font-size: 55px;
    background: linear-gradient(45deg, #ffffff 0%, #46464692 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Kanit', sans-serif;
    margin: 0 0 0 50px;
}
.contact-section h2 {
    font-size: 2.5em;
    margin: auto;
    padding: 0px 0 20px 50px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.divider {
    width: 260px;
    height: 12px;
    background-color: #c11313;
    border-radius: 20px;
    margin-left: 50px;
}

.contact-section p {
    font-size: 20px;
    text-align: justify;
    margin-right: 200px;
    margin-left: 48px;
    width: 800px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.container-footer{
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}
.social-media {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 0;
} 
.social-media h3 {
    color: white;
    font-size: 1.6rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    margin-left: 50px;
}
.container-social-media {
    width: fit-content;
    height: fit-content;
    padding: 12px;
    border-radius: 50%;
    background-color: #c11313;
}
.container-social-media img {
    width: 2.2rem;
    display: flex;
}
.container-social-media{
    transition: 0.2s ease;
}
.container-social-media:hover {
    transform: scale(1.3);
}
.shortcut ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    list-style: none;
}
.shortcut {
    transition: all 0.4s ease-in;
    position: absolute;
    right: 15%;
    transform: translateY(-50%);
}
.shortcut a{
    text-decoration: none;
    color: white;
    font-size: 1.6rem;
    padding: 8px;
    border: 10px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}
.shortcut a:hover{
    color: #c11313;
}
.copyright {
    display: flex;
    font-size: 1.3rem;
    justify-content: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 20px 0;
}

@media (max-width: 1400px) {
    .program-list {
        font-size: 14px;
        gap: 200px;
        margin-left: 20px;
    }
}

@media (max-width: 1200px) {
    .contact-section p {
        width: auto;
        margin-right: 50px;
    }
    
    .shortcut {
        position: static;
        transform: none;
        margin: 30px 0;
        padding-left: 50px;
    }
    
    .container-footer {
        flex-direction: column;
    }
    
    .social-media {
        margin-bottom: 20px;
    }
}
@media (max-width: 1024px) {
    body {overflow-x: hidden;}
    .program-list {
        display: none;
    }
    .home-page {
        margin-top: 150px;
        margin-left: 10px;
        padding: 50px;
        width: 250px;
        position: relative;
    }
    .home-page h1 {
        font-size: 30px;
    }
    .home-page p {
        font-size: 15px;
    }

    .image-box{
        height: auto;
    }
    .about-section {
        padding-top: 120px;
    }
    .about-us {
        padding-top: 120px;
    }
    .health-about{
        padding-top: 120px;
    }
    .image-container{
        margin-left: 10%;
        width: 85%;
        height: 50%;
   }

    .hamburger-container button {
        display: block;
    }
    
    .hamburger-container{
        display: block;
    }
    .navbar-nav {
        position: absolute;
        left: -120%;
        top: 66px;
        height: 100vh;
        width: 100vw;
        z-index: 9999;
        background-color: #0A0707;
    }

    .navbar-nav ul{
        flex-direction: column;
    }
    .container-login {
        margin-top: 90px;
        height: 85vh;
    }
    .toggle-box::before {
        left: 0;
        width: 100%;
        height: 300%;
        top: -270%;
        border-radius: 15vw;
    }
    .container-login.active .toggle-box::before{
        left: 0;
        top: 70%;
    }
    .form-box-login, .form-box-regist {
        width: 100%;
        height: 70%;
        bottom: 0;
    }
        
    .form-box-login{
        bottom: 0;
    }
    .container-login.active .form-box-login{
        right: 0;
        bottom: 30%;
    }
    .form-box-regist{
        right: 0;
        bottom: 0;
    }
    .container-login.active .form-box-regist{
        right: 0;
        bottom: 30%;
    }
    .toggle-panel-left, .toggle-panel-right{
        width: 100%;
        height: 30%;
    }
    .toggle-panel-left {
        top: 0;
        gap: 0;
        display: flex;
        font-size: 70%;
    }
    .toggle-panel-right h1{
        font-size: 300%;
        margin-top: 15px;
    }
    .container-login.active .toggle-panel-left{
        left: 0;
        top: -30% ;
    }
    .toggle-panel-right {
        right: 0;
        bottom: -35%;
        gap: 0;
        display: flex;
        font-size: 70%;
        padding-top: 20px;
    }
    .container-login.active .toggle-panel-right{
        bottom: 0;
    }
    .about-page {
        padding-top: 0rem;
        position: relative;
    }
    .about-us {
        top: -11%;
        right: 6%;
    }
    .health-about{
        top: -6%;
        right: 6%;
    }
    .about-text {
        font-size: small;
        text-align: justify;
        margin-top: 50px;
    }
    .about-section h1{
        font-size: 35px;
    }
    

    .program-info {
        margin: 0 15px;
        align-items: center;
        text-align: center;
    }
    
    .program-info h1 {
        font-size: 32px;
        margin-bottom: 0;
    }
    
    .program-info h2 {
        font-size: 22px;
        text-align: center;
    }
    
    .program-list {
        flex-direction: column;
        gap: 10px;
        margin: 20px 0;
        align-items: center;
        text-align: center;
    }
    
    .container-program {
        padding: 0 10px;
    }
    
    .item-program:nth-child(2),
    .item-program:nth-child(3),
    .item-program:nth-child(4),
    .item-program:nth-child(5),
    .item-program:nth-child(6),
    .item-program:nth-child(7),
    .item-program:nth-child(8),
    .item-program:nth-child(9),
    .item-program:nth-child(10),
    .item-program:nth-child(11),
    .item-program:nth-child(12),
    .item-program:nth-child(13),
    .item-program:nth-child(14),
    .item-program:nth-child(15),
    .item-program:nth-child(16) {
        width: 100%;
        height: 120px;
    }
    
    .item-program h1 {
        font-size: 24px;
    }
    
    .item-program p {
        font-size: 16px;
    }
    
 
    .contact-section h1 {
        font-size: 2rem;
        margin: 0 20px;
    }
    
    .contact-section h2 {
        font-size: 1.7rem;
        padding: 0 20px 20px 20px;
    }
    
    .divider {
        width: 37%;
        height: 8px;
        margin-left: 20px;
    }
    
    .contact-section p {
        font-size: 1rem;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .container-footer {
        flex-direction: column;
    }
    
    .social-media {
        gap: 10px;
        padding: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
     
    .social-media h3 {
        font-size: 1rem;
        margin: 0 10px;
        width: 100%;
        text-align: center;
    }
    
    .shortcut {
        position: static;
        transform: none;
        margin: 20px 0;
        text-align: center;
        width: 100%;
    }
    
    .shortcut h2 {
        text-align: center;
        padding: 0;
    }
    
    .shortcut-menu {
        align-items: center;
        padding: 0;
    }
    
    .shortcut a {
        font-size: 1.2rem;
    }
}


@media (max-width: 768px) {

    /* .item-program:nth-child(2),
    .item-program:nth-child(3),
    .item-program:nth-child(4),
    .item-program:nth-child(5), */
}