@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
}

.menu{
    background-color: #94c244;
    color: #fff;
    height: 100px;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.content {
    display: flex;
    margin-bottom: 70px;
}

.columna {
    flex: 1;
    padding: 20px;
    align-items: center;
    display: flex;
}

.columna img {
    width: 50%;
    height: auto;
    padding: 10px;
}

.team {
    display: flex;
    flex-wrap: wrap; /* Permite que las secciones se ajusten a la pantalla */
    padding: 20px;
}

.miembro {
    width: calc(25% - 30px); /* Calcula el ancho de cada sección para que haya 4 columnas */
    text-align: center;
    margin-bottom: 20px;
}

.miembro img {
    width: 100px; /* Tamaño de la imagen */
    height: 100px;
    border: 3px solid #94c244; /* Borde de color */
    border-radius: 50%; /* Borde redondeado para crear un círculo */
    margin-bottom: 10px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}

.section {
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin-bottom: 30px;
}

.section img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.section__content {
    text-align: center;
}

.section__content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.section__content p {
    font-size: 16px;
    color: #555;
}

.catalogo-section {
    margin-top: 70px;
    margin-bottom: 70px;
    background-color: #f5f5f5;
    padding: 40px 40px;
}

.catalogo-content {
    max-width: 700px;
    margin: 10 auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.catalogo-content img {
    flex: 0 0 25%;
    max-width: 100%;
    height: 500px;
    margin: 20px;
}

.catalogo-content p {
    flex: 1;
    font-size: 18px;
    color: #333; 
}
.propiedades {
    list-style-type: none;
    padding: 0;
}

.propiedades li {
    color: #0f0c0c;
    font-size: 16px;
    margin-bottom: 5px;
}

.contacto-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contacto-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contacto-content a {
    color: #007bff;
    text-decoration: none;
}

.contacto-content a:hover {
    text-decoration: underline;
}

.contacto-direccion {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

.contacto-direccion h4 {
    font-size: 20px;
}
.contacto-direccion p {
    font-size: 18px;
}

.about-section {
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    margin-bottom: 20px;
    max-width: 1100px;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

video {
    width: 100%;
    height: auto;
}

.menu__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.menu__logo {
    font-family: "Georgia", Arial, sans-serif; font-size: 20px;
}


.menu__links{
    height: 100%;
    transition: transform .5s;
    display: flex;
}

.menu__item{
    list-style: none;
    position: relative;
    height: 100%;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --transform: rotate(-90deg);
}

.menu__item:hover{
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
}

.menu__link{
    color: #fff;
    text-decoration: none;
    padding: 0 30px;
    display: flex;
    height: 100%;
    align-items: center;
}

.menu__link:hover{
    background-color: #185442;
}


.menu__arrow{
    transform: var(--transform);
    transition: transform .3s;
    display: block;
    margin-left: 3px;
}

.menu__nesting{
    list-style: none;
    transition:clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    right: 0;
    bottom: 0;
    width: max-content;
    transform: translateY(100%);
    background-color: #000;
}

.menu__link--inside{
    padding: 30px 100px 30px 20px;
}

.menu__link--inside:hover{
    background-color: #798499;
}

.menu__hamburguer{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__img{
    display: block;
    width: 36px;
}

@media (max-width:800px){
    .menu__hamburguer{
        display: flex;
    }

    .menu__item{
        --clip:0;
        overflow:hidden ;
    }

    .menu__item--active{
        --transform: rotate(0);
        --background: #5e7094;
    }

    .menu__item--show{
        background-color: var(--background);
    }


    .menu__links{
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 100px;
        bottom: 0;
        right: 0;
        background-color: #94c244;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
    }

    .menu__links--show{
        transform: unset;
        width: 100%;
    }

    .menu__link{
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow{
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting{
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside{
        width: 90%;
        margin-left: auto;
        border-left: 1px solid #798499;
    }
    .catalogo-content {
        flex-direction: column;
    }

    .catalogo-content img {
        flex: 0 0 100%;
        margin-bottom: 20px; 
    }
    .content {
        flex-direction: column;
    }
}