:root {
  --yellow: #feed01;
}

@font-face {
  font-family: bebasNeue;
  src: url("../font/BebasNeue-Regular.otf");
}

@font-face {
  font-family: gothamBold;
  src: url("../font/Gotham\ Bold.otf");
}
@font-face {
  font-family: gothamMedium;
  src: url("../font/Gotham\ Medium.otf");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

[class*=" icon-"],
[class*=" icon-"]:before,
[class^="icon-"],
[class^="icon-"]:before {
  color: inherit !important;
}

header {
  min-height: 100vh;
  width: 100%;
  background-image: url("../img/hero.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 3rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroinner {
  max-width: 1100px;
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.heroinner img {
  max-height: 40rem;
}

.heroinner .heroText {
  font-family: gothamMedium;
  text-transform: uppercase;
  color: white;
  max-width: 25rem;
  width: 80%;
}
.heroinner .heroText > p {
  margin-bottom: 2rem;
  line-height: 1.4rem;
}
.heroinner .heroText > div {
  height: 2px;
  width: 7rem;
  background-color: var(--yellow);
  margin-bottom: 2rem;
}
.category_wrapper {
  max-width: 800px;
  width: calc(100% - 2rem);
  padding: 0 1rem;
  margin: 0 auto 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.category_wrapper .category {
  display: flex;
  margin-right: 1.25rem;
  cursor: pointer;
  margin-bottom: 2rem;
  padding: 0.5rem 0.75rem;
  user-select: none;
}

.category_wrapper .category.active {
  background-color: black;
  border-radius: 2px;
  color: var(--yellow);
}

.category_wrapper .category .text {
  margin-left: 0.5rem;
  font-family: gothamBold;
}

.main {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mainFlex {
  width: 100%;
  max-width: calc(1000px + 2rem);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.item {
  width: 100%;
  max-width: calc(33% - 4rem);
  height: 16.25rem;
  margin: 2rem;
  background-image: url("../img/me.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  filter: grayscale(100);
  transition: 0.3s filter;
}

.item:hover .item__content {
  opacity: 1;
}

.item:hover {
  filter: grayscale(0);
}

.item__content {
  width: 100%;
  height: 100%;
  background-color: var(--yellow);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 1rem;
  opacity: 0;
  transition: 0.3s opacity;
  will-change: opacity;
  cursor: pointer;
}

.item .category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  text-transform: uppercase;
  z-index: 69420;
}

.item__content .name {
  text-transform: uppercase;
  font-family: gothamBold;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.item__content .title {
  font-family: gothamMedium;
}

.item .photobadge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.item .photobadge span {
  font-weight: 700;
  margin-right: 0.25rem;
}

.magazine {
  min-width: 850px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: black;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  height: 6rem;
  margin-bottom: 4rem;
}
.snglr .magazine {
  margin-top: 1rem;
}
.magazine__text {
  color: white;
  font-size: 1rem;
  font-weight: 400;
  font-family: gothamMedium;
}
.magazine__button {
  color: white;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
  padding: 0.75rem 3rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 1rem;
  text-decoration: none;
  font-family: gothamMedium;
}
.magazine__placeholder {
  width: 10rem;
}
.magazine__float {
  position: absolute;
  left: -2rem;
  max-width: 12rem;
}

.modalWrapper {
  width: 100%;
  height: 900px;
  max-height: 90vh;
  border-radius: 0px;
  display: flex;
  flex-wrap: wrap;
}

.modal__image {
  width: 50%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 900px;
  max-height: 100%;
  position: relative;
}
.modal__image .photographer {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 5px;
  font-family: GothamMedium;
}
.modal-close{
  color: black;
  top: 0;
  right: 0;
  background-color: var(--yellow);
  padding: 10px;
  font-family: gothamBold;
  position: absolute;
  z-index: 20;
  cursor: pointer;
}

.minimal-modal .prev,
.minimal-modal .next{
  background-color: var(--yellow);
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  z-index: 20;
  color: black;
  cursor: pointer;
}

.minimal-modal .next{
  left: unset;
  right: 10px;
  cursor: pointer;
}

.modal__content {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  padding: 8rem 4rem 4rem;
  flex-direction: column;
  background-color: var(--yellow);
  color: black;
}

.modal__name {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  width: 100%;
  margin-bottom: 0.5rem;
  font-family: gothamBold;
}

.modal__title {
  font-size: 1.75rem;
  font-weight: 800;
  width: 100%;
  margin-bottom: 2rem;
  font-family: gothamMedium;
}

.modal__content p {
  width: 100%;
  font-weight: 800;
  width: 100%;
  font-size: 1.1rem;
  font-family: gothamMedium;
}

.mobtext {
  display: none;
}

.mcategory {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  color: white;
}
.mcategory > span {
  margin-right: 1rem;
}
.mcategory > p {
  font-family: gothamBold;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.modal__content p.relevant {
  margin-top: 2rem;
  font-family: gothamBold;
  font-size: 1.1rem;
}
.modal__content p.relevant > a {
  color: black;
  text-decoration: none;
  font-family: gothamMedium;
  border-bottom: 1px solid black;
  line-height: 1.5rem;
}
.methodology{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.methodology>p{
  text-align: center;
  font-size: 1.2rem;
  font-family: gothamBold;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: .25rem;
  border-bottom: 2px solid black;
  cursor: pointer;
  margin-bottom: 2rem;
}

.method{
  display: none;
  width: 100%;
  background-color: var(--yellow);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.method .inner{
  font-family: gothamMedium;
}

.method.open{
  display: block;
}

@media screen and (min-width: 1500px) {
  .minimal-modal .content {
    max-width: 1300px !important;
  }
}

@media screen and (max-width: 992px) {
  .magazine {
    width: 80%;
    min-width: unset;
    flex-wrap: wrap;
    justify-content: center;
    height: unset;
  }
  .magazine__text {
    width: 100%;
    text-align: center;
    margin: 2rem 0 1rem 0;
    padding: 0 1rem;
  }
  .magazine__button {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  .magazine__float {
    left: -7rem;
  }
  .item {
    max-width: calc(50% - 4rem);
    height: 24rem;
  }
  .modal__content {
    padding: 4rem;
  }
  .desktext {
    display: none;
  }
  .mobtext {
    display: block;
  }
  .heroinner {
    justify-content: center;
  }
  .heroinner .heroText p {
    text-align: center;
  }
  .heroinner img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
  }
  .heroinner .heroText div {
    margin: 0 auto 2rem;
  }
  .heroinner .heroText {
    width: 100%;
  }
  .category_wrapper {
    margin-bottom: 5rem;
  }
}

@media screen and (max-width: 768px) {
  .magazine__text {
    margin: 7rem 0 1rem 0;
  }
  .magazine__float {
    left: unset;
    bottom: 50%;
  }
  .mainFlex {
    padding: 0;
  }
  .item {
    margin: 1rem;
  }
  .modal__image {
    width: 100%;
    padding-bottom: 90%;
    height: unset;
  }
  .modal__content {
    width: 100%;
    padding: 1rem 1rem 2rem;
  }
  .minimal-modal .content {
    margin: 0 !important;
  }
  .modal__content .modal__name {
    font-size: 2rem;
  }
  .modal__content .modal__title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 650px) {
  .item {
    max-width: 100%;
    margin: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .magazine__text {
    margin: 8rem 0 1rem 0;
  }
  .modal__content .modal__name {
    font-size: 1.75rem;
  }
  .modal__content .modal__title {
    font-size: 1.25rem;
  }
  .modal__content p {
    font-size: 1rem;
    text-align: justify;
  }
  .topy{
    background-position: top center !important;
  }
}
@media screen and (max-width: 350px) {
  .magazine__text {
    margin: 9rem 0 1rem 0;
  }
  .magazine {
    width: 95%;
  }
}
