body{
    width: auto;
    height: auto;
    margin: auto;
    max-width: 1920px;
}

#line1{width: 95%; margin: auto; margin-bottom: 20px;}

main{
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

#line2{width: 90%; margin: auto;}

#descripcion{
    width: 90%;
    margin: auto;
    text-align: center;
}

main #PlacaUno{
    width: 90%;
    height: auto;
    margin: 30px auto 15px auto;
    border-radius: 6px;
}

#PlacaUno a{text-decoration: none;}

#PlacaUno .box{
    width: 100%;
    height: 200px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: silver;
    padding-top: 75px;
    margin-bottom: 25px;
}

.box .titulo{
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

.titulo h2{
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.9);
}

#PlacaUno #peces{background-image: url(../imagenes/peces.jpg);}
#PlacaUno #inver{background-image: url(../imagenes/invertebrados.jpg);}
#PlacaUno #corales{background-image: url(../imagenes/corales.jpg);}

section{
    width: 90%;
    height: auto;
    margin: 0 auto 30px auto;
}

section h2{
    text-align: center;
    color: #000;
    margin-bottom: 15px;
    margin-top: 15px;    
}

section #PlacaVideos{width: 100%; height: auto;}

#PlacaVideos #VideoUno, #PlacaVideos #VideoDos{
    width: 100%;
    height: 270px;
    margin-bottom: 15px;
}

#VideoUno iframe, #VideoDos iframe{width: 100%; height: 270px;}


#banner{
    width: 91%;
    height: 150px;
    margin: 15px auto;
    background-color: gray;
    background-image: url(../imagenes/tecno.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

#banner #t1{
    width: auto;
    height: auto;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    position:absolute;
    right: 15px;
    top: 35px;
}

#banner p{
    width: auto;
    height: auto;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    position:absolute;
    right: 15px;
    bottom:25px;
}

#banner #t1, #banner p{text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.8);}

/*////////////////////////////////*/

@media screen and (min-width:768px){
    main{width: 80%; margin: auto;}    
    #line2{width: 75%;}
    section{width: 72%;}
    }

@media screen and (min-width:992px){
    .navbar-nav {
    width: auto;
    height: 70px;
    border-bottom: none;
    position: absolute !important;
    right: 65px;
    margin-top: 32px;
    }

    main{width: 100%;}

    main #PlacaUno{
    width: 93%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    }

    #PlacaUno .box{width: 30%;}
    #PlacaUno a .box{width: 300px;}

    section{
    width: 93%;
    height: auto;
    margin: 0 auto 30px auto;
    }
    
    section #PlacaVideos{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    }
    
    #PlacaVideos #VideoUno, #PlacaVideos #VideoDos{
    width: 48%;
    height: 370px;
    margin-bottom: 15px;
    }
    
    #VideoUno iframe, #VideoDos iframe{
    width: 100%;
    height: 370px;
    }

    /*NAVBAR*/
    .navbar{
    width: 100%;
    height: 90px;
    max-width: 1920px !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    position:absolute !important;
    z-index: 1000 !important;
    top:0;
    /*left: 0;*/
    box-shadow: none;
    }

    .container-fluid{width: 91%;}

    .navbar .navbar-brand{display: none;}

    .navbar-brand-logo{
    display: block;    
    width: 150px;
    height: auto;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
    }

    .navbar-brand-logo img{width: 100%; height: auto;}

    .navbar-nav {
    width: auto;
    height: 70px;
    border-bottom: none;
    position: absolute !important;
    right: 65px;
    margin-top: 32px;
    }

    .nav-item{
    width: auto;    
    margin-left:0;
    margin-top: 5px !important;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    }    

    .nav-link{
    width: auto;
    height: 30px !important;
    border-bottom: none !important;    
    border-left: 1px solid rgba(255,255,255,0.35);
    font-size: 1rem !important;
    text-align: center !important;
    line-height: 32px;
    padding-top: 0;
    padding-left: 15px !important;
    padding-right: 15px !important;
    } 

    .primero{border-left:none;}

    .nav-link:hover{color:#07b7f2 !important; text-shadow: none;} 

    /*CAROUSEL*/
    .carousel, .carousel-inner, .carousel-item, .carousel img{
    height: 570px !important;
    }
    main{width: 95%;}

    main #PlacaUno{
    width: 100%;    
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    }

    #PlacaUno .box{width: 31.5%; transition: 0.5s;}
    #PlacaUno .box:hover{
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    }


    section{
    width: 93%;
    height: auto;
    margin: 0 auto 30px auto;
    }
    
    section #PlacaVideos{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    }
    
    #PlacaVideos #VideoUno, #PlacaVideos #VideoDos{
    width: 48%;
    height: 370px;
    margin-bottom: 15px;
    }
    
    #VideoUno iframe, #VideoDos iframe{
    width: 100%;
    height: 370px;
    }
    
    #banner #t1{
        width: auto;
        height: auto;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        text-align: center;
        position:absolute;
        right: 100px;
        top: 25px;
    }
    
    #banner p{
        width: auto;
        height: auto;
        color: #fff;
        text-align: center;
        font-size: 25px;
        font-weight: bold;
        text-align: left;
        position:absolute;
        right: 100px;
        bottom:20px;
    }

}



