* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}

body {
    overflow-x: hidden ;
}

/*HEADER SUPERIOR*/
header {
    width: 100%;
    top: 0;
    left: 0;
    background: white;
}

/*HEADER SUPERIOR*/
.header__superior {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    
}

.logo img {
    width: 250px;
}

/*BARRA MENU*/
.container__menu {
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, #ff0000, #000000);
    padding: 0px 20px;
}

.menu {
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

nav {
    height: 100%;
}

nav > ul {
    height: 100%;
    display: flex;
}

nav > ul > li {
    height: 100%;
    list-style: none;
}

nav > ul > li:first-child > a {
    background-image: url(../images/logo-pagina-web-removebg-preview.png);
    background-size: 54px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 40px;
}

nav > ul > li:first-child:hover > a {
    background-image: url(../images/logo-pagina-web-removebg-preview.png);
    background-size: 54px;
    background-repeat: no-repeat;
    background-position: center center;
}

nav > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 14px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 300ms ease;
    text-decoration: none;
}

nav > ul > li > a:hover {
    transform: scale(1.1);
    background: rgb(133, 0, 0);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

#selected {
    transform: scale(1.1);
    background-color: rgb(133, 0, 0);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/*ELEMENTOS RESPONSIVOS*/

.icon__menu {
    font-size: 26px;
    color: white;
    cursor: pointer;
    width: 26px;
    height: 100%;
    display: none;
    align-items: center;
}

#check__menu {
    display: none;
}

#label__check {
    width: 26px;
    height: 100%;
    display: none;
}


@media screen and (max-width: 720px) { /*Esto es como una condicional, cuando el tamaño de la pantalla llegue a estos pixeles va a ocurrir lo del menu de telefono*/
    .header__superior {
        padding: 10px;
    }

    .logo img {
        width: 200px;
    }

    nav > ul {
        flex-direction: column;
        background: rgb(133, 0, 0);
        position: fixed;
        left: 0;
        top: 70px; /*para aunmentar o disminuir la altura del menu pequeño*/
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav > ul > li > a:hover {
        transform: scale(1);
    }

    #selected {
        transform: scale(1);
    }

    #label__check {
        display: block;
    }

    .icon__menu {
        display: flex;
    }

    #check__menu:checked ~ nav > ul  {
        height: 300px;
        visibility: visible;
        opacity: 1;
    }
}

.presentacion {
  position: fixed; /* cubre toda la pantalla */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/fondo_teclado_contacto.webp");
  background-size: cover; /* cubre toda la pantalla sin deformarse */
  background-position: center; /* centrado */
  z-index: -1; /* queda detrás del contenido */
}

.presentacion .overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* capa oscura encima */
}

.wrapper {
    position: relative;
    width: 400px;
    height: auto; /* se ajusta al contenido */
    margin: 80px auto; /* centrado horizontal + separación de la barra */
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper {
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px 10px red;
}

.wrapper h2 {
    font-size: 28px;
    color: black;
    text-align: center;
    margin-bottom: 20px;
}

.wrapper .input-group {
    position: relative;
    width: 100%;
    margin: 40px 0;
}

.wrapper .input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
    pointer-events: none;
    transition: .3s;
    background: #fff;
    padding: 0 5px;
}

.wrapper .input-group input {
    width: 100%;
    height: 40px;
    font-size: 16px;
    color: #333;
    padding: 0 10px;
    border: 1px solid #333;
    outline: none;
    border-radius: 8px;
    background: transparent;
}

.wrapper .input-group input:focus~label,
.wrapper .input-group input:valid~label {
    top: -8px;
    font-size: 12px;
    color: #008ae0;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    margin-top: 10px;
    background: linear-gradient(to right, #d40202, black);
    box-shadow: 0 2px 10px rgba(0,0,0,.4);
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    transition: 0.3s;
}

.wrapper .btn:hover {
    transform: scale(1.05);
}

footer {
    width: 100%;
    min-height: 100px;
    background: rgb(161, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.redes-sociales {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /*margin 10px 4px*/
    /*flex-wrap wrap*/
}

.icono > img {
    width: 80px;
    height: 80px;
    transition: all 0.3s;
}

.icono > img:hover {
    transform: scale(1.2);
    transition: all 0.3s;
}

.menu {
    display: flex;
    font-size: 1.5rem;
    list-style: none;
}

.menu-elem {
    margin: 10px 10px;
}

.menu-icon {
    color: #a5cff0;

}

.textoFooter {
    color: white;
    font-size: 1.2rem;
}