body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ebebeb;
  }
  

  /* popup */
  

  .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
  }

  /* TABS BELOW */ 

  /* Style the tab */
  .tab {
    float: left;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    border-top: none;
    border-left: none;
    padding-top: 1px;
    width: 20%;
    min-height: 90vh;
    flex-wrap: wrap;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tablinks {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* Change background color of buttons on hover */
  .tablinks:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current "tab button" class */
  .tablinks.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    float: left;
    padding: 0px 12px;
    width: 70%;
    border-left: none;
    height: 93.5vh;
  }


  /* CARDS BELOW */

  /* On mouse-over, add a deeper shadow */
  .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }
  
  /* Add some padding inside the card container */
  .container {
    padding: 2px 16px;
  }

  .card {
    background-color: white;
    color:black;
    margin:2em;
    width: 100%;
    min-height: 85vh;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */
    flex-wrap: wrap;
  }

  .card p{
    font-size:15px;
    padding:0;
    
  }
  .card h4{
    margin: 0;
    font-size:25px;
    padding:1px;
  }
  
  /* IMAGES BELOW */
  img{
    display:block;
    margin-left: auto;
    margin-right: auto;
    border:none;
    height: 60vh;
    max-width: 50vw;
  }


  iframe{
    border:none;
    width: 100%;
    height: 60vh;
    }



  /* READ MORE BELOW */
.readMore {
  border-radius: 1em;
  background-color: white;
  border: solid;
  color: black;
  border-color:black;
  text-align: center;
  font-size: 15px;
  padding: 0.5em;
  width: 10em;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}


.readMore span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.readMore span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.readMore:hover span {
  padding-right: 25px;
}

.readMore:hover span:after {
  opacity: 1;
  right: 0;
}

  /* update */
  .updateDate{
    margin:0%;
    padding:0%;
    font-size:12px !important; 
    color:red;
    float:right;
  }


/* DARK MODE BELOW */

.dark-mode .card {
  background-color: #222222;
  color: white;
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.25);
}

.dark-mode .readMore{
  background-color: #535353;
  color: white;
}

.dark-mode .tab{
  background-color:#222222;
  color:white;
}

.dark-mode .tablinks{
  color:white;
  background-color: #444444;
}

.dark-mode .tablinks.active{
  background-color:#222222;
}
.dark-mode .tablinks:hover{
  background-color:#333333;
}

.dark-mode .card:hover{
  box-shadow: 0 8px 16px 0 rgba(255, 255, 255, 0.2);
}

    /* Screen size dependent */
@media screen and (max-width: 680px) {
  .card {
    margin:1em;
    padding:0;
    width: 95%;
    max-width: 100%;
}

}