a:link {
  color: #333333; text-decoration: none
  font-size: 14px;
}

.card {
  background-color: #eeeeee;
  color: black;
  padding: 1rem;
/*  height: 4rem; */
  box-shadow: 2px 2px 1px #cccccc;
}

.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 2rem;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-rows: 1fr;
  grid-gap: 30px;
/*  box-shadow: 2px 2px 1px #cccccc;*/
  margin: 100px;
  margin-top:180px;
}

.item {
  background-color: #ffffff;
  display: flex;
  width: 100%;
  position: relative;
  background-position: top;
  background-size: 100% 45%;
  background-image: cover;
  background-repeat: no-repeat;
  border-radius: 2%;
  box-shadow: 1px 1px #cccccc;
}

.item:before {
  content: "";
  display: block;
  height: 0;
  width: 0;
  padding-bottom: calc(6/4 * 100%);
}

.itemimg {
  width: 100%;
  height: 30%;
  margin: 0;
  color: #AAAAAA;
}

.content {
  position: absolute;
  background-color:#FFFFFF;
  top: 47%;
  margin: 0;
  width: auto;
  height: 49%;
  margin-left: 5px;
  margin-right: 5px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  column-width: 1200px;
  overflow-wrap: anywhere;
}

.title {
  font-weight:bold;
  font-size: 100%;
  margin-bottom:5px;
  margin-top:0px;
  width:100%;
}

body {
  padding: 1rem; 
  background-color: #F0F1F4;
  font-family: -apple-system, BlinkMacSystemFont,
    “Segoe UI”, “Roboto”, “Oxygen”, “Ubuntu”, “Cantarell”,
    “Fira Sans”, “Droid Sans”, “Helvetica Neue”,
    sans-serif;
}

@import url(https://fonts.googleapis.com/css?family=Roboto:400);
body {
  font-family: 'Roboto', sans-serif;
}

.header {
  max-width: 720px;
  margin: 2em auto 10em;
}

.header-nav {
  position: relative;
  padding-right: 3em;
}
.header-nav:before, .header-nav:after {
  content: '';
  display: table;
}
.header-nav:after {
  clear: both;
}

.menu {
  display: inline-block;
  float: right;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menu li {
  display: inline-block;
}
.menu li a {
  color: #0097bf;
  display: block;
  padding: 10px;
  position: relative;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  text-decoration: none;
}




.search-button {
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
}

.search-toggle {
  position: relative;
  display: block;
  height: 10px;
  width: 10px;
}
.search-toggle::before, .search-toggle::after {
  content: '';
  position: absolute;
  display: block;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.search-toggle::before {
  border: 2px solid #0097bf;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  left: -2px;
  top: -2px;
}
.search-toggle::after {
  height: 2px;
  width: 7px;
  background: #0097bf;
  top: 10px;
  left: 8px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.search-toggle.active::before {
  width: 0;
  border-width: 1px;
  border-radius: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: -1px;
  left: 4px;
}
.search-toggle.active::after {
  width: 12px;
  left: -1px;
  top: 4px;
}

.search-input {
  font-size: 14px;
}

.search-input:focus {
  outline: none;
}

#header-2 {
  overflow: hidden;
}
#header-2 .menu li {
  opacity: 1;
  -webkit-transition: opacity 0.2s 0.1s, -webkit-transform 0.3s;
  transition: opacity 0.2s 0.1s, -webkit-transform 0.3s;
  transition: transform 0.3s, opacity 0.2s 0.1s;
  transition: transform 0.3s, opacity 0.2s 0.1s, -webkit-transform 0.3s;
}
#header-2 .menu li:nth-child(1) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
#header-2 .menu li:nth-child(2) {
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}
#header-2 .menu li:nth-child(3) {
  -webkit-transition-delay: 0.6s;
          transition-delay: 0.6s;
}
#header-2 .menu li:nth-child(4) {
  -webkit-transition-delay: 0.7s;
          transition-delay: 0.7s;
}
#header-2 .menu li:nth-child(5) {
  -webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
}
#header-2 .search-box {
  position: absolute;
  left: 0;
  height: 100%;
  width: 0;
  padding-left: 2em;
  -webkit-transform: translateX(20%);
          transform: translateX(20%);
  opacity: 0;
  -webkit-transition: all 0.4s 0.3s;
  transition: all 0.4s 0.3s;
}
#header-2 .search-box .search-input {
  border: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
#header-2 .search-box .search-toggle {
  width: 14px;
  height: 14px;
  padding: 0;
  position: absolute;
  left: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
#header-2.show .menu li {
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  opacity: 0;
}
#header-2.show .search-box {
  width: calc(100% - 5em);
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}


/* TABS */

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  font-size: 14px;
  color: 888;
}

/* Style the buttons inside the tab */
.tab a {
/*  background-color: inherit; */
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 14px;
}

/* Change background color of buttons on hover */
.tab a:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab a.active {
  background-color: #ccc;
}

