@font-face {
  font-family: "Neutral Face";
  src: url("assets/NeutralFace.woff") format("woff"), url("assets/NeutralFace.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}

:root {
  --background-color: #e3e3e3;
  --color-1: #3841f2;
  --color-2: #f5a6e6;
  --color-4: #f7f7f7;
  --font-1: "Neutral Face";
}

.photo_types {
  text-align: center;
  margin: 2rem 0;
}

.photo_types h2 {
  margin: 1rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
  color: black;
}
.photo_type_list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.photo_type_list a {
  /* padding: 0 1rem; */
  font-family: var(--font-1);
  text-align: center;
  padding: 0.4rem 1rem;
  background-color: white;
  color: black;
  border: var(--color-1) solid 2px;
  margin: 0.3rem 0.5rem;
  font-size: 1rem;
  border-radius: 25px;
}

.photo_type_list a:hover {
  background-color: var(--color-1);
  color: white;
}
.carousel {
  display: flex;
  overflow-x: auto;
  align-items: flex-start;
}

.carousel img {
  max-width: 40%;
  display: block;
  margin: 0 auto;
  height: auto;
}

.carousel .horizontal {
  height: auto;
  max-width: 91%;
}

.carousel .horizontal1 {
  height: auto;
  max-width: 89%;
}

.photo_section {
  display: grid;
  grid-area: mn;
  margin-bottom: 2rem;

  grid-template-areas:
    "p1 div"
    " .div";
}
.p1 h2 {
  font-family: var(--font-1);
  color: var(--color-1);
}
.p1 {
  grid-area: p1;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  color: black;
  max-width: 23rem;
  margin: auto 2rem;
}

.carousel {
  grid-area: div;
}

#videos {
  /* position: relative;
    width: 58vw;
    height: 32.6vw; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin: 2rem;
}

#video {
  display: flex;
  align-content: center;
}

#videos .p1 {
  max-width: 30rem;
}
.title {
  text-decoration: none;
  font-size: 2.5rem;
}

#videoScr {
  width: 100%;
}

#projecthead {
  margin-left: -2rem;
}

/* 
  @media only screen and (max-width: 430px) {
    .carousel img {
      max-width: 60%;
      display: block;
      margin: 0 auto;
      height: auto;
    }
  } */

@media only screen and (max-width: 700px) {
  .carousel img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
  }

  .carousel .horizontal {
    max-width: 227%;
    height: auto;
  }
  .carousel .horizontal1 {
    height: auto;
    max-width: 223%;
  }
}

@media screen and (min-width: 320px) and (max-width: 450px) {
  .photo_section {
    display: grid;
    grid-template-areas:
      "h1 h1 h1"
      "p1 . ."
      "div div div";
  }

  .carousel {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  .carousel .horizontal,
  .carousel .horizontal1 {
    max-width: 100%;
  }
  #videos {
    flex-direction: column;
  }
}

@media screen and (min-width: 450px) and (max-width: 800px) {
  .photo_section {
    display: grid;
    grid-template-areas:
      "h1 h1 h1"
      "p1 . ."
      "div div div";
  }

  .carousel {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  .carousel .horizontal,
  .carousel .horizontal1 {
    max-width: 100%;
  }
  .carousel img {
    max-width: 80%;
  }
  #videos {
    flex-direction: column;
  }
}
