* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Arial;
  margin: 0;
  overflow-x: hidden;
  width: 100%
}

/* Header/logo Title */
.header {
  text-align: center;
  color: white;
}

/* Style the top navigation bar */
.navbar {
  display: flex;
  background-color: #333;
}

/* Style the navigation bar links */
.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
  
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  flex: 0%;
  background-color: #f1f1f1;
  padding: 20px;
  text-align: center;
}

/* Main column */
.main {
  flex: 100%;
  background-color: white;
  padding: 20px;
  text-align: center;
}

/* Fake image, just for this example */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

.responsiveimg {
  width: 100%;
  height: auto;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}

.button {
  background-color: #363636;
  width: 300px;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.side a:hover {
  background-color: #ddd;
  color: black;
}

.recent-news img{
    width: 70px;
    height: 70px;
    margin: 10px;
}

.recent-news p{
    font-size: 14px;
    font-weight: bold;
    margin: auto;
}

.mainnews {
  padding: 10px;
    border: 1px solid #fff;
    margin: auto 0;
    border-radius: 5px;
}


.pagetitle {
  text-align: center;
  color: black;
}





.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 20%;
  height: 50%;
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
  
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.cardcontainer {
  padding: 2px 16px;
}

.cardimage {
  width: 70%;
  height: 300px;
}

.articletitle {
  font-family: Arial; 
  font-size: 50px;
}

.articledate {
  text-align:right; 
  font-family: Arial; 
  font-size: 20px;
}

.articleparagraph {
  font-size: 30px; 
  text-align: justify;
}


.cardcontainer a:link, a:visited {
  background-color: #000000;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.cardcontainer a:hover, a:active {
  color: black;
  background-color: #ddd;
}


.archiveyears a:link, a:visited {
  background-color: #000000;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.archiveyears a:hover, a:active {
  color: black;
  background-color: #ddd;
}



.archivemonth {
  font-size: 20px; 
  text-align: center; 
  color: red; 
  font-weight: bold;
}

.archiveitem {
  font-size: 20px; 
  text-align: right;
}

.archiveitemdate {
  font-size: 20px; 
  text-align: right; 
  color: red;
}

.archiveitemtext a {
  font-size: 20px; 
  text-align: right; 
  color: blue

}

.marqueetext {
  font-size: 40px;
}


.imagescontainer {
    width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
}

.imagearticle {
  max-width: 100%;
  object-fit: fill;
  
}

pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row, .navbar {   
    flex-direction: column;
  }


  .side {
    display: none;
  }
  

  .card {
    width:100%;
    float:left;
    margin-left :0;
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  body {
    max-width: 100%;
    overflow-x: hidden;
  
  }

  .imagescontainer {
    width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
    
  }

}