body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
}

h1, h2 {
  color: #333;
}

a {
  font-weight: 600;
  color: #365289;
  text-decoration: none;
}

a:hover {
  color: #4366ad;
}


@media (min-width: 992px) {
  body {
    margin-left: 80px;
  }
}
/* NAVBAR */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background: #111;
    z-index: 1030;
    display: flex;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: column !important;
}

.sidebar .logo img{
  max-width:65px;
}

#toggleBtn {
    font-size:50px;
    cursor:pointer;
    color:white;
    position: absolute;
    bottom: 20px;
}
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    margin-top: 30px;
    margin-left: 10px;
    font-weight: 900;
    font-size: 100px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 900;
  color: #eaeaea;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

@media screen and (orientation:landscape) {
  main {
  margin-top:0;
  /* padding-left: 95px; */
}
  .sidebar .logo img{
    padding:25px 0;
  }
}

@media screen and (orientation:portrait){

    main {
    margin-top: 70px;
    margin-left: 0;
    /* background-color: aqua; */
    }
    /* .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    background: #111;
    z-index: 1030;
    display: flex;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
} */

/* .logo {
    position: absolute;
    left: 10px;
} */
#toggleBtn {
    font-size: 50px;
    cursor: pointer;
    color: white;
    position: absolute;
    bottom: initial;
    right: 20px;
}

  #myNav {
    width: 100%;
    height: 0%;
  }
  
}


/* HERO */

.link-body-emphasis {
  font-size: 0.6rem;
}

@media screen and (min-width:768px) and (orientation:portrait) {

  .overlay-content {
    margin-left: 50px;
}

.overlay a {
  font-size: 2.5rem;
}

}
@media screen and (min-width:1024px) and (orientation:landscape){

  .overlay-content {
  margin-left: 100px;
}

.overlay a {
  font-size: 3rem;
}

  .link-body-emphasis {
    font-size: 1rem;
}

}

@media screen and (min-width:1200px) and (orientation:landscape){

  .overlay-content {
  margin-left: 150px;
}

.overlay a {
  font-size: 4rem;
}

  .link-body-emphasis {
    font-size: 1rem;
}

}


/* Magazine Home Page */

  .card-content {
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 3px 8px 12px 0px rgba(0, 0, 0, 0.19);
  border-style: none;
  }
  .card-content img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0px 0px;
    margin-top:0;
  }
  .buton-read {
    position: absolute;
    bottom:2rem;
    display: inline-block;
    margin-top: 1rem;
    background-color: #333;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
  }
  .card-text {
    position:relative;
    height: 250px;
  }

  .card-text h2 {
    position: absolute;
    top: 1rem;
  }

  p.fecha {
    position:absolute;
    bottom: 5rem;
    font-size: 0.8rem;
  }

.autor-fecha {
  font-size: 0.9em;
  color: #666;
}

.imagen-destacada {
  margin-top: 0px;
}
 
.contenido p {
  margin: 20px 0;
}


#page-magazine h2 a {
  font-weight: 900;
  color:black;
  font-size: 1.4rem;
}

#page-article h1 {
  font-weight: 900;
  color:black;
  font-size: 2rem;
}
#page-article h2 {
  font-weight: 800;
  color:black;
  font-size: 1.8rem;
}

#page-article h3 {
  font-weight: 700;
  color:black;
  font-size: 1.6rem;
}

img.play-button {
  width:40px;
}

.btn-social {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
}
a.blog-header-magazine {
  font-size: 4rem;
  font-weight: 900;
}

@media screen and (min-width:760px) {
  img.play-button {
  width:60px;
}

  img.play-button:hover {
  width:65px;
}
  
}

footer {
    box-shadow: 0px 0px 8px 5px rgba(0, 0, 0, 0.03);
    border-style: none;
}


