@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');
@import 'button.css';
@import 'variables.css';
@import 'navbar.css';
@import 'typography.css';
@import 'card-event.css';
@import 'event.css';
@import 'video.css';
@import 'shop.css';
@import 'form.css';
@import 'about.css';
@import 'contact.css';
@import 'footer.css';
@import 'ham.css';
@import 'shop-details.css';
@import 'profile.css';

/* Import custom font */
@font-face {
    font-family: 'Bauhaus';
    src: url('../fonts/bauhaus93/Bauhaus93Regular.ttf') format('truetype');
    font-display: swap;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    text-decoration: none;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

*::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--floral-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 130px; /* Increased width */
    height: 60px; /* Increased height */
    position: relative;
}
.loader:before {
    content: "";
    position: absolute;
    border-radius: 50px;
    box-shadow: 0 0 0 6px inset var(--persian-green); /* Increased shadow size */
    animation: l3 0.75s infinite alternate;
}
@keyframes l3 {
    0% {
        inset: 0 70px 0 0; /* Adjusted for new size */
    }
    50% {
        inset: 0 0 0 0;
    }
    100% {
        inset: 0 0 0 70px; /* Adjusted for new size */
    }
}

/* Content styling */
.content {
    width: 100%;
    /* padding: clamp(20px, 5vw, 30px); */
    padding-top: 0;
    z-index: 1;
    background-color: var(--floral-white);
}

/* Body styling */
body {
    font-family: 'Unbounded', sans-serif;
    background-color: var(--floral-white);
    color: var(--light-dark);
    margin: 0;
}

/* Anchor tag styling */
a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from parent */
    transition: filter 0.3s ease-in-out; /* Smooth transition */
}

a:hover {
    text-decoration: none; /* Remove underline on hover */
    color: inherit; /* Inherit color from parent on hover */
    filter: brightness(80%); /* Make the color 20% darker on hover */
    transition: filter 0.3s ease-in-out; /* Smooth transition */
}

/* Content styling */

.container-0{
    background-color: var(--floral-white);
    padding: clamp(20px, 5vw, 80px);
}


.container-1 {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.container-1 div {
    flex: 1;
    background-color: var(--white);
    color: var(--persian-green);
    border-radius: var(--border-radius-flex);
    padding: 16px;
    align-content: center;
}


/* Content 2 styling */
.content-2 .container-1 {
    width: 100%;
}

.content-2 .container-1 img {
    width: 100%;
    height: auto;
    background-size: cover;
    margin: 0%;
}

.content-2 .container-2 {
    width: 100%;
    padding: clamp(5px, 2vw, 10px) clamp(20px, 10vw, 200px);
    padding-top: clamp(20px, 5vw, 60px);
    flex-direction: row;
    justify-content: space-between;
    display: flex;
    align-items: center;
    background-color: var(--white);
}

.content-2 .container-3 {
    width: 100%;
    margin: 0;
    padding:  clamp(20px, 1vw, 50px) clamp(20px, 10vw, 200px);
    background-color: var(--white);
}

.content-2 .container-4 {
    width: 100%;
    padding: clamp(20px, 5vw, 60px) clamp(20px, 10vw, 200px);
}

.content-2 .container-5 {
    width: 100%;
    padding: clamp(5px, 2vw, 10px) clamp(20px, 10vw, 200px);
    padding-top: clamp(20px, 5vw, 60px);
    flex-direction: row;
    justify-content: space-between;
    display: flex;
    align-items: center;
    background-color: var(--white);
}


.content-2 img {
    width: 90%;
    background-size: cover;
    margin-top: 20px;
}


.error-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.img-background-title{
    position: relative;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.img-background-title img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; /* Zoom for desktop */
    height: 100vh;
    z-index: 0;
    background-color: var(--floral-white);
    object-fit: cover;
    transition: filter 0.3s ease-in-out;
    overflow: hidden;
    filter: brightness(0.5);
}

.curved-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -150%);
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.curved-text-container text {
    font-size: 42px;
    font-weight: 500;
    fill: var(--white);
    font-family: 'Unbounded', sans-serif;
}

.strava-section .text-box{
    display: flex;
    z-index: 1;
}

.strava-section .text-box h3 {
    text-align: end;
    font-size: 48px;
    flex: 1;
    z-index: 1;
    color: var(--white);
}


.strava-section .text-box p{
    flex: 1;
    text-align: start;
    z-index: 1;
    color: var(--white);
}

@media (max-width: 768px) {
    .strava-section .text-box h3 {
        font-size: 22px; /* Smaller font size for mobile */
    }

    .strava-section .text-box p {
        font-size: 8px; /* Smaller font size for mobile */
    }

    .strava-section .btn {
        font-size: 0.5rem !important; /* Smaller button size for mobile */
    }

    .strava-section .curved-text-container {
        transform: translate(-50%, -85%);
    }
}

@keyframes moveArrow {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.strava-section .bi-arrow-right {
    display: inline-block;
    animation: moveArrow 1s infinite;
}

.strava-section .container-0 {
    position: relative;
    padding: clamp(20px, 5vw, 80px);
    background-color: var(--floral-white); /* Or any background color if necessary */
}

.strava-section .container-0::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/lake_running.JPG'); /* Your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7); /* Adjust brightness and blur as needed */
    z-index: 0; /* Place the pseudo-element behind the content */
}

.strava-section .text-box {
    transform: translateY(10%);
}