@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*
? Nombre
? Edad
? Residencia
?
*/

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*{
    font-family: "Montserrat", "sans-serif";
}

.b-detail{font-weight: 600;}

#contRuleta{
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99;
}

#todo{
    height: auto;   
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--azul_muy_claro);
}

#banner{
    height: 350px;
    width: 100%;
    background-image: url(../Images/profileBanner.webp);
    background-size: contain;
    background-position: 0px 350px;
    background-attachment: fixed;
}

main{

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    border-radius: 10px 10px 0 0;
    background-color: var(--blanco);

}

#profile-head{
    position: absolute;
    top: -64px;
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#profile-img{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background-color: var(--azul);
    color: var(--blanco);
    font-size: 1.5rem;
    background-size: cover;
    background-position: center;
}

#cont-viajes{
    position: absolute;
    left: 0;
    top: -100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0 1rem;
    height: 80px;
    background-color: var(--azul);
    color: var(--blanco);
    font-weight: 600;
}

.dust{
    position: absolute;
    height: 10px;
    width: 10px;
    background-position: center;
    background-size: contain;
    background-image: url(../Images/humo.webp);
    animation: 1s;
    transform: translateY(-10px);
}

#van{
    height: 100%;
    animation: drive 0.8s steps(1) infinite;
}

@keyframes drive {
    25% {
      transform: translateY(1px); 
    }
    50%{
        transform: translateY(-1px);
    }
    100% {
      transform: translateY(0); /* Posición final abajo */
    }
  }

#profile-bottom{
    display: flex;
    flex-direction: row;
    height: auto;
    width: 90%;
    gap: 64px;
}

#cont-info{
    margin-left: 12px;
    padding-top: 74px;
    padding-left: 34px;
    padding-right: 126px;
    display: flex;
    flex-direction: column;
    align-items: start;
    height: auto;
    width: auto;
    background-color: var(--gris_claro);
    border-radius: 0px 0px 5px 5px;
}

#profile-name{
    font-weight: 800;
    margin: 0;
    font-size: 1.1rem;
    color: var(--gris);
}

.profile-sub{
    text-align: left;
    text-wrap: balance;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gris);
    margin-bottom: 0;
}

#cont-options{
    position: relative;
    margin-top: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    min-width: 478px;
    gap: 12px;
}

.opt{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: start;
    background-color: var(--azul_claro);
    color: var(--blanco);
    font-weight: 600;
    height: auto;
    gap: 8px;
    width: 100%;
    border: none;
    padding: 0.8rem 0rem;
    transition: all 0.3s;
    font-size: 0.8rem;
    text-decoration: none;
    user-select: none;
}

.opt i{
    margin-left: 32px;
}

.efecto-sombras-btn {
    box-shadow: 0px 0px 0 0 var(--azul),
    0px 0px 0 0 var(--azul_muy_claro);
}

.efecto-sombras-btn:hover,
.efecto-sombras-btn:focus {
    transform: translate(15px, -15px);
    box-shadow: -8px 8px 0 0 var(--azul),
    -15px 15px 0 0 var(--azul_muy_claro);
    outline: none;
    cursor: pointer;
}

.efecto-sombras-btn:active {
    transform: translate(0px, 0px);
    box-shadow: 0px 0px 0 0 var(--azul),
    0px 0px 0 0 var(--azul_muy_claro);
}

#contViajes{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 600px;
    width: 100%;
    margin: 4rem 0;
}

#cont-prizes{
    position: relative;
    margin-top: 62px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 25%;
}

#prize-title{
    top: -52px;
    left: -22px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    flex-grow: 0;
    padding: 1rem;
    color: var(--blanco);
    background-color: var(--azul);
    z-index: 12;
}

#prizes-board{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    width: 90%;
    background-color: var(--gris_claro);
    border-radius: 5px;
    padding: 3rem 0;
    box-sizing: border-box;
}

.step{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;
    width: auto;
    font-weight: 700;
    color: var(--azul);
}

.stepCheck{
    --size: 30px;
    height: var(--size);
    width: var(--size);
    border-radius: 50%;
    border: 2px solid var(--azul);
    background-color: var(--blanco);
}

.stepData{
    text-align: start;
    margin-left: 12px;
}

.stepSub{
    margin: 0;
    font-size: 0.7rem;
}

.stepTitle{
    margin: 0;
    font-size: 1rem;
}

.dot{
    height: 8px;
    width: 2px;
    background-color: var(--gris_medio_claro);
}

#prizes-info{
    margin-top: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: auto;
    width: 86%;
    padding: 3rem 1rem;
    background-color: var(--azul);
    color: var(--blanco);
    border-radius: 5px;
}

#prizes-info img{
    height: 250px;
}

#prizesText{
    width: 40%;
    font-weight: 550;
}

#info-title{
    color: var(--amarillo);
    font-weight: 700;
}

#step-v::after{
    content: "Viaje Gratis";
    position: absolute;
    bottom: -50px;
}

#step-c::after{
    content: "Cupon Aleatorio";
    position: absolute;
    bottom: -50px;
}

#cont-cupons{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 64px;
    height: 100%;
    width: 60%;
    background-color: var(--gris_claro);
}

#cupons{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    height: 80%;
    width: 90%;
    overflow-y: auto;
}

#requestedBtn{
    user-select: none;
}

.cupon{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* margin: 1rem; */
    margin-top: 12px;
    width: 200px;
    height: 95px;
    border-radius: 10px;
    border: 2px solid #ffd759;
    background: rgb(255,189,89);
    background: linear-gradient(128deg, rgba(255,189,89,1) 45%, rgba(255,215,89,1) 86%);
    font-size: 0.8rem;
    font-weight: 700;
    /*text-shadow: 0px 0px 3px rgb(0, 0, 0, 0.5);*/
    color: var(--azul);
}

.cupon::before{
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: -20px;
    border-radius: 50%;
    background-color: var(--gris_claro);
    clip-path: polygon(50% 0, 100% 0%, 100% 100%, 50% 100%);

}

.cupon::after{
    position: absolute;
    right: -20px;
    content: "";
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: var(--gris_claro);
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.cupon i{
    font-size: 1rem;
}

@media(max-width: 680px){
    #banner{
        height: 200px;
    }
}

@media(max-width:808px){

    #banner{
        background-size: 1200px;
        background-position: bottom;
    }

    #contViajes{
        height: auto;
        flex-direction: column;
    }

    #profile-bottom{
        flex-direction: column;
        align-items: center;
        gap: 124px;
        width: 95%;
    }

    #cont-info{
        padding-top: 40px;
        padding-bottom: 12px;
        padding-right: 100px;
        width: 80%;
    }

    #cont-options{
        margin-top: 32px;
        width: 100%;
        min-width: unset;
    }

    #prize-title{
        font-size: 0.9rem;
        right: -5px;
        left: auto;
    }

    #prizes-info{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        font-size: 0.9rem;
        width: 95%;
    }

    #prizes-info img{
        height: auto;
        width: 90%;
    }

    #prizesText{
        width: 90%;
    }

    .step{
        height: auto;
        justify-content: space-between;
        width: 90%;
        font-size: 0.9rem;
    }

    .step-s{
        height: 30px;
        width: 30px;
    }

    #step-v::after,
    #step-c::after{
        font-size: 0.7rem;
    }

    #cupons{
        width: 95%;
        overflow-x: hidden;
    }

    #requestedBtn{
        margin-top: 32px;
    }

    .cupon{
        width: 130px;
        height: 70px;
        font-size: 0.7rem;
        margin: 0.5rem;
    }

    .cupon i {
        font-size: 0.8rem;
    }

    .dot{
        height: 5px;
        width: 5px;
    }

    .profile-sub{
        text-align: start;
        font-size: 0.8rem;
    }
    
    #profile-img{
        height: 80px;
        width: 80px;
        border-radius: 5px;
        font-size: 1.2rem;
    }

    #cont-cupons{
        width: 97%;
        padding: 2rem 0;
    }

    #cont-prizes{
        width: 95%;
        align-items: center;
    }

    #prizes-board{
        width: 100%;
    }

    #cont-viajes{
        font-size: 0.9rem;
        border-radius: 5px;
    }

    #van{
        height: 80%;
    }

}
