@font-face {
    font-family: 'UrbanStorm';
    src: url(fonts/UrbanStorm-j9Rl0.otf);
}

@font-face {
    font-family: 'Momcake';
    src: url(fonts/MomcakeThin-9Y6aZ.otf);
}

body {
    background-color: rgb(0, 0, 0);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body h1,a{
    font-family: 'UrbanStorm';
    cursor: pointer;
}
body h1:hover{
    color: #D13E3E;
}
body p{
    font-size: 15px;
    font-family:'Momcake';
    cursor: pointer;
}
body p:hover{
    opacity: 100%;
}
/* Header styles */
.header {
    background-image: url(images/headerbackground.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
}

.header-wrapper {
    width: 1200px;
    margin: 0 auto;
}

.nav-wrapper {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
}

.logo {
width:100px
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-right: 150px;
    flex-wrap: wrap;
}

.nav-items{
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.5s;
}


.nav-items:hover{
    color: #D13E3E;
}

.sign-up:hover {
    background-color: #E1110E;
    font-size: 20px;
    color: #fff;
}

.sign-up {
    color: #1F1F1F;
    text-decoration: none;
    font-size: 20px;
    transition: 0.5s;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px;
    border-color: #902424;
    background-color: #902424;
    transition: background-color 0.2s, border-color 0.3s;
}


.header-text {
    margin-top: 10px;
    display: flex;
    height: calc(100vh - 80px);
    width: 200px;
}

.right-text{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 300px;
}

.largest-text {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    transition: ease-in-out 0.3s;
}

.largest-text:hover{
    font-size: 35px;
}


.train {
    margin-top: 40px;
    color:#1F1F1F;;
    border: 2px solid #902424;
    box-sizing: border-box;
    max-width: 120px;
    text-align: center;
    padding: 10px 10px;
    display: inline-block;
    background-color: #902424;
    transition: 3s, ease-in-out;
    border-radius: 10px;
}
.train:hover{
    color: #fff;
    background-color: #E1110E;
}
/* Main section */
.main-wrapper {
    width: 1200px;
    margin: 0 auto;
}

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

.top-main{
display: flex;
width: 100%;
height: auto;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.right-top-main{
display: flex;
flex-direction: column;
width: 500px;
}
.right-top-toptext{
width: 500px;
}

.right-top-toptext h1{
color: #fff;
font-size: 30px;
color: #902424;
}

.right-top-main-image{
background-color: #902424;
margin-top: 20px;
height: 300px;
width: 500px;
background-image: url("images/right-main-image.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
border-radius: 10px;
opacity: 0.5;
transition: 0.3s ease-in-out;
}

.right-top-main-image:hover{
opacity:100%;
}

.right-top-bottomtext{
padding-top: 20px;    
width: 500px;
height: 50px;
display: flex;
justify-content: space-between;
align-items: center;
}


.right-bottom h1{
    color: #902424;

}
.right-bottom{
    width: 200px;
}

.left-bottom{
    width: 300px;
}
.left-bottom p{
    color: #fff;
    opacity: 0.5;
    font-size: 15px;
    padding-top: 6px;
}
    

.left-top-main{
display: flex;
flex-direction: column;
}

.left-top-main-toptext{
width: 600px;
}

.left-top-main-toptext p{
color: #fff;
opacity: 0.5;
}
    

.main-apps {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.main-boxes {
    background-color: #fff;
    width: 200px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: #fff;
    transition: 0.5s;
}

.main-boxes a{
    padding-bottom: 20px;
}

.main-boxes:hover{
    border: 2px solid #D13E3E;
    border-radius: 10px;
    opacity: 100%;
    color: #D13E3E;
}

.main-boxes:hover .main-boxes a{
    color: #D13E3E;
}


.box1 {
    background-image: url(images/app1.jpg);
    background-size: cover;
    text-align: center;
    background-position: center;
    opacity: 0.5;
}

.box2 {
    background-image: url(images/app2.jpg);
    background-size: cover;
    text-align: center;
    background-position: center;
    opacity: 0.5;
}


.box3 {
    background-image: url(images/app3.jpg);
    background-size: cover;
    text-align: center;
    background-position: center;
    opacity: 0.5;
}

/* -------------Access section---------------- */
.access {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.top-text {
    display: flex;
    flex-direction: column;
    width: auto;
    height: 100px;
}

.find-gym {
    display: flex;
    margin-top: 50px;
}

.gym-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.gym-box1 {
    display: flex;
    flex-direction: column;
}

.top-text h1 {
    color: #902424;
    font-size: 30px;
}

.top-text p {
    padding-top: 15px;
    color: #fff;
    opacity: 0.5;
}

.find-gym-content {
    background-color: #902424;
    margin-top: 50px;
    height: 300px;
    width: 500px;
    background-image: url("images/arctic-gym1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gym-box2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gym-photo2 {
    background-color: #902424;
    margin-top: 50px;
    height: 300px;
    width: 500px;
    background-image: url("images/arctic-gym2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gym-box2-bottom-text{
    display: flex;
    gap: 50px;
}

.gym-box2-bottom-text h1{
    color: #fff;
    font-size: 30px;
    color: #902424;
}

.gym-box2-bottom-text p{
    color: #fff;
    padding-top: 6px;
    opacity: 0.5;
}


/* -------------buy-gear------- */
.buy-gear{
    display: flex;
    width: 100%;
    margin-top: 30px;
    flex-direction: column;
}

.buy-gear-text{
    display: flex;
    height: 100px;
    align-content: center;
    justify-content: space-between;
}

.buy-gear-text h1{
color: #902424;
font-size: 30px;
font-weight: bold;
}
.gear-header{
width: 3000px;
}
.buy-gear-text p{
color: #fff;
opacity: 0.5;
}

.buy-gear-content{
    width: 100%;
    display: flex;
    gap: 50px;
    padding-top: 20px;
    justify-content: center;
}
.content{
    padding-top: 20px;
    width: 300px;
    height: 200px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
}

.content img{
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*----------FOOTER-------------*/
.footer{
    padding-top: 80px;
    display: flex;
    width: 100%;
    justify-content: center;
    background-position: center;
    background-size: cover;
    gap: 20px;
}

.footer-logo{
    width: 200px;
}

.footer h1,p{
    color: #fff;
}
.f-texts{
    width:200px;
    height: 200px;
    justify-content: center;
}

.footer-subs p{
padding-top: 5px;
opacity: 50%;
}


/* Media Query for Tablets (768px and below) */
@media (max-width: 768px) {
    /* General Layout Adjustments */
    .header-wrapper, .main-wrapper {
        max-width: 100%;
        padding: 0 20px; /* Add padding for better spacing on small screens */
    }

    /* Navigation Bar */
    .nav {
        display: none; /* Hide the navigation by default */
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center;
        gap: 10px;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px 0;
    }

    .nav.active {
        display: flex; /* Show navigation when burger menu is active */
    }

    .burger-menu {
        display: flex; /* Display burger menu */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 100;
    }

    .burger-menu span {
        width: 100%;
        height: 3px;
        background-color: #fff;
    }

    .sign-up {
        margin-top: 10px;
        width: 80%;
        text-align: center;
    }

    /* Typography */
    .largest-text {
        font-size: 25px; /* Adjust font size for smaller screens */
    }

    .nav-items {
        font-size: 14px; /* Shrink navigation text */
    }

    /* Images and Boxes */
    .right-top-main-image, .gym-photo2, .find-gym-content {
        width: 100%; /* Full width for smaller screens */
        height: auto; /* Maintain aspect ratio */
    }

    .main-boxes {
        width: 90%; /* Adjust box width for smaller screens */
        height: auto; /* Let height adjust naturally */
    }

    .content {
        width: 90%; /* Adjust content box size */
    }

    /* Flexbox Adjustments */
    .top-main {
        flex-direction: column; /* Stack sections vertically */
        align-items: center;
    }

    .gym-boxes {
        flex-direction: column; /* Stack gym sections */
        gap: 20px; /* Add spacing between boxes */
    }

    .find-gym, .buy-gear {
        flex-direction: column; /* Stack sections */
    }

    /* Footer */
    .footer {
        flex-direction: column; /* Stack footer items */
        gap: 10px;
        padding: 20px; /* Adjust padding for mobile */
    }

    .f-texts {
        text-align: center; /* Center-align footer text */
    }
}

/* Media Query for Phones (480px and below) */
@media (max-width: 480px) {
    /* Navigation */
    .nav-items, .sign-up {
        font-size: 12px; /* Further reduce font size for phones */
    }

    /* Typography */
    .largest-text {
        font-size: 20px; /* Further reduce heading size */
    }

    .right-top-toptext h1 {
        font-size: 18px; /* Smaller heading */
    }

    .left-bottom p {
        font-size: 13px; /* Smaller paragraph text */
    }

    /* Boxes and Images */
    .main-boxes {
        width: 100%; /* Full width for very small screens */
        height: auto;
    }

    .content {
        width: 100%; /* Full width for content boxes */
    }
}
