* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color_primario: rgb(82, 173, 248);
    --color_primario_suave: rgb(82, 173, 248);
    --color_blanco: #ffffff;
    --altura_header: 80px;
    --padding_left_right: 2rem;
    --ancho_maximo: 1200px;
}

body {
    background-color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
    text-decoration: none;
}

ol,
ul {
    list-style: none;
}

.header {
    height: var(--altura_header);
    background-color: var(--color_primario);
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 var(--padding_left_right);
}

.menu_hamburguesa {
    display: none;
}

.menu_hamburguesa:checked+.ul_links {
    height: calc(100vh - var(--altura_header));
}

.logo {
    color: var(--color_blanco);
}

.list_icon {
    color: var(--color_blanco);
    cursor: pointer;
}

.ul_links {
    width: 100%;
    background-color: var(--color_primario_suave);
    position: absolute;
    top: var(--altura_header);
    left: 0;
    height: 0;
    overflow: hidden;
    /* height: calc(100vh - var(--altura_header)); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;

    transition: all .3s;
}

.link {
    font-size: 3em;
    color: var(--color_blanco);
    font-weight: bold;
}

@media (min-width:768px) {
    .labe_hamburguesa {
        display: none;
    }

    .ul_links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 2rem;
    }

    .link {
        font-size: 1.2rem;
        transition: all .3s;
        padding: .2rem .7rem;
    }

    .link:hover {
        background-color: rgb(35, 126, 207);
    }
}



input {
    margin: auto;
    width: 1250px;
    padding: 1px;
    padding-right: 100px;
    border-radius: 8px 2px;
}

button {
    background-color: rgb(0, 0, 0);
    padding: 12px;
    position: absolute;
    margin: auto;
    border-radius: 0 5px 5px 0;
    color: rgb(218, 27, 27);
    cursor: pointer;
}

button:hover {
    background-color: rgb(209, 209, 209);

}

.Primera_parte {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.Segunda_parte {
    display: flex;
    align-items: center;
    flex-direction: file;

}

.contenedor figure {
    height: 500px;
    width: 890px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px;
    display: flex;
    align-items: center;

}

.contenedor figure embed {
    width: 9800px;
    height: 500px;
    transition: all 500ms ease-out;
}



.contenedor1 figure {
    position: relative;
    height: 400px;
    width: 400px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px;
    margin: 10px;
    cursor: pointer;
}

.contenedor1 figure embed {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor1 figure .capa1 {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 103, 123, 0.7);
    transition: all 500ms ease-out;
    opacity: 0%;
    visibility: hidden;
    text-align: center;
}

.contenedor1 figure:hover>.capa1 {
    opacity: 1;
    visibility: visible;

}

.contenedor1 figure:hover>.capa1 h3 {
    margin-top: 70px;
    margin-bottom: 15px;

}

.contenedor1 figure:hover>embed {
    transform: scale(1.3);

}

.contenedor1 figure .capa1 h3 {
    color: white;
    font-weight: 400;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}

.contenedor1 figure .capa1 p {
    color: white;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    max-width: 220px;
    margin: auto;

}

.Segunda_parte2 {
    flex-direction: file;
}

.Segunda_parte2 {
    flex-direction: file;
}

.container8{
    flex-direction: file;
}

.contenedor3 figure {
    position: relative;
    height: 400px;
    width: 400px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px;
    margin: 10px;
    cursor: pointer;
}

.contenedor3 figure img {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor3 figure .capa1 {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 103, 123, 0.7);
    transition: all 500ms ease-out;
    opacity: 0%;
    visibility: hidden;
    text-align: center;
}

.contenedor3 figure:hover>.capa1 {
    opacity: 1;
    visibility: visible;

}

.contenedor3 figure:hover>.capa1 h3 {
    margin-top: 70px;
    margin-bottom: 15px;

}

.contenedor3 figure:hover>img {
    transform: scale(1.3);

}

.contenedor3 figure .capa1 h3 {
    color: white;
    font-weight: 400;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}

.contenedor3 figure .capa1 p {
    color: white;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    max-width: 220px;
    margin: auto;

}

.redes {
    margin-top: 20px;
    align-items: center;
    display: flex;
    flex-direction: file;
}

.Facebook {
    margin: 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.instagram {
    margin: 10px;
    align-items: center;
    display: flex;
    flex-direction: column
}

.tiktok {
    margin: 10px;
    align-items: center;
    display: flex;
    flex-direction: column
}

.whatsApp {
    margin: 10px;
    align-items: center;
    display: flex;
    flex-direction: column
}