
@font-face {
    font-family: 'EarlTupper-Black';
    src: url('../TipoGrafia/Earl Tupper Sans-Black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'EarlTupper-Bold';
    src: url('../TipoGrafia/Earl Tupper Sans-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'EarlTupper-Regular';
    src: url('../TipoGrafia/Earl Tupper Sans-Regular.otf') format('opentype');
    font-weight: normal;
}

body {
    font-family: 'EarlTupper-Regular', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
    margin: 0;
}

main {
    flex: 1;
}


/* Centrar el logo */
.logo {
    text-align: center;
    margin: 20px 0;
}

    .logo img {
        width: 300px;
    }

/* Centrar el men? */
header {
    display: flex;
    justify-content: center;
}

nav {
    width: 100%;
}

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

        nav ul li {
            position: relative;
        }

            nav ul li a {
                position: relative;
                text-decoration: none;
                color: #333;
                font-weight: bold;
                padding: 5px 0;
                display: block;
            }

                /* L?nea animada debajo del enlace */
                nav ul li a::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 0%;
                    height: 2px;
                    background-color: #007bff;
                    transition: width 0.3s ease;
                }

                nav ul li a:hover::after {
                    width: 100%;
                }

            /* Submen? oculto por defecto */
            nav ul li ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: #fff;
                padding: 10px 0;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                z-index: 1000;
                min-width: 180px;
            }

            /* Mostrar submen? al pasar el mouse */
            nav ul li:hover > ul {
                display: block;
            }

            nav ul li ul li {
                width: 100%;
                text-align: left;
                padding: 0 15px;
            }

                nav ul li ul li a {
                    padding: 8px 0;
                    font-weight: normal;
                    color: #333;
                }

                    nav ul li ul li a:hover {
                        color: #007bff;
                    }




.icons span {
    margin-left: 15px;
    cursor: pointer;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    visibility: hidden; /* Oculta el slider hasta que est? listo */
}

.slide {
    display: none;
    width: 100%;
    transition: opacity 1s ease-in-out;
    margin-top:15px;
}

    .slide.active {
        display: block;
    }

    .slide img {
        width: 100%;
        height: auto;
        display: block;
    }




footer {
  background-color: #f1f1f1;
  padding: 20px;
  text-align: center;
  }



button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/*TIPO CARNET*/

.card {
    margin-top: 2em;
    padding: 1.5em 0.5em 0.5em;
    border-radius: 2em;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 65%;
    border-radius: 50%;
    margin: 0 auto;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
}

.card .card-title {
    font-weight: 700;
    font-size: 1.5em;
}

.card .btn {
    border-radius: 2em;
    background-color: teal;
    color: #ffffff;
    padding: 0.5em 1.5em;
}

    .card .btn:hover {
        background-color: rgba(0, 128, 128, 0.7);
        color: #ffffff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }


