/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* ==========================
   ONBOARDING
========================== */

.onboarding{

    width:100%;
    min-height:100vh;

    position:relative;

    background:#9592F0;

    overflow:hidden;
}

/* ==========================
   FONDO NEGRO CURVO
========================== */

.onboarding::after{

    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:100%;
    height:48%;

    background:#000;

    border-top-left-radius:60% 20%;
    border-top-right-radius:40% 15%;

    z-index:1;
}

/* ==========================
   LOGO SUPERIOR
========================== */

.logo{

    position:absolute;

    top:25px;
    left:25px;

    width:90px;

    z-index:5;
}

/* ==========================
   CONTENIDO
========================== */

.contenido{

    width:100%;
    max-width:1200px;

    margin:auto;

    position:relative;
    z-index:10;

    min-height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:80px;
}

/* ==========================
   TEXTO SUPERIOR
========================== */

.texto-superior h2{

    font-size:3rem;
    font-weight:500;

    color:#000;

    margin-bottom:20px;
}

.logo-central{

    width:850px;
    max-width:100%;
}

/* ==========================
   TEXTO INFERIOR
========================== */

.texto-inferior{

    width:45%;

    margin-top:50px;
}

.texto-inferior p{

    color:white;

    font-size:1rem;
    line-height:1.7;
}

.texto-inferior strong{

    font-weight:700;
}

/* ==========================
   BOTON
========================== */

.boton-container{

    position:absolute;

    right:50px;
    bottom:140px;
}

.btn-comenzar{

    background:#9592F0;

    color:white;

    text-decoration:none;

    font-size:1rem;

    padding:15px 50px;

    border-radius:10px;

    display:flex;
    align-items:center;
    gap:15px;

    transition:.3s;
}

.btn-comenzar:hover{

    transform:translateY(-4px);
}

.btn-comenzar span{

    font-size:3rem;
}

/* ==========================
   TABLET
========================== */

@media(max-width:1024px){

    .contenido{
        padding:60px;
    }

    .logo-central{
        width:650px;
    }

    .texto-inferior{
        width:70%;
    }

    .texto-inferior p{
        font-size:1.2rem;
    }

    .btn-comenzar{
        font-size:1.5rem;
        padding:20px 35px;
    }
}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .onboarding::after{

        height:60%;

        border-top-left-radius:50% 10%;
        border-top-right-radius:50% 10%;
    }

    .contenido{

        justify-content:flex-start;

        padding:50px 40px;
    }

    .texto-superior{

        margin-top:120px;
    }

    .texto-superior h2{

        font-size:2.2rem;

        color:white;
    }

    .logo-central{

        width:100%;
    }

    .texto-inferior{

        width:100%;

        margin-top:40px;
    }

    .texto-inferior p{

        font-size:1.2rem;
        line-height:1.5;
    }

    .boton-container{

        position:relative;

        right:auto;
        bottom:auto;

        margin-top:60px;

        display:flex;
        justify-content:center;
    }

    .btn-comenzar{

        width:260px;

        justify-content:center;

        font-size:1.8rem;
    }
}

/* ==========================
   CELULARES PEQUEÑOS
========================== */

@media(max-width:480px){

    .contenido{

        padding:40px 25px;
    }

    .logo{

        width:70px;
    }

    .texto-superior{

        margin-top:90px;
    }

    .texto-superior h2{

        font-size:1.8rem;
    }

    .texto-inferior p{

        font-size:1rem;
    }

    .btn-comenzar{

        width:180px;

        padding:15px 25px;

        font-size:1.2rem;
    }

    .btn-comenzar span{

        font-size:2rem;
    }
}












/* ======================
   RESET
====================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    background:#F9F5F5;

    min-height:100vh;
}

/* ======================
   HEADER
====================== */

header{

    display:flex;
     align-items:center;
    padding:25px 50px;
    flex-direction:column;
    justify-content:center;

}

.logo{

    width:90px;
}

.desktop-buttons{

    display:flex;
    gap:12px;
}

.tab{

    text-decoration:none;

    color:#000;

    border:1px solid #ddd;

    border-radius:15px;

    padding:14px 28px;

    background:white;

    transition:.3s;
}

.tab:hover{

    background:#f0f0f0;
}

.tab.active{

    background:white;
}

/* ======================
   CONTENIDO
====================== */

.login-container{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:85vh;

    padding:30px;
}

.login-box{

    width:100%;
    max-width:420px;

    display:flex;
    flex-direction:column;
    align-items:center;
}

/* ======================
   ICONO
====================== */

.user-icon{

    width:140px;
    height:140px;

    background:#9492F0;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:40px;
}

.user-icon i{

    color:white;

    font-size:70px;
}

/* ======================
   MOBILE TABS
====================== */

.mobile-tabs{

    display:none;
}

/* ======================
   FORMULARIO
====================== */

form{

    width:100%;
}

.input-group{

    display:flex;
    align-items:center;

    gap:15px;

    background:white;

    border:1px solid #ddd;

    border-radius:8px;

    padding:16px;

    margin-bottom:14px;
}

.input-group i{

    color:#BDBDBD;

    font-size:22px;
}

.input-group input{

    width:100%;

    border:none;

    outline:none;

    font-size:17px;

    font-family:'Poppins',sans-serif;
}

button{

    width:100%;

    border:none;

    background:#C9EE75;

    color:#2E2E2E;

    font-weight:600;

    font-size:18px;

    border-radius:6px;

    padding:15px;

    cursor:pointer;

    margin-top:5px;

    transition:.3s;
}

button:hover{

    transform:translateY(-2px);
}

.extra-options{

    margin-top:18px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:10px;
}

.extra-options label{

    display:flex;
    align-items:center;
    gap:8px;
}

.extra-options a{

    color:#222;
}

/* ======================
   TABLET
====================== */

@media(max-width:900px){

    .desktop-buttons{

        display:none;
    }

    .mobile-tabs{

        width:100%;

        display:flex;

        gap:10px;

        margin-bottom:20px;
    }

    .mobile-tabs .tab{

        flex:1;
        text-align:center;
    }
}

/* ======================
   MOBILE
====================== */

@media(max-width:768px){

    .logo{

        width:80px;
    }

    .login-container{

        min-height:auto;

        padding:40px 30px 80px;
    }

    .user-icon{

        width:120px;
        height:120px;
    }

    .user-icon i{

        font-size:60px;
    }

    .input-group{

        padding:14px;
    }

    .input-group input{

        font-size:15px;
    }

    button{

        font-size:16px;
    }

    .extra-options{

        font-size:14px;
    }
}

/* ======================
   CELULARES PEQUEÑOS
====================== */

@media(max-width:480px){

    header{

        padding:20px;
    }

    .logo{

        width:75px;
    }

    .login-container{

        padding:30px 20px 60px;
    }

    .user-icon{

        width:100px;
        height:100px;
    }

    .user-icon i{

        font-size:50px;
    }

    .mobile-tabs{

        margin-bottom:18px;
    }

    .tab{

        padding:12px;
        font-size:14px;
    }

    .extra-options{

        flex-direction:row;

        justify-content:space-between;

        font-size:13px;
    }
}































*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#F3EFEF;
    color:#2B2B2B;
}

/*======================
TOPBAR
=======================*/

.topbar{
    width:100%;
    background:#fff;
    padding:20px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    border-bottom:1px solid #e5e5e5;
}

.logo{
    font-size:2rem;
    font-weight:700;
    color:#F5AF3A;
}

.logo span{
    display:block;
    margin-top:-12px;
    display:flex;
}

.profile-header{
    align-items:center;
    gap:15px;
}

.profile-header img{
    width:60px;
    height:60px;
    border-radius:50%;

}

.profile-header h3{
    font-size:1.3rem;
}

.profile-header p{
    color:#666;
}

.header-icons{
    display:flex;
    gap:25px;
    font-size:1.8rem;
}

/*======================
LAYOUT
=======================*/

.container{
   display:flex;
    grid-template-columns:380px 1fr;
    gap:30px;
    padding:30px;
}

.sidebar{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.profile-card,
.menu-card,
.streak-card{
    background:#fff;
    border-radius:12px;
    border:1px solid #ddd;
    padding:25px;
    display:flex;
}

.user-info{
    gap:15px;
    align-items:center;
}

.user-info img{
    display:flex;
    width:60px;
    height:60px;
    border-radius:50%;
}

.menu-card{
    flex-direction:column;
    gap:20px;
}

.menu-card a{

    text-decoration:none;
    color:#666;
    font-size:1.2rem;
    gap:15px;
}

.menu-card a.active{
    color:#F5AF3A;
    font-weight:600;
}

.streak-card{
    display:flex;
    justify-content:space-between;
}

.fire{
    font-size:4rem;

}

.streak-card button{
    border:1px solid #222;
    background:#fff;
    padding:12px 18px;
    border-radius:8px;
    cursor:pointer;
}

/*======================
CONTENIDO
=======================*/

.content{
    flex-direction:column;
    align-items:center;
}

.calendar-section{
    width:100%;
    max-width:600px;

}

.month-selector{
    justify-content:center;
    align-items:center;
    gap:30px;
    margin-bottom:20px;
    display:flex;
}

.days{
    display:flex;
    gap:10px;
    justify-content:center;
    
}

.day{
    width:90px;
    height:90px;

    border:1px solid #ddd;
    border-radius:10px;

    background:#fff;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.day span{
    font-size:.9rem;
}

.day strong{
    font-size:1.5rem;
    display:flex;
}

.active-day{
    background:#F5A623;
    color:#fff;
    font-weight:600;
    display:flex;
}

.habit-btn{
    margin-top:30px;

    width:100%;
    max-width:600px;

    background:#252525;
    color:#fff;

    border:none;
    border-radius:10px;

    padding:22px;

    font-size:1.3rem;
    font-weight:600;

    cursor:pointer;
    display:flex;
}

.habit-btn i{
    margin-right:10px;
    display:flex;
}

.motivation-card{
    width:100%;
    max-width:600px;

    margin-top:250px;

    background:#8E8AF8;

    color:white;

    padding:35px;
    border-radius:10px;
    display:flex;
}

.motivation-card h2{
    margin-bottom:10px;
    display:flex;
}

/*======================
MOBILE NAV
=======================*/

.mobile-nav{
    display:flex;
}

/*======================
RESPONSIVE
=======================*/

@media(max-width:900px){

    .container{
        grid-template-columns:1fr;
    }

    .sidebar{
        display:none;
    }

    .topbar{
        padding:20px;
    }

    .profile-header h3{
        font-size:1rem;
    }

    .profile-header p{
        font-size:.9rem;
    }

    .days{
        overflow-x:auto;
        justify-content:flex-start;
        padding-bottom:10px;
    }

    .day{
        min-width:120px;
        height:120px;
    }

    .motivation-card{
        margin-top:120px;
        margin-bottom:90px;
    }

    .mobile-nav{
        position:fixed;
        bottom:0;
        left:0;

        width:100%;
        height:80px;

        background:#fff;

        display:flex;
        justify-content:space-around;
        align-items:center;

        border-top:1px solid #ddd;
    }

    .mobile-nav a{
        text-decoration:none;
        color:#666;

        display:flex;
        flex-direction:column;
        align-items:center;

        gap:5px;
    }

    .mobile-nav a.active{
        color:#F5AF3A;
    }

}

@media(max-width:600px){

    .topbar{
        gap:15px;
        display:flex;
    }

    .profile-header img{
        width:50px;
        height:50px;
        display:flex;
    }

    .header-icons{
        font-size:1.4rem;
        gap:15px;
    }

    .day{
        min-width:135px;
    }

    .habit-btn{
        font-size:1rem;
    }

    .motivation-card{
        padding:25px;
    }

}





























