@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;  /* para que los elementos no salgan del contenedor */
}

/* ***** Habilitar, SI vamos a trabajar con este tipo de letra **** */
body {
    font-family: 'Poppins', sans-serif;
}
 
nav {
    position:fixed;

    top: 0;
    left: 0;

    justify-content: space-arround;
    transition: 0.7s;
    padding: 16px 10px;

    height: 100px;
    width: 100%;
}

nav.abajo {
    background: rgb(13, 124, 137,0.5);
    padding: 12px 20px;
}

.enlace {
    position: absolute;
    padding: 6px 20px 6px 50px;
    display: flex;
}

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

    animation: rotar-logo 4s ease infinite;
}

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

.enlace span {
    font-size: 2em;
    font-weight: 600;
    color: #faf602;
    text-transform: uppercase;

    font-family: 'Poppins', sans-serif;
    align-self: center;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: yellow;
    font-weight: 800;
    font-size: 18px;
    padding: 7px 13px;
    /* border-radius: 10px; */
    text-transform: uppercase;
    
    transition: 0.5s;
    border-bottom: 3px solid transparent;
}

.con-borde {
    border: 1px solid red;
    border-radius: 20px;
}

.con-borde:hover {
    background-color: red;
}

li a:hover {
    /* background: rgb(156, 156, 157, 0.6); */
    color: white;
    transition: 0.5s;
    
    border-bottom: 3px solid #FF4081;
}

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

#check {
    display: none;
}

nav.abajo .nombre,
nav.abajo ul li a {
    color: white;
}

/* nav.abajo .logo, */
nav.abajo ul li a:hover {
    color: yellow;
    border-bottom: 3px solid #FF4081;
}

#zona1 {
    /* margin-top: 100px; */
    margin-top: 0px;
    background: url(/img/images.jpeg) no-repeat;
    background-size: cover;
    background-position: center center;
    /* height: calc(100vh - 80px); */
    height: 100vh;
}

/* ******* Formulario ********* */
/* **************************** */
/* Texto de formulario */
.section-form h2 {
    text-align: center;
    padding: 116px 3px 2px 3px;
    color: #ff2f28;
    text-shadow: 1.4px 1.4px 0.4px #ffffff;
    font-size: clamp(1.4em, 2.4vw, 1.9em);
    letter-spacing: 0.08em;
}

form {
    /*width: 760px;*/
    max-width: 40%;
    margin: auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    box-sizing: border-box;
    margin-top: 10px;
    border-radius: 5px;
}

form p {
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: clamp(1.1em, 1.2vw, 1.6em);
    margin-bottom: 16px;
}

input { /* textarea { */
    width: 100%;
    margin-bottom: 20px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 18px;
    border: none;
    border-radius: 5px;
}

/*************************/
/* Estilos para los contenedores de los campos */
.form-groupo {
    display: flex;
    align-items: center;
    /* margin-bottom: 20px; */
}

div label {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Estilos para el checkbox y su label */
/***************************************/
#grupo-check {
    width: 100%;
    /* display: inline-flex; */
    display: flex;
    justify-content: center;
}

input {
    width: 100%;
    margin-bottom: 20px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 14px;
    border: none;
    border-radius: 5px;
}

/* **** padre **** */
div#grupo-check.form-grupo {
    width: 100%;
    height: 40px;
    position: relative;
}

/* **** Acepto que se envien los datos **** */
div#grupo-check.form-grupo p {
/*     font-family: sans-serif, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS'; */
    font-size: 1.2em;
    margin-right: 10px;
}

/* /* **** registrarse **** */
div#grupo-check.form-grupo a {
    font-size: 1.2em;
    color: aqua;
}

/* ***** boton del formulario ***** */
form .btn-form {
    text-align: center;  /* si el boton fuese type="button" quedaria en el centro, pero como es type="subnit" no queda en el centro */
    background: #40434d;
    color: #ffffff;
    padding: 14px;
    margin: 0;
    transition: 0.4s;
}

form .btn-form:hover {
    cursor: pointer;
    background-color: #7183a5;
    color: #6dee6d;
    transition: 0.3s;
}

/* ********** Footer ********** */
/* **************************** */
.footer {
    background-color: #1d293f;
    color:white;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
/*     border-bottom: 1 solid #ffffff; */
    padding-bottom: 50px;
}

.footer-title {
    font-weight: 300;
    font-size: 2.2rem;
    margin: 30px 10px 20px 0;
}

.div-footer {
    padding-bottom: 20px;
    display: grid;
    gap: 1rem;
    grid-auto-flow: row;
    height: 100%;
}

.ul-footer-link {
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color:white;
    margin: 10px;
    font-size: 1.4em;
}

.footer-borde {
    color: red;
}

.footer-icons {
    margin-bottom: 10px;
}

h2.social-title {
    margin: 0 0 10px 10px;
}

.footer-img {
    width: 40px;
}


/* **** Footer Social ***** */
.footer-copyright {
    padding: 30px 0 30px 0;
    text-align: center;
    border-top: 1px solid white;  /* division con la linea*/
}

.text-copyright {
    font-weight: 300;
    font-size: clamp(0.875em, 2vw, 1.4em); 
    color: #eee56d;
}

/* ****** medias query ****** */
/*PC escritorio: Se considera un ancho de pantalla mayor a 1024px.
  Tablet: Se considera un ancho de pantalla entre 768px y 1024px.
  Celular: Se considera un ancho de pantalla menor a 768px.*/
/******************************/
@media (max-width: 1170px) {
    .enlace{
        padding-left: 10px;
        padding-top: 10px;
        order: 1;
    }

    nav ul li a{
        font-size: 14px;
    }
}


/* @media (max-width: 952px){ */
@media (max-width: 1024px){
    .logo {
        height: 40px;
        width: 40px;
        margin-right: 15px;
    }

    .nombre-logo {
        font-size: 1.2rem;
    }

    nav ul {
        margin-right: 10px;
    }

    nav ul li {
        line-height: 60px;
    }

    form {
        max-width: 70%;
    }
}


@media (max-width: 960px) {
    .nombre-logo {
        display: none;
    }
    
    form {
        max-width: 80%;
    }
}


@media (max-width: 768px){
    .checkbtn{
        display: block;
    }

    .nombre-logo {
        display: inline;
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: rgb(69, 146, 155, 0.6);
        top: 100px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a{
        font-size: 20px;
    }

    li a:hover, li a.active{
        background: none;
        /* color: red; */
        /* color: rgb(5, 247, 146); */
        color: white;
    }

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

    form {
        max-width: 90%;
    }
}

