body,div,
h1,h2,p,
ol,ul,li {
  margin: 0;
  padding: 0;
  border: 0;
}
@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

html, body {
  min-height: 100%;
  font-family: 'Poppins', sans-serif;
}

body {
	min-width: 290px;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background-image:url(../images/worn-dots.png);
	background-repeat:repeat;
	color: #5B5B49;
	background: #F8EBC8;
  }

h1 {
	font-size: 30px;
	line-height: 1;
	color: #AF847B;
	margin-bottom: .5em;
	float: left;
	width: 100%;
}
h2 {
  float: left;
  width: 100%;
  font-size: 1.5em;
  color: #222;
  margin: 1em 0 .5em;
}

p {
	float: left;
	width: 100%;
	margin-bottom: 2em;
	text-align: left;
}

p.intro {
  font-size: 1.25em;
  color: #555;
  font-weight: bold;
}

a {
  color: #B76264;
  font-weight: 500;
  text-decoration: none;
}

a:active,
a:hover {
	outline: 0;
}

.main {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  padding: 4% 5%;
  position: fixed;
  overflow: hidden;
  overflow-y: scroll;
  border-top-left-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0, .6);
  top: .8em;
  right: 0;
  bottom: 0;
  width: 76%;
  background: #FFF9F0;
}

.main::-webkit-scrollbar {
  -webkit-appearance: none;
  background-color: rgba(0,0,0, .15);
  width: 8px;
  height: 8px;
}

.main::-webkit-scrollbar-thumb {
  border-radius: 0;
  background-color: rgba(0,0,0, .4);
}
#logo-min {
    display: none;
  
}
#izq{
    width: 48%;
    float: left;    
 } 
#der{
    width: 48%;
    float: right; 
 }  
#profe{
    width: 30%;
    margin-right: 15px;
    float: left; 
    text-align: center;
 }  
.nav-collapse {
  position: absolute;
  width: 24%;
  top: 2em;
  left: 0;
}

.nav-collapse ul {
  display: block;
  width: 100%;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
  
}

.nav-collapse a {
  color: #936B60;
  font-weight: bold;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background .3s ease;
  -moz-transition: background .3s ease;
  transition: background .3s ease;
  border-bottom: 1px solid rgba(0,0,0, .2);
  border-top: 1px solid rgba(255,255,255, .1);
  display: block;
  padding: 6px 50px;
  width: 100%;
}

.nav-collapse a:hover { background: rgba(255,255,255, .1) }
.nav-collapse .active a { color: #fff; background-color:#D8988F; }
.nav-collapse li:first-child a { border-top: 0 }
.nav-collapse li:last-child a { border-bottom: 0 }
.nav-toggle { display: none }
left { width:50%;}

#footer{
	background-color:#D8988F;
	text-align:left;
	color: #fff;
	font-size:14px;
	padding: 5px;
	padding-left: 20px;
	content: '';
    position: fixed;
    width: 100%;
    height: 40px;
    z-index: 9;
    bottom: 0;
}

@media screen and (max-width: 40em) {
    
#logo-min {
    display: block;
    width: 200px;
    height: auto;
    margin-bottom: 15px;
    text-align: center;      
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;    
}
  .js .nav-collapse {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
  }
  .nav-collapse {
    top: 0;
    width: 100%;
    position: relative;
  }
  .nav-collapse.opened { max-height: 9999px }
  .nav-collapse a:hover { background: transparent }
  .nav-collapse .active a:hover { color: #fff; background: rgba(0,0,0, .3) }
  .nav-toggle {
    -webkit-font-smoothing: antialiased;
      color: #FFFFFF;
    background-color: #936B60;
    text-align-last: center;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    border-radius: 15px;
    padding-top: 10px;
    position: relative;
    overflow: hidden;
    width: 70px;
    height: 38px;
    float: right;
    display: block;
    margin: 0 -2em 1em 0;
  }
  .nv-toggle:before {
    color: #FFFFFF;
    background-color: #936B60;
    font-weight: bolder;
    font-variant: normal;
    font-size: 28px;
    text-transform: none;
    position: absolute;
    text-indent: 0;
    text-align: center;
    line-height: 65px;
    speak: none;
    width: 100%;
    top: 0;
    left: 0;
  }
  .nav-toggle.active:before {
    font-size: 24px;
    content: "\78";
  }
  .main {
    -webkit-overflow-scrolling: auto;
    box-shadow: none;
    padding: 0 2em 2em;
    border-radius: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .main::-webkit-scrollbar { background-color: transparent }
  table {width: 100% !important;}
    #footer{
    line-height: 25px;
    height: 53px;
}
img {width: 90%; height:auto; !important;}

iframe {width: 100%; !important;}
    
@media all and (max-width: 750px) {
.nav-collapse img {display: none;
}        
#izq{
    width:100%;
 } 
#der{
    width:100%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
 }  
 #profe{
    width: 100%;
    margin-top: 20px;
    margin-right: 0px;
 }  
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  body {
    background-image: url("../debut_dark_@2X.png");
    -webkit-background-size: 200px 200px;
    -moz-background-size: 200px 200px;
    -o-background-size: 200px 200px;
    background-size: 200px 200px;
  }
}
@media screen and (min-width: 76em) {
  .nav-collapse { width: 18em }
  .main { width: auto; left: 18em }

}
   
@media screen and (max-width: 70em) {
    #red {
	width: 10%;
}  