
@font-face {
  font-family: "Exo";
  font-weight: normal;
  src: url("../assets/fonts/Exo-Regular.ttf");
}

@font-face {
  font-family: "Exo";
  font-weight: bold;
  src: url("../assets/fonts/Exo-Bold.ttf");
}

@font-face {
  font-family: "Exo";
  font-weight: x-bold;
  src: url("../assets/fonts/Exo-ExtraBold.ttf");
}

html, body {
  font-family: "Exo";
  margin: 0;
  padding: 0;
  color: #e9eef7;
  background-color: #22252a;
}

* {
    margin: 0;
    padding: 0;
}

body {

}

h1 {
    font-size: 3em;
    margin: 30px;
}

h2 {
    font-size: 1.5em;
    margin: 10px;
}

#head {
  font-family: "Times New Roman";
  text-align: center;
  padding: 10px;
  text-shadow: 2px 2px 4px black;
}

.items {
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
}

.items .item {
  width: 400px;
  height: 200px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: clip;
  overflow-y: clip;
  transition: transform .1s;
  border: 1px solid rgb(255, 255, 255, 0.4);
}

.items .item:hover {
  transform: scale(1.1);
  box-shadow:  rgba(0,0,0,0.8) 0px 20px 30px -10px;
}

.items .item img {
  width: 50%;
  height: 100%;
}

.items .item .desc {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #393E46;
}

.items .item.status-green .desc {
  background: linear-gradient(to top right, #393E46 0% 85%, #5dc27e 85% 100%);
}

.items .item.status-orange .desc {
  background: linear-gradient(to top right, #393E46 0% 85%, #d97742 85% 100%);
}

.items .item.status-red .desc {
  background: linear-gradient(to top right, #393E46 0% 85%, #cd5b54 85% 100%);
}

.items .item .desc .title {
  display: block;
  font-size: x-large;
  text-align: center;
  margin: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.items .item .desc .short {
  display: block;
  margin: 0px 10px 10px 10px;
  font-size: small;
}

.items .item .desc .more {
  display: block;
  margin-top: auto;
}

a {
  text-decoration: none;
}

.button{
  display: block;
  color: #e9eef7;
  cursor: pointer;
  border-radius: 10px;
  margin: 10px;
  padding: 5px;
  background-color: #e9eef7;
  color: #22252a;
  text-align: center;
}

.button:hover {
  background-color: #22252a;
  border: 1px solid rgb(255, 255, 255, 0.4);
  color: #e9eef7;
}

.delimiter {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #b7bbae;
  text-align: center;
  margin: 20px auto 20px auto;
  text-shadow: 2px 2px 4px black;
}

#moreItemsButton {
  width: 200px;
  text-align: center;
  margin: 10px auto;
}

#moreBloc {
  display: grid; 
  grid-template-rows: 0fr;
  transition: 500ms grid-template-rows ease;
}

#moreBloc > div {
  overflow: hidden;
}

#moreBlocParent.open #moreBloc {
  grid-template-rows: 1fr;
}

#footer {
  display: inline-block;
  padding: 20px 0 20px 0;
  width: 100%;
  text-align: center;
  background-color: #22252a;
  border-top: 1px solid rgb(255, 255, 255, 0.4);
  margin-top: 40px;
}

#footer a {
    margin: 5px;
}

#footer i {
  background-color: #e9eef7;
  border-radius: 100%;
  color: #22252a;
  display: table-cell;
  font-size: 2em;
  height: 38px;
  padding: 10px;
  text-align: center;
  width: 38px;
  transition: transform 2s;
  vertical-align: middle;
}

@keyframes logo-rotation {
    0%, 100%   {
        transform: rotate(0deg);
    }
    25%   {
        transform: rotate(-20deg);
    }
    75%   {
        transform: rotate(20deg);
    }
}

#footer i:hover {
  animation: logo-rotation 500ms ease-out infinite;
}