.portfolio {
  background-color: #f5f5f5;
  padding: 7% 0 11% 0;
}
.portfolio__card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
}
.portfolio__card:hover .portfolio__overlay {
  opacity: 1;
}
.portfolio__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  color: #ffffff;
  text-align: center;
  opacity: 0;
  transition: 0.7s ease;
}
.portfolio__overlay::before {
  position: absolute;
  content: "";
  top: 34px;
  left: 34px;
  right: 34px;
  bottom: 34px;
  border: solid 1px #ffffff;
  overflow: hidden;
}
@media (max-width: 990px) {
  .portfolio__overlay {
    opacity: 1;
  }
}
.portfolio__title {
  font-family: "Jaapokki", sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
}
@media (max-width: 1200px) {
  .portfolio__title {
    font-size: 20px;
  }
}
@media (max-width: 990px) {
  .portfolio__title {
    font-size: 32px;
  }
}
.portfolio__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3vw;
  min-width: 2vw;
  height: auto;
  aspect-ratio: 0.8660254038;
  clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
  transition: transform 0.5s ease;
  z-index: 200;
  background-color: #ee3b24;
}
.portfolio__icon svg {
  width: 2vw;
  height: auto;
}
.portfolio__icon svg path {
  transition: 0.5s;
}
.portfolio__icon:hover svg path {
  stroke: #323232;
}
@media (max-width: 990px) {
  .portfolio__icon {
    width: 8vw;
    height: auto;
  }
  .portfolio__icon svg {
    width: 4vw;
    height: auto;
  }
}
.portfolio__pagination {
  justify-content: center;
  margin-top: 130px;
  gap: 10px;
}
.portfolio__pagination--left {
  justify-content: left;
}
.portfolio .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border: solid 1px #dedede;
  transition: 0.5s;
  text-decoration: none;
  color: #000000;
}
.portfolio .page-numbers:hover {
  background-color: #ee3b24;
  border: 1px solid #ee3b24;
  color: #ffffff;
}
.portfolio .page-numbers.current {
  background-color: #ee3b24;
  border: 1px solid #ee3b24;
  color: #ffffff;
}
.portfolio__page-link {
  display: block;
  font-family: "Lato", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
  text-decoration: none;
  color: #ee3b24;
  padding: 1rem 1.5rem;
  transition: 0.5s;
}
.portfolio__page-link:hover, .portfolio__page-link:active {
  color: #ffffff;
}
@media (max-width: 767px) {
  .portfolio__page-link {
    font-size: 16px;
    padding: 0.25rem 0.5rem;
  }
}

.project {
  background-color: #f5f5f5;
  padding-top: 6%;
  padding-bottom: 5%;
}
.project__text {
  padding-bottom: 2%;
}
.project__header {
  position: relative;
  font-family: "Jaapokki", sans-serif;
  font-size: 40px;
  line-height: 54px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.project__header::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background-color: #dedede;
}
@media (max-width: 767px) {
  .project__header {
    font-size: 24px;
  }
}
.project__description {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  line-height: 34px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
@media (max-width: 767px) {
  .project__description {
    font-size: 16px;
  }
}
.project__card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
}
.project__card:hover .project__overlay {
  opacity: 1;
}
@media (max-width: 1024px) {
  .project__card .project__overlay {
    opacity: 1;
  }
}
.project__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  color: #ffffff;
  text-align: center;
  opacity: 0;
  transition: 0.7s ease;
}
.project__overlay::before {
  position: absolute;
  content: "";
  top: 34px;
  left: 34px;
  right: 34px;
  bottom: 34px;
  border: solid 1px #ffffff;
  overflow: hidden;
}
.project__title {
  font-family: "Jaapokki", sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
}
@media (max-width: 1200px) {
  .project__title {
    font-size: 20px;
  }
}
@media (max-width: 990px) {
  .project__title {
    font-size: 32px;
  }
}
.project__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3vw;
  min-width: 2vw;
  height: auto;
  aspect-ratio: 0.8660254038;
  clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
  transition: 0.5s;
  z-index: 200;
  background-color: #ee3b24;
}
.project__icon svg {
  width: 2vw;
  height: auto;
}
.project__icon svg path {
  transition: 0.5s ease;
}
.project__icon:hover svg path {
  stroke: #323232;
}
@media (max-width: 990px) {
  .project__icon {
    width: 8vw;
    height: auto;
  }
  .project__icon svg {
    width: 4vw;
    height: auto;
  }
}

.modal {
  z-index: 1055 !important;
}
.modal__dialog {
  max-width: 720px !important;
  position: relative;
  z-index: 1055 !important;
}
.modal__content {
  background-color: #ffffff;
  padding: 1rem;
  position: relative;
  z-index: 1056 !important;
}
.modal__body {
  text-align: right;
  padding: 0 !important;
}
.modal__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.modal__close {
  background: #f5f5f5;
  margin-top: 20px;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: 0.5s;
  cursor: pointer;
  z-index: 1060 !important;
}

/*# sourceMappingURL=portfolio.css.map */
