/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-image:url("fondos/cielo.gif");
  background-color:#B0FFF6;
  color:black;
  font-family: 'Bahnschrift', 'verdana', sans-serif;
  font-size:15px;
}
  
.title-box {
  width:auto;
  margin:0 auto;
  background-color:white;
  border:5px #FFD761 solid;
  border-radius:20px;
  padding:5px;
  font-family:'comic sans MS', sans-serif;
}

.contenido {
 border-radius:20px;
 width:700px;
 margin-top:1%;
 margin-left:245px;
 padding:10px;
 background-color:white;
 border:#FFD761 4px solid;
}


h1, h2, h3 {
  text-align:center;
  color:#FFC821;
  }
  
article {
  text-align:center;
  }
  
.sidebar {
  border-radius:20px;
  margin-top:1%;
  position:absolute;
  width:200px;
  height:auto;
  padding:10px;
  background-color:white;
  border:#FFD761 4px solid;
  }
    
.mobile-friendly-sign {
  border-radius:20px;
  margin-top:1%;
  position:absolute;
  text-align:center;
  width:160px;
  height:60px;
  padding:10px;
  margin-left:985px;
  background-color:white;
  border:#FFD761 4px solid;
  }
  
.topic li {
  display:inline-block; 
  width:80px;
  text-align:center;
  border:2px #FFD761 solid;
  padding:5px;
  border-radius:10px;
  }
  
.sidebar li {
  margin-bottom:20px;
  display:block;
  }
    
.sidebar a {
  color:#FFD761;
  border:#FFD761 2px solid;
  padding:5px;
  background-color:white;
  font-size:18px;
  border-radius:10px;
  }
  
.sidebar a:hover {
  color:white;
  background-color:#FFD761;
  }
  
.blinkies {
 position:absolute;
 border-radius:20px;
 top:250px;
 width:200px;
 margin-top:1%;
 padding:10px;
 background-color:white;
 border:#FFD761 4px solid;
 }
 
@media screen and (max-width: 1000px) {
  .sidebar {
    position:static;
    width:100%;
    height:auto;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-left:0;
    }
    
  .contenido {
    width:95%;
    margin:0 auto;
    margin-top:1%;
    margin-left:0;
    }
    
  .blinkies {
    position:static;
    width:95%;
    margin:0 auto;
    margin-top:1%;
    margin-left:0;
    }
    
  .title-box {
    margin-bottom:1%;
    }
  .sidebar li {
    margin-bottom:0;
    display:inline-block;
    }

  .mobile-friendly-sign {
    display:none;
    }
    
  .topic li {
  display:inline-block; 
  width:80px;
  text-align:center;
  }
  article {
  text-align:center;
  }
}
