@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

*{
    font-family: 'Montserrat';
}

body{
    margin: 0;
    /*overflow: hidden;*/
    height: 100vh;
    background-size: 210vh;
}

h1{
    text-align: center;
}

p{
    text-align: center;
    padding: 0vw;
    padding-right: 5vw;
    padding-left: 5vw;
}

.logos{
    display: flex;
    justify-content: space-around;
}

.fondo{
	height: 100vh;
}

.layout{
   display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}


.layout > button{
    border-color: orange;
    border-radius: 20px;
    font-size: 1.2em;
    background-color: orange;
    padding: 1%;
    width: 120px;
    height: 40px;
}

.btns > button{
    border-color: orange;
    border-radius: 20px;
    font-size: 1.2em;
    background-color: orange;
    width: 120px;
    height: 40px;
}

.

.layout > div{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.layout > div > img{
    height: 10vh;
}

.layout > div > a{
    width: 20vh;
    margin: 3vh;
    background-color: orange;
    padding: 0%;
    /* border-color: black; */
    /* border: 1px; */
    border-radius: 15px;
}

.layout > .btns{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.salas{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.salas > button{
    border-color: orange;
    border-radius: 20px;
    border-width: 0.6vw;
    font-size: 1.2em;
    background-color: white;
    width: 20vw;
    height: 20vh;
    padding: 1vh 1vw;
    margin: 2%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-around;
    align-items: center
}

.salas > .datos{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30vw;
}

.salas > .datos > img{
    height: 10vh;
}

.salas > .datos > h2{
    margin: 1vh;
}

.salas > .datos > h3{
    margin: 0.9vh;
}

.salas > .datos > h4{
    margin: 0.8vh;
}

.salas > #idView > video{
    width: 65vw;
    height: 70vh;
}

.salas > #idView > img{
    max-width: 65vw;
    height: 70vh;
}

@media screen and (orientation:portrait) {
    .salas > .datos{
        width: 90vw;
    }
    .salas > #idView > video{
        width: 90vh;
        height: 30vh;
    }
    .salas > #idView > img{
        max-width: 90vh;
        height: 30vh;
    }
}


@media screen and (max-height: 400px){
    p{
        margin: 0.8vh; 
    }
    h1 {
        margin: 1vh;
    }
    .salas > .datos > h2{
        margin: 0.5vh;
    }
    .salas > .datos > h3{
        margin: 0.4vh;
    }
    .salas > .datos > h4{
        margin: 0.3vh;
    }
}

@media screen and (orientation:portrait) {
    p{
        padding: 0vw;
        padding-right: 1vw;
        padding-left: 1vw;
    }

    .salas > button{
            border-color: orange;
            border-radius: 20px;
            border-width: 1.6vw;
            font-size: 1em;
            background-color: white;
            width: 40vw;
            height: 15vh;
            padding: 1vh 1vw;
            margin: 2%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            align-content: center;
    }
}