@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=Baloo|Fontdiner+Swanky|Modak|Coiny|Lobster|Righteous|Great+Vibes|Goblin+One');
@import url('https://fonts.googleapis.com/css?family=Fredoka+One|Kanit');

*{
    box-sizing: border-box;
}
img{
    display: block;
    max-width: 100%;
	max-height: 100%;
    }

body {
    background: -webkit-linear-gradient(top,#46181e,#800000);
    font-family: 'Opens Sans', sans-serif;
    margin: 0;
    }


h1, h2, h3, h4, h5, h6 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    letter-spacing: 1.5px;
    
    }
/**/.section__titulo{
    text-align: center;
    font-family: 'Great Vibes';
    letter-spacing: 5px;
    font-size: 40px;
    color: rgba(255,215,0,1);
    text-shadow: 2px 2px 5px white;
}

/**/.contenedor{
    margin: auto;
    width: 98%;
    
}
/**/a{
    text-decoration: none;
    
}
/**/.enlace{
    cursor: pointer;
}

/*-------------------------Estilos de Header-------------------------*/
.header .contenedor{
    display: flex;
    justify-content: space-between;
    
}

.logo, .icon-menu{
    margin: 5px;
    color:white;
    
}

.icon-menu{
    display:block;
    width: 40px;
    height: 40px;
    font-size: 30px;
    background: #800000;
    color:rgba(255,215,0,1);
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
    margin-left: auto;
    cursor: pointer;
}

.nav{
    position:absolute;
    top: 60px;
    top: -100%;    
    width: 80%;
    transition: all 1s ease 0.4s;
}

.menu__link{
    display: block;
    padding: 20px;
    background: white;
    text-decoration: none;
    color: #800000;
    border-bottom: solid 2px white;
    font-size: 25px;
    border-radius: 15px;
    border-color: black;
    }
	
	.menu__link:hover, /**/.select {
    background: #800000;
    color: rgba(255,215,0,1);
}
	
ul li ul li {
    display: none;
}



/**/.menu{
    list-style: none;
    padding: 0;
    margin: 0;
}



.mostrar{
    top: 0;
}
.banner__titulo{
    color: rgba(255,215,0,1);
    transform: translateY(140px);
    text-align: center;
    font-size: 50px;
    font-family: 'Great Vibes';
    text-shadow: 3px 3px 7px white;
}


/*-------------------------Estilos del Banner-------------------------*/
.logoprincess{
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation-name: logoprincess;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    }

@keyframes logoprincess{
    0%, 20% {
        transform: rotate3d(0,1,0,720deg);
    }  
}

.banner{
    margin-top: -85px;
    position: relative;
    z-index: -100;
    margin-bottom: 90px;
    }
.banner .contenedor{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-15%);
    width: 100%;
    color: #fff;
    text-align: center;
}
.banner__txt{
    color: rgba(255,215,0,1);
    transform: translateY(90px);
    text-align: center;
    font-size: 25px;
    font-family: 'Great Vibes';
    text-shadow: 3px 3px 7px white;

}
.banner2{
    display: block;
    border-radius: 50px;
    max-width: 100%;
	max-height: 100%;
    width: 1020px;
    height: 290px;
    margin: 20px auto;
    background-image: url(../img/banner/recamaratorsaldesv.jpg);
    background-size: 100% 100%;
    animation-name: animacion;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    
        
}

@keyframes animacion{
    
    0%, 17.6%{
        background-image: url(../img/banner/cantinaimperial.jpg);
        opacity: 1;
    }
    
    17.7%, 20.5%{
        opacity: 0.1;
    }
    
    20.6%, 38.2%{
        background-image: url(../img/banner/comedorbuo.jpg);
        opacity: 1;
    }
    
    38.3%, 41.1%{
        opacity: 0.1;
    }
    
    
    41.2%, 58.8%{
        background-image: url(../img/banner/comedorespanolino.jpg);
        opacity: 1;
    }
    
    58.9%, 61.7%{
        opacity: 0.1;
    }
    
    
    61.8%, 79.4%{
        background-image: url(../img/banner/recamarados.jpg);
        opacity: 1;
    }
    
    79.5%, 82.3%{
        opacity: 0.1;
    }
    
    
    82.4%, 100%{
        background-image: url(../img/banner/sala.jpg);
        opacity: 1;
    }
}

/*-------------------------Estilos de info-------------------------*/
.info__columna{
    background:-webkit-linear-gradient(top,#E40808,#800000);
    color: #fff;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 30px 30px 0px 0px;
}

.info__img{
    transition: all 3s ease .2s;
    cursor: pointer;
}

.info__img:hover{
    transform: rotate3d(0,1,0,360deg);
}
/*-------------------------Estilos de cursos-------------------------*/
.cursos__columna{
    position: relative;
    margin-bottom: 30px;
    border-radius: 30px 30px 0px 0px;
    transition: transform 1s ease .2s;
    overflow: hidden;
    
}
.info__img{
    border-radius: 20px;
    width: 100%;
    height: 250px;
}
.cursos__descripcion{
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 60%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    
    
    }
.cursos__titulo{
    font-size: 25px;
    margin: 5px 0;
    cursor: pointer;
}

.cursos__img{
    width: 100%;
    height: 100%;
    transition: all 1s ease .2s;
}

.cursos__img:hover{
    transform: scale(1.5);
    border-radius: 10px;
}
.main{
    margin-bottom: 40px;
}
/*-------------------------Estilos de footer-------------------------*/
.footer{
    background: rgba(32,0,0,1);
    color: #fff;
    padding: 10px;
    text-align: center;
}
.footer .social [class^="icon-"]{
    display: inline-block;
    color:#333;
    text-decoration:none;
    font-size:20px;
    padding: 10px;
    background: white;
    border-radius: 50%;
    line-height: 20px;
    transition: all 2s ease .3s;
    
    
}

.footer .social [class^="icon-"]:hover{
    transform: scale(2);
    color: aqua;
    cursor: pointer;
    background: rgba(0,0,0,.3);
    
}
.dom{
    margin: auto;
    color: white;
    text-align: center;
    font-size:20px;
    font-family: 'Fredoka One';
    text-shadow: 5px 5px 8px rgb(32,0,0);
    
}
/*-------------------------Estilos Responsive-------------------------*/
@media(min-width:480px){
    .logoprincess{
        width: 90px;
        height: 90px;
    }
    .logo{
        font-size: 30px;
    }
    .banner{
        margin-top: -105px;
        margin-bottom: 130px;
    }
   
    .banner__titulo{
        font-size: 60px;
        margin: 5px 0;
        transform: translateY(235px);
        
    }
    .banner__txt{
        font-size:35px;
        transform: translateY(190px);
    }
    .info, .cursos{
        display: flex;
        justify-content: space-between;
        margin-top: -20px;
            
    }
    .info__columna{
        width:32%;
        
    }
    .info__titulo{
        font-size: 30px;
        margin: 5px 0;
    }
    .cursos {
        flex-wrap: wrap;
        margin-top: 0;
    }
    .section__titulo{
        width: 100%;
        font-size: 60px;
    }
    .cursos__columna{
        width: 48%;
    }
    .footer .social [class^="icon-"]{
        margin: 0 10px;
    }
    .banner2{
        height: 420px;
    }
    .dom{
        font-size: 25px;
    }
}
/*---------------------------------------------Resolucion de 768px---------------------------------------------*/
@media(min-width:768px){
    .banner__titulo{
        font-size: 60px;
        
    }
    .logoprincess{
        width: 120px;
        height: 120px;
    }
.banner{
    margin-top: -130px;
    margin-bottom: 180px;
    }
   
    .banner__titulo{
        font-size: 80px;
        transform: translateY(285px);
        
    }
    .banner__txt{
        font-size:50px;
        transform: translateY(220px);
    }
    .cursos__titulo{
        font-size: 40px;
        
    }
    .banner2{
        height: 500px;
    }
    .dom{
        font-size: 30px;
    }
}
/*---------------------------------------------Resolucion de 1024px---------------------------------------------*/
@media(min-width:1024px){
   
    /*Estilos del menu desplegable*/
    nav ul{
    list-style: none;
    padding: 0;
}

nav a{
    text-decoration: none;
    color: rgba(0,0,0,.5);
    padding: 0 5px;
    display: block;
    transition: 0.7s;
    width: 150px;
    text-align: center;
}

nav a:hover{
    background: rgba(0,0,0,0.5);
}



nav li{
    line-height: 5px;
    position: relative;
}

.menu ul{
    position: absolute;
}



/*PRIMER NIVEL*/

.menu{
   
    display: table;
    width: 100%;
    
}

nav > ul > li{
    float: left;    
}

/*SEGUNDO NIVEL*/

nav li li{
   
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease .2s;
}

nav li:hover > ul > li{
    max-height: 1000px;
    overflow: visible;
}
.menu > li > ul{
    top: 100%;
}

/*TERCER NIVEL*/

.menu ul ul {
    left: 100%;
    top: 0;
    
}
    
    /*------------------------------estilos complementarios------------------------------*/
    ul li ul li{
    display: block;
    
}
    .nav{
        
        position:static;
        width: auto;
        margin-top: -5px;
        
    }
    .logoprincess{
        margin-top: 0px;
    }
    .menu{
        display:flex;
    }
    
    .menu__link{
        background: rgba(0,0,0,.3);
        font-size: 20px;
        color: rgba(255,215,0,1);
        border-radius: 30px;
        box-shadow: 5px 5px 10px rgba(255,215,0,1);
    }
    
    .select{
        color:rgba(255,215,0,1);
        background: #800000;
    }
    
    .icon-menu{
        display: none;
    }
    
    .banner__titulo{
        font-size: 100px;
         transform: translateY(350px);
    }
    
    .banner__txt{
        font-size: 50px;
        transform: translateY(280px);
        
    }
    .cursos__titulo{
        font-size: 50px;
    }
    
    .contenedor{
        width: 1020px;
        transform: translateY(30px);
    }
    
      
    .info__titulo{
        font-size: 40px;
        text-align: center;
    }
    
    .cursos__titulo{
        font-size:60px;
        margin: 0;
    }
    
    .section__titulo{
        font-size: 80px;
        letter-spacing: 10px;
        margin: 20px 0;
        
    }
    .cursos__txt{
        font-size: 20px;
        text-align: justify;
    }
    .cursos__descripcion{
        padding: 20px;
        width: 70%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
    .banner2{
        height: 600px;
    }
    .banner{
        margin-top: -125px;
    }
}




