@import url('https://fonts.googleapis.com/css2?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');
@import url('https://fonts.googleapis.com/css2?family=Kalnia+Glaze:wght@100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Kalnia+Glaze:wght@100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Ga+Maamli&family=Kalnia+Glaze:wght@100..700&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transition: 0.7s;
    padding: 30px 10px;
    align-items: center;
    z-index: 10;
}

header.abajo {
    background-color: rgba(230, 211, 186, 0.9);
    padding: 20px 16px;
}

.enlace {
    display: flex;
    justify-content: flex-start;
    padding-left: 1%; 
}

.logo {
    height: 40px;
    width: 40px;
    margin-right: 20px;
    border-radius: 6px;
    cursor: auto;

    animation: rotar-logo 4s ease infinite;
}

/* **** Animacion del logo **** */
@keyframes rotar-logo {
    from {
        transform: rotateY(360deg)
    }
}

.nombre-logo {
    font-family: Georgia, 'Times New Roman', Times, serif;
    align-self: center;

    color: #ffffff;
    text-transform: uppercase;
    font-size: 2rem;

    transition: 0.4s;
}

.nombre-logo:hover {
    text-shadow: 3px 3px 0px #0ef;
    cursor: pointer;

    transition: 0.4s;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-right: 20px;
}

header ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    list-style: none;
}
 
header ul li a {
    position: relative;
    font-size: 1.1em;
    color: #fff;
    font-family: 'Poppis',sans-serif;
    text-decoration: none;
    padding: 6px 20px;
    
    letter-spacing: 1.8px;
    font-weight: 600;
    transition: 0.5s;
}

header ul li a:hover {
    text-decoration: none;
    color: #0ef;
    transition: 0.5s;
}

.checkbtn {
    font-size: 34px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

.fa-bars, .fa-times {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.abajo .fa-bars, .abajo .fa-times {
    color: #333333;
}

#check {
    display: none;
}

/* nuevo */
header ul li a span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1;
    border-bottom: 3px solid #0ef;
    border-radius: 15px;
    transform: scale(0) translateY(50px);
    opacity: 0;
    transition: 0.5s;
}

/* nuevo */
header ul li a:hover span {
    transform: scale(1) translateY(0);
    opacity: 1;
}

header.abajo .nombre-logo,
header.abajo ul li a {
    color:#333;
}

header.abajo .nombre-logo:hover {
    text-shadow: 4px 4px 4px #4c4e5e;
    transition: 0.5s;
}

header.abajo ul li a:hover {
    color:#0ef;
    transition: 0.5s;
}

/* Zona central donde esta el fondo de pantalla */
.zona1 {
    display: flex;
    position: relative;
    width: 100%;
    height: 190vh;
    background-image: url(/img/fondoimagen.png);
    background-size: cover;
    background-position: center center;
}

/***********************************************/
/* ***************** Terminos **************** */
.container-politicas {
    flex-direction: column;
    /* max-width: 80%; */
    padding: 130px 0 10px;
    color: #ffffff;
    text-shadow: 3px 3px  20px #000000;
    min-height: 100vh;
}

.h1-cabecera h1 {
    color: #aef3ba;
    font-size: clamp(1.5rem, 2vw + 0.75rem, 2.3rem);;
    text-align: center;
    margin: 0 auto;
}

.container-uso {
    /* max-width: 60%; */
    max-width: clamp(60%, 90vw, 98%);  /* con ESTO solucione lo del alto sin medias query */
    min-height: 95%;
    max-height: 98%;
    margin: 0px auto;
    padding: 16px;
    overflow: hidden;
}

/* Solo el primer parrafo */
.p-introduccion h2 {
    margin: 10px 0 0;
}

.cabecera h2 {
    /* font-size: clamp(20px, 2vw + 0.75rem, 36px); */
    font-size: clamp(1.25rem, 2vw + 0.75rem, 2.25rem);
    margin: 30px 0 0;
    text-align: center;
}

.container-uso p {
    font-size: clamp(16px, 1vw + 0.75rem, 22px);

    /* font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; */
}



/***********************************************/
/* ****Estilos para la sección de contacto**** */
#contacto {
    text-align: center;
    padding: 50px 0;
    background-color: #333;
    color: #fff;
}

#contacto h2 {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.4rem, 2vw + 0.75rem, 2rem);;   /* de esta forma, NO lo controlo en mediaquery */
}

#contacto p {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(0.813rem, 2vw + 0.25rem, 1.4rem);   /* de esta forma, NO lo controlo en mediaquery */
}


/* Estilos para iconos de redes sociales */
.sociales a {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    text-decoration: none;
}

.facebook, .instagram, .twitter, .mail, .whatsapp {
    width: 34px;
    height: 34px;
    margin: 10px 4px;
    /* padding: 2px 2px; */
    color: yellow;
    cursor: pointer;
}

a.terminos {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(0.813rem, 2vw + 0.5rem, 1.4rem);
    text-decoration: none;
    color: #0ef;
}


/* Estilos para el pie de página */
footer {
    text-align: center;
    padding: 20px 0;
    background-color:antiquewhite;
    color: #333;
    /* color: #888; */
}

footer p {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
}


/* ******************************************** */
/* **** Para pantallas maximo de 1184 pixel **** */
@media (max-width: 1184px) {
    .nombre-logo {
        color: #ffffff;
        font-size: 1.6rem;
    }
    
    nav ul li a {
        font-size: 14px;
        letter-spacing: 1px;
        padding: 6px 10px;
    }

    /* .container-uso {
        max-width: 70%;
    } */
}


/* ******************************************** */
/* **** Para pantallas maximo de 992 pixel **** */
@media (max-width: 992px) {
    .nombre-logo {
        color: #ffffff;
        font-size: 1.5rem;
    }
    
    nav ul li a {
        font-size: 12px;
        padding: 6px 8px;
    }
}


/* ***************************************************************** */
/* **** Para pantallas maximo de 842 CON MENU HAMBURGUESA pixel **** */
@media (max-width: 842px) {
    .checkbtn {
        display: block;
    }

    nav {
        display: flex;
        flex-direction: row-reverse;
        height: 40px;
    }

    header ul {
        position: fixed;
        display: block;
        width: 100%;
        height: 70vh;
        background-color: rgba(83, 83, 82, 0.8);
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    header.abajo ul {
        position: fixed;
        display: block;
        width: 100%;
        height: 60vh;
        background-color: rgba(228, 204, 174, 0.9);
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    header ul li {
        display: block;
        margin: 50px 0;
        line-height: 10px;
    }

    header ul li a {
        font-size: 18px;
        /* display: block; */
    }

    li a:hover, li a.active {
        background: none;
        color: white;
    }

    #check:checked ~ ul {
        left: 0;
    }
}


/* **Estilos para diferentes tamaños de pantalla** */
/* *********************************************** */
@media (max-width: 768px) {
    /* .container-uso {
        max-width: 90%;
    } */
} 


/* **Estilos para diferentes tamaños de pantalla** */
/* *********************************************** */
@media (max-width: 480px) {
    .zona1 {
        height: 220vh;
    }
}


/* **Estilos para diferentes tamaños de pantalla** */
/* *********************************************** */
@media (max-width: 400px) {
    .zona1 {
        height: 240vh;
    }

    .cabecera h2 {
        font-size: clamp(1.25rem, 2vw + 0.75rem, 2.25rem);
        margin: 10px 0 0;
    }
    
    .parrafo p {
        margin-bottom: 0;
    }
}
