@font-face {
  font-family: itrFont;
  src: url(../font/LeagueSpartan-ExtraBold.ttf);
}

@font-face {
  font-family: itrFontMedium;
  src: url(../font/LeagueSpartan-Medium.ttf);
}

.project {
  background-color: #232323;
  width: 100%;
  min-height: 100vh;
  height: auto;
  opacity: 100%;
  overflow-x: hidden;
  display: flex;
  -webkit-animation: fade 0.9s ease-in;
  -moz-animation: fade 0.9s ease-in;
  -ms-animation: fade 0.9s ease-in;
  -o-animation: fade 0.9s ease-in;
  animation: fade 0.9s ease-in;
  background: linear-gradient(#3b3b3b, #1a1a1a);
}

.projects_wrap {
  flex-wrap: wrap;
  padding: 24px;
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  justify-content: start;
}
.projects__title {
  margin: 20px 0 20px 20px;
  font-family: itrFontMedium;
  color: #fff;
  text-align: center;
}
.project__content {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.project__content__main {
  width: 100vw;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
}

.project__content__main__container {
  padding: 20px;
  border-radius: 10px;
  background-color: rgb(66, 66, 66);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  cursor: default;
  overflow: hidden;
}
.project_item_content {
  flex-grow: 1;
  overflow: scroll;
}

.project_item_content_image {
  border-radius: 10px;
  transition: .1s;
}

.project_item_content_image:hover {
  border-radius: 0px;
}

.project__content__main__container h1,
.project__content__blocks_block h1 {
  color: white;
  opacity: 100%;
  font-size: 40px;
  font-weight: bold;
  font-family: "itrFont";
  padding: 10px;
}

.project__content__main__container span,
.project__content__blocks_block span {
  color: rgb(238, 238, 238);
  opacity: 100%;
  font-size: 18px;
  font-family: itrFontMedium;
  padding: 10px;
  line-height: 20px;
  border-radius: 10px;
  display: block;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.project__content__blocks_block span {
  margin-bottom: 30px;
}

.project__content__blocks {
  margin-top: 6vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-right: calc(-1 * (100vw - 100%));
}

.project__content__blocks_block {
  position: relative;
  border-radius: 10px;
  background-color: rgb(66, 66, 66);
  width: 25vw;
  margin-left: 3vw;
  margin-right: 3vw;
  min-height: 38vh;
  height: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  cursor: pointer;
}

.project__content__blocks_block p {
  position: absolute;
  bottom: 0;
  color: rgb(136, 136, 136);
  opacity: 100%;
  font-size: 20px;
  font-family: itrFontMedium;
  padding: 10px;
  line-height: 32px;
  border-radius: 10px;
}

.project__content__blocks_block:hover,
.project__content__main__container:hover {
  background-color: #666666;
}

@media screen and (max-width: 1550px) {
  .project__content__blocks {
    flex-direction: column;
  }

  .project__content__blocks_block {
    margin-bottom: 6vh;
    width: 80vw;
  }

  .project__content__blocks_block h1 {
    font-size: 35px;
  }
}

@keyframes fade {
  0% {
    opacity: 0;
  }
}
