main {
    max-width: 1366px;
    width: 100vw;
    heigh: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 640px 80px 720px;
}

/**********************CONT IZQ***********************/
.logo2 {
    grid-row: 1/2;
    height: 100%;
    line-height: 750px;
    position: relative;
}

    .logo2 img {
        width: 100%;
    } 

.social-media {
    grid-row: 2/3;
    height: 80px;
    text-align: end;
    padding-right: 20px;
    align-content: center;  
}

    .social-media a {
        margin: 0 10px;
    }
    
        .social-media a img {
            width: 30px;
            cursor: pointer;
            transition: 0.3s;
            filter: grayscale(80%);
        }
        
        .social-media a img:hover {
            scale: 1.2;
            filter: grayscale(0%);
        }

/**********************CONT DCHA***********************/
.slider {
    grid-row: 3/4;
    height: 720px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    justify-content: center;
}

        /**************PARTE INVISIBLE CONTROLES********************/
    .slider input {
        visibility: hidden;
        display: none;
    }

    .slider .buttons {
        position: absolute;
        width: 100%;
        display: flex;
        justify-content: center;
        bottom: 30px;
        gap: 10px;
    }

        /**************PARTE VISIBLE CONTROLES***********************/
        .slider .buttons label {
            width: 20px;
            height: 20px;
            background: #FFFFFF;
            border-radius: 5px;
            opacity: 0.5;
            cursor: pointer;
            z-index: 1;
            transition: 0.3s ease-in-out;
        }
        
        .buttons label:hover {
            scale: 1.2;
            opacity: 1;
        }

        /**************INSTRUCCIONES********************************/
        .slider input:nth-child(1):checked ~ .buttons label:nth-child(1), 
        .slider input:nth-child(2):checked ~ .buttons label:nth-child(2), 
        .slider input:nth-child(3):checked ~ .buttons label:nth-child(3) {
            opacity: 1;
            scroll-margin: 1.2;
            width: 40px;
        }

        /**************CONTENIDO SLIDES*****************************/
    .slider-content {
        width: 300%;
        height: 100%;
        display: flex;
        transition: 0.8s ease-in-out;
    }
    
        .first-slide, .second-slide, .third-slide {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 5px;
        }

        .first-slide {
            background: url("../img/NSPII(opt).jpg");
            background-size: cover;
            background-position: center;
        }
        
        .second-slide {
            background: url("../img/NTS-III.jpg");
            background-size: cover;
            background-position: center;
        }
        
        .third-slide {
            background: url("../img/NTS-VI.jpg");
            background-size: cover;
            background-position: center;
        }

                .slider input:nth-child(1):checked ~ .slider-content {
                    margin-left: 0;
                }
                
                .slider input:nth-child(2):checked ~ .slider-content {
                    margin-left: -100%;
                }
                           
                .slider input:nth-child(3):checked ~ .slider-content {
                    margin-left: -200%;
                }



 /* DISPOSTIVOS MEDIANOS TIPO TABLETS, NOTEBOOKS, PORTATILES PEQUEÑOS, ETC. */
@media screen and (min-width:769px) and (max-width:1023px){}

 /* DISPOSTIVOS GRANDES O ALTA RESOLUCIÓN TIPO MONITOR, TV, ETC */
@media screen and (min-width:1024px){
    
    main {
        width: 100%;
        height: 800px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 640px 80px;
    }
 /*********************RECOLOCACIÓN GRID************************/   
    .logo2 {
        grid-column: 1/2;
        grid-row: 1/2;
    }
    
    .social-media {
        grid-column: 1/2;
        grid-row: 2/3;
    }
    
    .slider {
        grid-column: 2/3;
        grid-row: 1/3;
    }
}