@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Titillium+Web:wght@600&display=swap');


#parte-principal {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 0 5% 75px 3%;
}

#parte-central {
    display: grid;
    justify-items: center;
    width: 133%;
}

#parte-derecha {
    display: grid;
    justify-items: end;
}

.video {
    width: 100%;
}

.video video {
    cursor: pointer;
    width: 100%;
}

.video2 {
    width: 100%;
    margin: 17% 0 0 0;
}

.video2 video {
    cursor: pointer;
    width: 100%;
}

.video3 {
    width: 100%;
    margin: 17% 0 0 0;
}

.video3 iframe {
    cursor: pointer;
    width: 100%;
}

.botones {
    padding: 12% 0 0 0;
}

.fecoss button {
    background-color: white;
    cursor: pointer;
}

.fecoss img {
    width: 100%;
    height: 100%;
}

.fecoss_2 {
    display: none;
}

.fecoss_2 button {
    width: 235px;
    background-color: white;
    cursor: pointer;
    border: 5px solid #092fa9;;
    transition: .3s ease all;
    border-radius: 9px;  
}

.fecoss_2 button:hover {
    border: 5px solid #cd1313;
}

.fecoss_2 img {
    width: 100%;
    height: 100%;
}

.imagenshow {
    width: 71%;
    position: relative;
}

.imagenes div {
    position: relative;
    width: 100%;
}

.imagenes div img {
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    margin: 17% 0 0 0;
}

.imagenes div img:hover {
    opacity: 0.8;
}

#myImg01 {
    margin: 0;
}

.imagenes {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.imagenshow_d {
    width: 71%;
    position: relative;
}

.imagenes_d div {
    position: relative;
    width: 100%;
}

.imagenes_d div img {
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
}

.imagenes_d div img:hover {
    opacity: 0.8;
}

.imagenes_d {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.img {
    display:none;
    margin: 0 0 17% 0;
}

.img_d {
    margin: 0 0 17% 0;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px;
    padding-bottom: 102px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 85%;
    max-width: 950px;
}

.modal-content {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.2s;
    animation-name: zoom;
    animation-duration: 0.2s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 1502px) {
    .botones-laterales a {
        width: 145px;
    }

    .botones-laterales button {
        width: 145px;
        height: 135px;
    }

    .botones-laterales img {
        width: 113px;
    }    
}

@media screen and (max-width: 974px) {
    .botones-laterales button {
        width: 114px;
        height: 102px;
    }

    .botones-laterales img {
        width: 79px;
    }

    .botones-laterales a {
        width: 114px;
    }
}

@media screen and (max-width: 769px) {
    .img {
        display: block;
    }

    #parte-principal {
        justify-content: center;
        justify-items: center;
        grid-template-columns: auto;
        padding: 0 6% 75px 7%;
    }

    #parte-central {
        width: 100%;
    }

    #parte-derecha {
        display: none;
    }

    #parte-izquierda {
        display: block;
    }

    .video {
        width: 100%;
    }

    .video2 {
        width: 100%;
    }

    .video2 video {
        margin: 0 0 18% 0;
    }

    .video3 {
        width: 100%;
        margin: 0 0 17% 0;
    }

    .imagenshow {
        width: 100%;
    }

    .botones-laterales {
        display: none;
    }

    .fecoss_2 {
        display: flex;
        justify-content: center;
    }
    
    .descargar button {
        width: 15vw;
        height: 8vw;
        font-size: 2vw;
    }

    .descargar {
        bottom: 4vw;
        right: 4.3vw;
    }
}

@media screen and (max-width: 420px) {
    .fecoss_2 button {
        width: 250px;
    }

    .imagenes div a {
        bottom: 5vw;
    }
}