body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #f2f0ef;
  line-height: 21px;
  font-size: 14px;
}

h5,
h3,
h1,
h2 {
  font-weight: 600;
}

.about-right h3 {
  text-align: center;
}

a {
  text-decoration: none;
  color: #f6c0ca;
}

.flex {
  display: flex;
  justify-content: space-around;
}

.about-left {
  width: 30%;
  padding-left: 5rem;
}

.about-right {
  width: 30%;
  padding-right: 5rem;
}

.arrows {
  justify-content: center !important;
  gap: 5px;
  padding-bottom: 1rem;
}

/* projects windows */
.projects-container {
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.project {
  border: solid white 2px;
  border-radius: 5px;
  height: fit-content;
  width: 90%;
  position: relative;
}

.proj-img {
  width: 100%;
  height: 100%;
  opacity: 1;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.project:hover .proj-img {
  opacity: 0.3;
}

.project:hover .middle {
  opacity: 1;
}

.middle {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  align-items: center;
}

.text {
  background-color: #e2b0c6;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.text a,
.title,
.text {
  color: #090909;
}

.title {
  background-color: #f2f0ef;
  font-size: 2rem;
  width: 22rem;
  border-radius: 10px;
  padding: 0.5rem;
}

.title :hover {
  cursor: default;
}

.title p {
  margin: 1rem;
}

/* header */
header {
  justify-content: space-between !important;
  width: 100%;
}

.find-me {
  width: 11.5rem;
  font-size: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-right: 1.5rem;
}

.find-icons {
  gap: 10px;
}

.find-me-link {
  width: 25px;
}

.logo {
  width: 60px;
  padding: 1.5rem;
}

/* projects scroll bar custom for chrome/safari on mac and windows browsers */
.about-right::-webkit-scrollbar {
  background-color: transparent;
}

.about-right::-webkit-scrollbar-thumb {
  background-color: #0d1f1d;
  border-radius: 7px;
}
/*  */

/* projects scroll bar for firefox on windows */
.about-right {
  scrollbar-color: #0d1f1d transparent;
}
/*  */

button {
  font-family: "Montserrat", sans-serif;
  background-color: #e2b0c6;
  height: 3rem;
  width: 9rem;
  border-radius: 7px;
  border: none;
  box-shadow: 15px 15px 3px #0f1c18;
  margin: 2rem 0rem;
}

button:hover {
  background-color: #f5b7c2;
  cursor: pointer;
}

footer {
  background-image: url(/images/clouds.png);
  width: 100%;
  height: 75px;
  z-index: 1;
}

/* background colors */

.grad-bg,
.grad-bg-2 {
  width: 100%;
  height: 100vh;
  padding-bottom: 3rem;
  background-size: 300%;
  animation: bg-animation 5s infinite alternate;
  animation-play-state: paused;
}

.grad-bg {
  background-image: linear-gradient(
    100deg,
    #102b21,
    #152621,
    #11211f,
    #0d1f1d,
    #080517,
    #181b1b
  );
}

.grad-bg-2 {
  background-image: linear-gradient(
    100deg,
    #181b1b,
    #080517,
    #0d1f1d,
    #11211f,
    #152621,
    #102b21,
    #0f1c18
  );
}

.grad-bg:hover,
.grad-bg-2:hover {
  animation-play-state: running;
}

/* animations */
@keyframes bg-animation {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}

@keyframes bg-animation-2 {
  0% {
    background-position: right;
  }
  100% {
    background-position: left;
  }
}

/* responsive media queries */

/* laptop and up */
@media (min-width: 1407px) {
  .about-left,
  .about-right {
    height: 600px;
  }
}

/* large ipad */
@media (min-width: 768px) and (max-width: 1406px) {
  .about-right {
    height: 800px;
  }
  .grad-bg {
    height: fit-content;
  }
}

/* small ipads */
@media (min-width: 768px) and (max-width: 1020px) {
  .about {
    height: 900px;
  }

  .project {
    height: 125px;
    width: 220px;
  }

  .middle {
    width: 70%;
    gap: 0.5rem;
  }

  .title {
    padding: 0;
    width: 12rem;
    font-size: 1rem;
  }

  .title p {
    margin: 0.5rem !important;
  }

  .text {
    font-size: 0.85rem;
    padding: 0.25rem;
  }
}

/* scroll exists on all sizes above cellular phone */
@media (min-width: 601px) {
  .about-right {
    overflow-y: auto;
  }
}

/* cellphones */
@media (max-width: 767px) {
  .grad-bg,
  .about-right {
    height: auto;
  }

  .about {
    flex-direction: column;
    gap: 2rem;
  }

  .about-left,
  .about-right {
    padding: 0rem 2.5rem;
    width: auto;
  }

  h5 {
    display: none;
  }

  .find-me {
    width: 100px;
  }

  .middle {
    width: 70%;
    gap: 0.5rem;
  }

  .title {
    padding: 0;
    width: 15rem;
    font-size: 1.5rem;
  }

  .title p {
    margin: 0.8rem !important;
  }
}

/* project windows for large ipad */
@media (min-width: 1021px) and (max-width: 1406px) {
  .middle {
    width: 70%;
    gap: 0.5rem;
  }

  .title {
    padding: 0;
    width: 15rem;
    font-size: 1.5rem;
  }

  .title p {
    margin: 0.8rem !important;
  }
}
