@font-face {
    font-family: Ubuntu-bold;
    src: url("fonts/Ubuntu-Bold.ttf");
}

@font-face {
    font-family: Ubuntu-regular;
    src: url("fonts/Ubuntu-Regular.ttf");
}

@font-face {
    font-family: Righteous;
    src: url('fonts/Righteous-Regular.ttf');
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: linear-gradient(rgb(255, 255, 255), rgb(167, 167, 167)); */
    background-image: url("images/fondo_2.jpg");
    background-size: cover;
}

header {
    font-family: Righteous;
    /* position: fixed; */
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(29, 29, 29);
    background-color: rgb(255, 255, 255);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.233);
}

footer {
    font-family: Righteous;
    width: 100%;
    position: relative;
    bottom: 0;
    height: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    color: rgb(29, 29, 29);
}

header nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
    /* background-color: rgb(255, 255, 255); */
}

header button {
    display: none;
    border: none;
    background-color: white;
}

.as {
    display: flex;
    width: 40%;
    justify-content: space-between;
}

footer nav {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

footer aside {
    gap: 40px;
}

nav a {
    font-size: 17px;
    font-weight: 100;
    text-decoration: none;
    color: rgb(44, 44, 44);
    display: flex;
}

nav a:hover {
    transform: scale(1.04);
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.185);
}

footer aside a {
    display: flex;
    font-family: Righteous;
    font-size: 17px;
    text-decoration: none;
    color: rgb(34, 34, 34);
    margin: 0px 20px;
    gap: 10px;
}

footer aside a img {
    width: 20px;
    height: 20px;
}


main {
    display: flex;
    margin: 60px 0px;
    align-items: center;
    flex-direction: column;
    font-family: Ubuntu-regular;
    width: 70%;
    min-height: calc(100vb - 300px);
    gap: 60px;
}

.cab {
    width: 100%;
}

.img {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 900px;
}

.logo {
    width: 70px;
    height: 70px;
}

.cab img {
    width: 100%;
}

#section0 {
    width: 100%;
    height: 900px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.izq {
    /* background-color: rgb(32, 32, 32); */
    background-image: url("images/fondo_4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: rgb(22, 22, 22);
    padding: 10%;
    line-height: 0.9;
    font-family: Ubuntu-regular;
}

.dcha {
    /* background-image: url("images/index_1.jpeg"); */
    /* background-image: url("images/index_1.jpeg"); */
    background-image: url("images/section_0.jpeg");
    background-position: center;
    background-size: cover;
    flex-basis: 60%;
}

section a {
    text-decoration: none;
}

.main-title {
    /* font-size: 100px; */
    font-size: 7.1rem;
    font-family: Righteous;
}

.izq a {
    background-color: rgba(0, 0, 0, 0);
    padding: 20px;
    border: 1px solid rgb(29, 29, 29);
    color: rgb(36, 36, 36);
    border-radius: 20px;
    cursor: pointer;
}

.izq a:hover {
    background-color: rgb(51, 51, 51);
    border: 1px solid rgb(255, 255, 255);
    color: rgb(199, 199, 199);
}

#section1 {
    width: 100%;
    height: 700px;
    display: flex;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.233);
    /* flex-wrap: wrap; */
}

#section2 {
    width: 100%;
    height: auto;
    display: flex;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.233);
}

#section3 {
    background-color: rgb(31, 31, 31);
    width: 50%;
    height: auto;
    display: flex;
    padding: 5%;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.233);
    flex-direction: column;
    color: rgb(201, 201, 201);
    gap: 20px;
}

#section2 iframe {
    flex-basis: 70%;
}

.s1-izq {
    background-color: rgb(32, 32, 32);
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: rgb(196, 196, 196);
    padding: 5%;
    line-height: 0.9;
    font-family: Ubuntu-regular;
    gap: 25px;
}

.s1-dcha {
    background-image: url("images/fondo_3.jpg");
    background-size: cover;
    flex-basis: 60%;
}

.s2-dcha {
    background-color: rgb(199, 199, 199);
    display: flex;
    flex-basis: 40%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: rgb(34, 34, 34);
    padding: 5%;
    line-height: 0.9;
    font-family: Ubuntu-regular;
    gap: 20px;
}

.section-title {
    font-size: 2.7em;
    font-family: Righteous;
}

.section2-title {
    font-size: 1.7em;
    font-family: Righteous;
}

.content {
    width: 100%;
    line-height: 1.6em;
}

#carrousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
    height: 900px;
}

.imagenes {
    display: flex;
    transition: transform 0.5s ease;
}

.imagen {
    width: 100%;
    max-width: 700px;
    object-fit: cover;
}

.botones {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.boton {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

.line {
    border: none;
    height: 1px;
    width: 700px;
    background-color: rgb(36, 36, 36);
    margin: 30px 0px;
}

.menu {
    width: 80%;
}

.submenu {
    height: 600px;
    width: 100%;
    background-color: rgb(53, 53, 53);
    position: absolute;
    margin-top: 700px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.submenu a {
    font-size: 30px;
    text-decoration: none;
    color: white;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .submenu {
        display: none;
    }

    main {
        width: 80%;
    }

    header nav {
        width: 80%;
        justify-content: space-between;
    }

    .as {
        justify-content: space-around;
        width: 80%;
    }

    .dcha {
        display: none;
    }

    #section0 {
        width: 100%;
        height: auto;
    }

    .izq {
        flex-basis: 100%;
    }

    #section3 {
        width: 100%;
        height: auto;
    }


}


@media (max-width: 768px) {
    .submenu {
        display: none;
    }

    header button {
        display: flex;
    }

    header nav {
        width: 100%;
        justify-content: space-between;
    }

    main {
        width: 98%;
        gap: 40px
    }

    .izq {
        flex-basis: 100%;
        height: 700px;
    }

    .dcha {
        display: none;
    }

    #section0 {
        width: 100%;
        height: auto;
    }

    #section1{
        height: 500px
    }

    #section2 {
        flex-direction: column;
    }

    #section1 {
        width: 100%;
    }

    .s1-dcha {
        display: none;
    }

    .s1-izq {
        flex-basis: 100%;
    }

    iframe {
        width: 100%;
    }

    .main-title {
        font-size: 3.9em;
    }

    .as {
        display: none;
    }

    .section2-title {
        text-align: center;
    }

    footer a,
    nav {
        display: none;
    }

    footer aside {
        justify-content: center;
        width: 100%;
    }

    .s2-dcha {
        padding: 40px 20px;
    }

    #section3 {
        width: 90%;
        height: auto;
        padding: 50px 20px;
        justify-content: center;
        align-items: flex-start;
    }

    #carrousel{
        height: auto;
    }
}