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

}

html {
    scroll-behavior: smooth;
}

:root {
    /* Colores */
    --dark-pink: #D96690;
    --rg-pink: #F28DB2;
    --light-pink: #F2C9E0;
    --orange: #ffd5a6;
    --yellow: #fffd99;
    --silver: #797F7E;
}

main {
    position: relative;
    overflow-x: hidden;
}

/* Margenes arriba y abajo de 3rem margenes laterales secciones 3rem  */


/* NAVBAR */

.filter {
    background-color: hsl(0 0% 100% / 0.1);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
}

.header-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: hsl(0 0% 100% / 0.1);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;

}

.header-cont,
.primary-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.mobile-toggle {
    display: none;
}

.primary-navigation {
    list-style: none;
    gap: 20px;

    padding-block: 30px;
    padding-inline: 2rem;

}

.primary-navigation a {
    text-decoration: none;
    color: var(--silver);
    font-size: clamp(1rem, 2vw + 1rem, 1.5rem);
    transition: all .3s ease-in-out;

}

.primary-navigation a:hover {
    color: #222;
}


.logo {
    padding: 10px;
}

@media(max-width:900px) {


    .primary-navigation {
        flex-direction: column;
        position: fixed;
        inset: 0 0 0 30%;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 7rem 1.5rem;
        gap: 40px;
        transform: translateX(100%);
        transition: all .5s ease-out;
        background-color: hsl(0 0% 100% / 0.1);
        backdrop-filter: blur(1rem);
        -webkit-backdrop-filter: blur(1rem);
        z-index: 100;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-toggle {
        display: inline-block;
        position: absolute;
        background: url(assets/Navbar/menu.png);
        background-size: cover;
        width: 2rem;
        aspect-ratio: 1;
        top: 1rem;
        right: 2rem;
        z-index: 300;
        border: none;
        transition: all .5s ease;
    }

    .mobile-toggle[aria-expanded="true"] {
        background-image: url(assets/Navbar/close.png);
    }
}






/* SLIDER */
.fondo1 {
    background-color: var(--light-pink);
    transition: all 1s cubic-bezier(.31, .17, .37, 1.73);

}

.fondo2 {
    background-color: var(--orange);
    transition: all 1s cubic-bezier(.31, .17, .37, 1.73);
}

.fondo3 {
    background-color: var(--yellow);
    transition: all 1s cubic-bezier(.31, .17, .37, 1.73);
}

/* CONFIG GENERAL */
.row {
    display: flex;
    flex-direction: column-reverse;
}


/* Imagen */
.img-col {
    overflow: hidden;
    border-radius: 50%;
    height: 300px;
    width: 300px;
    margin: 0 auto;

}

.imagen-producto {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MOBILE */
.img-prod {
    width: fit-content;
    height: 100%;
    animation: anim 30s infinite;
    animation-timing-function: linear;
}




/* ANIMACIÓN */
@keyframes anim {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    80% {
        transform: rotate(260deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* COLUMNA IZQUIERDA */
.product-info {
    margin: 15px 5%;
    color: rgb(34, 34, 34);

}

.datos>p {
    text-align: justify;
    margin: 30px 0;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--silver);
}

.nombre h2 {
    font-size: clamp(1.5rem, 3vw + 1rem, 3rem);
    color: #222;
    text-align: center;
}

/* BOTON */

.cont-boton {
    display: flex;
    justify-content: center;
}


.cont-boton button {
    font-weight: 700;
    font-size: 1.15rem;
    padding: 15px 50px;
    border-radius: 30px;
    color: rgb(43, 43, 43);
    border: 1.5px solid rgb(68, 68, 68);
    text-transform: uppercase;
    background-color: #fff;
    transition: all .3s ease-in-out;
}

.cont-boton a {
    text-decoration: none;
    color: #222;
}

.cont-boton button:hover {
    cursor: pointer;
    background: linear-gradient(to right, #ffc8dc, #fda3c4);
    color: #fff;

}

.cont-boton button:hover a {
    color: #fff;
}
/* BOTON CURSOS */
.boton-clases button{
    margin-top: 30px;
    background: linear-gradient(to right, var(--yellow), var(--orange));
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    border: 1px solid rgb(167, 167, 167);  
}

.boton-clases button:hover{
    background: linear-gradient(to right, var(--yellow), var(--orange));
    color: rgb(22, 22, 22);
}


/* MEDIA QUERY SLIDER DESKTOP*/


@media (min-width: 900px) {

    .ul-cont {
        margin-right: 20px
    }

    /* CONFIG GENERALES */

    .row {
        overflow-x: hidden !important;
        display: flex;
        flex-direction: row;
    }

    .mitad {
        width: 50%;
    }

    .slider {
        height: 100%;
        overflow-x: hidden !important;
    }


    /* Imagen */
    .img-prod {
        max-width: 450px;
        max-height: 450px;
        animation: anim 10s infinite;
        animation-timing-function: linear;
    }

    .imagen-producto {
        position: relative;
        right: 7rem;
        top: -1rem;
    }

    .hero {
        position: relative;
    }

    .img-col {
        overflow: hidden !important;
        position: absolute;
        top: -30%;
        right: -20%;
        z-index: -5;
        border-top-right-radius: 0%;
        border-top-left-radius: 0%;
        border-bottom-left-radius: 50%;
        border-bottom-right-radius: 0%;
        height: 130%;
    }




    /* COLUMNA IZQUIERDA */
    .product-info {
        padding: 0 10%;
        color: rgb(34, 34, 34);
        text-align: end;
    }

    .datos>p {
        text-align: justify;
        margin: 30px 0;
        font-weight: 400;
        font-size: 1.25rem;
        color: var(--silver);
    }

    .nombre h2 {
        font-size: 3rem;
        color: #222;
        text-align: end;
    }

}


/* Secciones */

section {
    padding-inline: 1rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#productos, #contacto, #info, #cursos {
    margin-top: 4rem;
}

section h2 {
    font-family: "Forum", cursive;
    font-size: clamp(1.5rem, 2.5rem + 2vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: var(--rg-pink);
    text-shadow: rgba(199, 199, 199, 0.18) 0px 2px 2px;
    text-decoration: underline;
    text-decoration-style: var(--dark-pink);

}

h2:hover {
    color: var(--dark-pink);
}





/* Cursos */

.circle {

    background-color: var(--orange);
    border-radius: 50%;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.circle i {
    font-size: 5rem;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.cont-cursos {
    display: flex;
    justify-content: center;
    gap: 20px;

}

.card-cursos {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    transition: all .5s ease;
}

.card-cursos:hover {
    transform: scale(1.05);
}

.card-cursos h3 {
    font-size: 1.5rem;
}

.card-cursos p {
    text-align: justify !important;
    margin-top: 15px;
    font-size: 1.15rem;
}

@media (max-width: 800px) {
    .cont-cursos {
        flex-direction: column;
    }

}



/* About me */


.cont-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.info-img {

    width: 300px;
    height: 300px;
    object-position: center;
    object-fit: fill;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px, rgba(0, 0, 0, 0.6) 0px 1px 2px;
}


.cont-info p {
    padding: 3rem;
    font-size: 1.15rem;
    text-align: justify;
}

.imagen-info1 {
    position: relative;
    top: -50px;
}

.imagen-info2 {
    position: relative;
    top: 50px;
}

@media (max-width: 1000px) {
    .cont-info {
        display: flex;
        flex-direction: column;
        justify-content: left;
    }

    .imagen-info1 {
        height: 430px;
        width: 440px;
        top: 0px;
    }

    .imagen-info2 {
        height: 450px;
        width: 350px;
        top: 0;
    }

    .cont-info p {
        padding: 1.8rem;
        font-size: 1.15rem;
        text-align: justify;
    }
}

/* Contacto */

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

.instagram {
    margin-bottom: 20px;

}

.instagram h5 {
    font-size: 2rem;
    text-transform: capitalize;
    margin: 20px 0;
    text-align: start;
    font-weight: 500;
}


.instagram-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    
}




@media (max-width: 1000px) {
    .instagram-inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;

    }
}

.social{
    margin-top: 30px;
    display: flex;
    justify-content: space-evenly;

}

.social i{
    font-size: 3rem;
    color: rgb(22, 22, 22);
    text-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    
    
}

.social span{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.social span:first-child{
    border-right: #797F7E 1px solid;
}

.social span:last-child{
    border-left: #797F7E 1px solid;
}


/* Footer */

footer{
    margin-top: 40px;
    background-color: #797F7E;
    padding-inline: 2rem;
    padding-block: 1rem;
    text-align: center;
    font-size: .9rem;
}

.author{
    color: rgb(18, 102, 95);
    text-decoration: none;
}