
/* everything will be border-box */
html {
  box-sizing: border-box;
   // This defines what 1 rem is
   font-size: 62.5%;
}


/* SETS ALL ELEMENTS and PSEUDO ELEMENTS to border-box through inheriting */
*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #000;
  overflow-x: hidden;
  margin-bottom: 70px;
 
}

h1, h2 {
font-family: 'Carter One', Verdana, Helvetica, sans-serif;
}

h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;

}



p {
  margin-bottom: 10px;
  font-size: 1.4rem;
}
button:hover {
  color: #fff !important;
}


.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  grid-gap: 20px;
  width: 100%;
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
}

article {
  display: flex;
  flex-direction: column;
  color: #fff;
  border: 4px solid #900;
  width: 100%;
  padding: 20px;
  border-radius: 25px;
  background: #b11;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}


/* MY STYLES */

article a, section a {
  color: #fe0;
  font-size: 100%;
  text-decoration: none;
}
article a:hover {
  color: #fff;
}
article img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 70%;
}

header {
  background: #000;
  padding: 20px 20px 0px 20px;
}
nav {
  background: #000;
  text-align: center;

}
nav a {
  background: #900;
  background: linear-gradient(#000 0%, #900 80%);
  background: -moz-linear-gradient(top,#000 0%, #900 80%);
  background: -webkit-linear-gradient(#000 0%, #900 80%);
  background: -o-linear-gradient(#000 0%, #900 80%);
  display: inline-block;
  text-decoration: none;
  padding: 20px;
  color: white;
  height: 5%;
  width: 19%;
  font-size: 130%
}
nav a:hover {
  background: #f00;
}
.mobile {
  font-size: 70%;
  padding: 5px;
  text-align: center;
}
a {
  font-style: italic;
  font-weight: bold;
  color: #006;
}
hr {
  border: 1px dashed #300;
  margin-left: 0;
  margin-right: 0;
}
h1 {
  font-size: 2.3em;
}

h2 {
  font-size: 1.6em;
  text-transform: uppercase;
}
h3 {
  font-size: 1.1em;
}
figure {
  background: #600;
  border: 3px solid #600;
  padding: 5px;
}
figcaption {
  font-size: 14px;
  text-align: center;
}
aside {
    display: inline-block;

}
aside img {
  margin-left: 20px;
  }

.welcome {
  background: #ddd;
  padding: 20px;
}


.responsive {
  max-width: 100%;
  height: auto;
}

.hide {
  display: none;
}
.nextShow {
  width: 60%;
  background: rgba(255,255,255,1);
  color: white;
  border: 4px solid red;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 60px 0px 0px 60px;
  position: absolute;
  right: 0;
  top: 60%;
  font-size: 80%;
}
.nextShow p {
  display: inline-block;
  vertical-align: top;
}








/* Styles for Read More */
.read-more {
  display: none;
  max-width: 120px;
  margin-top: 10px;
}

.btn {
  font-family: "Roboto Slab", serif;
  padding: 6px 0;
  border-radius: 0.12em;
  border: none;
  outline: none;
  color: #ddd;
  background-color: #300;
  cursor: pointer;
}

.extra-content {
  display: initial;
}

.show {
  display: initial !important;
}

.normal {
  width: 20%;
}

/* @MEDIA RULES */

@media (max-width: 770px) {
  
  .read-more {
    display: initial;
  }

  .extra-content {
    display: none;
  }

 /* #topNav {
    display: none;
  } */
}

/* 
@media (min-width: 770px) {
  #mobile {
    display: none;
  }
} */


/* Some more my styles */
footer {
  color: #aaa;
  text-align: center;
  background: #000;
}
footer a {
  color: #aaa;
  text-decoration: none;
}
  i.fas,
  i.fab {
    color: #fff;
    font-size: 28px;
    padding-top: 10px;
  }

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
