@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');

/* Initial config */
:root {
    --primary-color: #35373b;
    --secondary-color: #F49E0B;
    --primary-color-dark: #1f2125;
    --secondary-color-dark: #d79447;
    --dark: #111317;
    --white: #ffffff;
    --max-width: 1200px;
    --shadow: 0px 2px 8px 0px var(--secondary-light);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    /* background-color: var(--primary-color-dark); */
    background-color: rgba(255, 255, 255, 0.65);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* Larger Devices (Laptops) */
.intro_user {
    z-index: 3;
    background-color: #0000f4;    
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0rem;
}

.intro_user img {
    background-color: var(--white);
    padding: 10px;
    border-radius: 50px;
    width: 4%;
    height: auto;
}

.dateUser {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    color: var(--white);
    font-size: 0.90rem;
    font-weight: 300;
}


/* Main section style */
.main_user {
    padding-top: 1rem;
}

/* Slider style */
.slider-container {
    position: relative;
    max-width: 100vw;
    margin: 5rem auto;
    overflow: hidden;
    /* This is crucial for hiding other slides */
    box-shadow: 0 0px 2px rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.slides {
    /* Slides wrapper using flexbox */
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img,
.slide.turnos {
    width: 100%;
    display: block;
    height: 480px;
    /* height: calc(100vh - 100px); */
    /* Ensures responsiveness */
}

.slide .turnos {
    /* background-color: #ddd; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

/* ---------- */

.cardTurno {
    margin-block: 10px;
    width: 325px;
    background-color: var(--white);
    text-align: center;
    box-shadow: 0 0.4rem 0.9rem rgba(0, 0, 0, 0.2);
    border-radius: 30px;
}

.card_header {
    padding: 0.5rem 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    background-color: #0000f4;
    color: var(--white);
    border-radius: 30px 30px 0rem 0rem;
}

/* TAMAÑO TITULO CARD HEADER */
.card_header span {
    font-size: 1.4rem;
}

.card_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.2rem;
    height: auto;
}

.cardTurno h3 {
    color: var(--dark);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.cardTurno .turno {
    padding: 0.2rem 0.8rem;
    border: 2px solid var(--dark);
    color: var(--dark);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cardTurno .txtTurno,
.cardTurno .usuario {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: o.5rem;
}

/* ---------- */

.arrow {
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Slide count display */
.slider-info {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.excercise {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nameExcercise {
    font-style: italic;
    font-size: 1rem;
    font-weight: 300;
    color: var(--white);
    margin-top: 0.8rem;
}

.excercise-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}

.excercise-info .series,
.excercise-info .repetitions {
    display: flex;
    justify-content: start;
    align-items: center;
    color: var(--white);
}

.excercise-info .number {
    background-color: var(--secondary-color);
    color: var(--dark);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .slider-container {
        max-width: 95%;
        margin: 3rem auto;
    }
}

/* Mobile first */
@media (width < 480px) {
    .intro_user img {
        width: 25%;
        height: auto;
    }

    .dateUser {
        font-size: 0.65rem;
        font-weight: 300;
    }

    #btnAccount {
        font-size: 0.90rem;
        font-weight: 300;
    }

    #btnAccount i {
        font-size: 1.2rem;
    }

    .profile-dropdown-list {
        top: 3.5rem;
        width: 150px;
    }

    .profile-dropdown-list-item a {
        font-size: 0.8rem;
    }

    .profile-dropdown-list-item a i {
        margin-right: 0.5rem;
        font-size: 0.8rem;
        line-height: 1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }
}