html {
  cursor: url("imgs/cursor.png"), auto;
  scroll-behavior: smooth;
}


body::-webkit-scrollbar {
  display: none;
}

body {
  background-color: #EDF1F4;
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;


}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 150px;

}

ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  column-gap: 20px;

}

li a {
  font-size: 16px;
  text-decoration: none;
  letter-spacing: -.02em;
  font-weight: 500;
  color: #878787;
  border-radius: 10px;
  padding: 10px 15px;
  transition: all 300ms ease-in-out;
}

li a:hover {
  background-color: rgba(61, 96, 67, .1);
  transition: all 200ms ease-in-out;
  color: #3D6043;
}

li .white:hover {
  background-color: rgba(255, 255, 255, .1);
  color: #ffffff;
}

.intro {
  text-align: center;
  font-size: 36px;
  line-height: 130%;
  letter-spacing: -2.5px;
  max-width: 890px;
  font-weight: 400;
  color: #000;
  margin: 0 auto;
}

.intro span {
  position: relative;
  top: 10px;
  left: 10px;
  opacity: 0;
  animation: moveUp 200ms ease-in-out forwards;
}

@keyframes moveUp {
  0% {
    top: 10px;
    left: 0px;
    opacity: 0;
  }

  100% {
    top: 0px;
    left: 0px;
    opacity: 1;
  }
}


header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto 200px auto;
  padding: 28px 30px;
  /* max-width: 2560px; */

}

.green {
  color: #3D6043;
}

.white {
  color: rgba(255, 255, 255, .6);
}

h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -.8px;
  margin: 5px 0 0 0;
}

.section-title {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  column-gap: 15px;
  margin: 0 0 30px 30px;
}

.bullet {
  width: 16px;
  height: 16px;
  background-color: #063527;
  border-radius: 5px;
}

.work {
  padding: 0;
  /* max-width: 2560px; */
  margin: 0 auto;
}

.project-container {
  cursor: grab;
  margin-bottom: 200px;
  padding: 0 8px;
  display: flex;
  flex-direction: row;
  position: relative;
  overflow-x: scroll;
  white-space: nowrap;
  column-gap: 6px;

  overflow-y: hidden;
  touch-action: pan-y;

  user-select: none;
  /* Prevent text selection while dragging */
  -webkit-user-drag: none;
  /* Prevent dragging of the element itself */
}



.project-container-mini {
  position: relative;
  width: 100%;
  height: 225px;
}

.project-container::-webkit-scrollbar {
  display: none;
}



.project-square {
  cursor: grab;
  flex-shrink: 0;
  width: 645px;
  height: 782px;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-size: 101%;
  background-position: center;
  transition: all 1000ms cubic-bezier(0.045, 0.435, 0.000, 1.000);
  opacity: 0;
}

.project-square-mini {
  margin-top: 15px;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;

  background-size: 101%;
  background-position: center;
  transition: all 300ms ease;
  cursor: pointer;
}

.project-square:hover,
.project-square-mini:hover {
  background-size: 104%;
  filter: opacity(.9);
}


.compass {
  background-image: url("imgs/compass-cover.jpg");
}

.riff {
  background-image: url("imgs/riff-cover.jpg");
}

.oasis {
  background-image: url("imgs/oasis-cover.jpg");
}

.cobblestone {
  background-image: url("imgs/cobblestone-cover.svg");
}

.grubguru {
  background-image: url("imgs/grub-cover.jpg");
}

.microsoft {
  background-image: url("imgs/microsoft-cover.jpg");
}

.zembles {
  background-image: url("imgs/zembles-cover.jpg");
}

.project-tags {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
}

.tag {
  color: white;
  backdrop-filter: blur(3px);
  font-size: 16px;
  background-color: rgba(83, 83, 83, .4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 10px;
}

.project-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

a {
  text-decoration: none;
}

.invert {
  filter: invert();
}

.ondark {
  color: white !important;

}

.project-arrow {
  padding: 15px 14.5px;
  background-color: white;
  border-radius: 100px;
  transition: all 300ms ease;
  cursor: pointer;
}

.project-square:hover .project-arrow,
.project-square-mini:hover .project-arrow {
  padding: 35px;
  transition: all 300ms ease;
}

.project-square:hover .project-arrow .arrow,
.project-square-mini:hover .project-arrow .arrow {
  display: none;
  transition: all 300ms ease;
}

.view-project {
  display: none;
  transition: all 300ms ease;
}

.project-square:hover .view-project,
.project-square-mini:hover .view-project {
  display: block;
  transition: all 300ms ease;
}

img {
  display: block;
}

h3 {
  font-size: 32px;
  letter-spacing: -.04em;
  font-weight: 400;
  margin: 0;
  color: white;
}

h4 {
  margin: 0;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -.05rem;
  font-family: 'Space Grotesk';
  line-height: 140%;
}

p {
  margin: 0;
}


.information {
  display: flex;
  flex-direction: row;
  column-gap: 8%;
  margin: 0 0 200px 0;
  align-items: stretch;
  width: 100%;
  max-width: 2560px;
}

.accordionTitle {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 10px;
  align-items: center;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


.accordionCircle {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background-color: rgba(146, 98, 225, .2);
  transition: 0.2s ease;
}


.mySkills {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  flex: 1;
  margin-right: 30px;
  min-width: 250px;

}

.myExperience {

  flex: 3;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #EDF1F4;
  border-radius: 20px;
  cursor: pointer;
  padding: 32px 28px;
  margin: 4px 4px;
  width: -webkit-fill-available;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.accordion:hover {
  background-color: #e3e6e9;
}


/* Style the accordion panel. Note: hidden by default */
.panel {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 0px 30px;
  margin: 0 4px;
  max-height: 0;
  overflow-y: hidden;
  transition: max-height 0.5s ease;
}

.panel p {
  font-family: 'Space Grotesk';
  letter-spacing: -.02rem;
  line-height: 160%;
  opacity: .5;
  margin: 10px 0 32px 0;
  grid-column: 5/9;

}

.divider {
  content: '';
  width: 100%;
  display: block;
  height: 2px;
  border-radius: 10px;
  background-color: rgba(40, 40, 40, .1);
}

.accordion:hover .accordionCircle {
  background-color: rgba(146, 98, 225, .5);
}

.active .accordionCircle {
  background-color: rgba(146, 98, 225, 1) !important;
}

footer {
  background-color: #D8D4F5;
  min-height: 90vh;
  padding: 60px 30px 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about {
  display: flex;
  flex-direction: row;
  column-gap: 8%;
  padding-bottom: 10vw;
  max-width: 2560px;
}

.about-text {
  flex: 1.6;
  row-gap: 32px;
  display: flex;
  flex-direction: column;
}

.about-text h4 {
  max-width: 700px;
}

footer h4 {
  color: #6A4EB7;
  line-height: 130%;
}

footer h2 {
  color: #3D6043;
}

.email {
  width: 100%;
  bottom: 0;
  position: relative;
  cursor: url(imgs/copy-cursor.png), auto;
}

.about-imgs {
  width: 60%;
  flex: 1;
  position: relative;
}

.more-work {
  width: 20%;
  flex: 1;
  position: relative;
}

.about-imgs img {
  width: 60%;
  max-width: 300px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  position: absolute;

  transition: transform 0.5s ease;
}

.about-imgs img:nth-of-type(1) {
  z-index: 2;
  left: 0;
  transform-origin: bottom left;
}

.about-imgs img:nth-of-type(2) {
  transform-origin: bottom right;
  left: 20%;
  top: 10%;
}



.links {
  display: flex;
  flex-direction: column;
  flex: 1;
  row-gap: 15px;

}

.links a {
  position: relative;
  width: fit-content;
}

.links a::after {
  position: absolute;
  content: '';
  height: 2px;
  width: 0%;
  /* adjust this to move up and down. you may have to adjust the line height of the paragraph if you move it down a lot. */
  bottom: -4px;
  background-color: white;
  transition: .5s;
}

.links a:hover::after {
  width: 100%;
}

.links h2 {
  font-weight: 400;
}

.more-work h2 {
  font-weight: 400;
}

.links h2:nth-of-type(2) {
  padding-top: 75px;
}


#copyMessage {
  position: fixed;
  color: white;
  backdrop-filter: blur(8px);
  font-size: 16px;
  background-color: rgba(83, 83, 83, .4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 10px;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.compass-header {
  background-image: url(imgs/compass-cover-large.jpg);

  background-size: cover;
  background-position: center;

  border-radius: 20px;
}

.riff-header {
  background-image: url(imgs/riff-cover-large.jpg);

  background-size: cover;
  background-position: center;

  border-radius: 20px;
}

.oasis-header {
  background-image: url(imgs/oasis-cover-large.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.cobblestone-header {
  background-image: url(imgs/cobblestone-cover-large.svg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.microsoft-header {
  background-image: url(imgs/microsoft-cover-large.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.grub-header {
  background-image: url(imgs/grub-cover-large.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.zembles-header {
  background-image: url(imgs/zembles-cover-large.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.project-header {
  margin: 8px;
  padding: 20px 22px;
  height: 90vh;
  max-width: 2560px;
}

.project-nav {
  margin-bottom: 80px;
}

.project-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  min-height: 600px;
  margin: 100px 8px;
  /* width: 100%; */
}

.project-content img {
  border-radius: 20px;
}

.project-about {
  grid-column: 1/13;
  display: flex;
  flex-direction: column;
  margin-left: 22px;
}

.project-text-container {
  display: flex;
  flex-direction: row;
  column-gap: 18%;
}

.project-about .project-intro {
  flex: 2;
  max-width: 770px;
  
}

.project-info {
  margin-right: 20px;
}

.project-info div {
  display: flex;
  flex-direction: row;
  
}

.project-info div h4 {
  margin: 0 0 10px 0;
}

.project-info div h4:nth-child(1) {
  width: 130px;
}

.project-info div h4:nth-child(2) {
  opacity: 50%;
  width: 100%;
}

.project-image-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column: 1/13;
  column-gap: 10px;
  max-width: 2560px;
  margin: 85px 0;
}

.text-image-container {
  margin-top: 20%;
  margin-bottom: 85px;
  align-items: end !important;
}

.text-image-container h4 {
  margin-bottom: 0;
}

.image-l-3-col {
  grid-column: 1/4;
  width: 100%;
}

.image-l-4-col {
  grid-column: 1/5;
  width: 100%;
}

.image-l-7-col {
  grid-column: 1/8;
  width: 100%;
}

.image-l-8-col {
  grid-column: 1/9;
  width: 100%;
}

.image-l-9-col {
  grid-column: 1/10;
  width: 100%;
}

.image-r-4-col {
  grid-column: 9/13;
  width: 100%;
}

.image-r-5-col {
  grid-column: 8/13;
  width: 100%;
}


.image-r-3-col {
  grid-column: 10/13;
  width: 100%;
}

.image-r-7-col {
  grid-column: 6/13;
  width: 100%;
}

.image-r-8-col {
  grid-column: 5/13;
  width: 100%;
}

.image-r-9-col {
  grid-column: 4/13;
  width: 100%;
}

.image-12-col {
  grid-column: 1/13;
  width: 100%;
}

.image-m-4-col {
  grid-column: 5/9;
  width: 100%;
}

.withcaption {
  margin-bottom: 0;
}

.text-container-left {
  grid-column: 1/6;
  margin: 24px 20px 24px 20px;
  max-width: 700px;
  min-width: 500px;
}

.text-container-right {
  grid-column: 8/13;
  margin: 24px 40px 24px 20px;
  max-width: 700px;
  min-width: 500px;
}


.light-text {
  opacity: 70%;
}

.extra-padding {
  margin-top: 85px;
  margin-bottom: 85px;
}

.less-padding {
  margin-top: 0;
  margin-bottom: 0;
}

.project-divider {
  grid-column: 1/13;
  margin: 100px 0 100px 0;
}

video {
  border-radius: 20px;
}



/* RESPONSIVE */

@media (max-width: 1200px) {
  .about {
    flex-direction: column;
    row-gap: 60px;
  }

  .about-text h4 {
    max-width: fit-content;
  }

  .about-imgs {
    position: relative;
    height: 100%;
    align-self: end;
    width: 300px;
    transform: translateY(100px);
  }

  .project-square {
    width: 484px;
    height: 587px;
  }

  .panel {
    display: block;
  }

  .panel p {
    padding: 0;
  }

  .more-work {
    width: auto;
    margin-bottom: 70px;
  }

  .project-container-mini {
    width: fit-content;
  }

  .project-square-mini {
    width: -webkit-fill-available;
  }

  .project-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .text-container-left, .text-container-right {
    min-width: auto;
    margin-right: 20px;
    margin-top: 40px;
    grid-column: 1/13;
  }

  .project-text-container {
    display: block;
  }

  .project-info {
    margin-top: 40px;
  }

  .text-image-container {
    margin-top: 10%;
    
  }

  .image-l-7-col, .image-r-5-col {
    grid-column: 1/13;
  }
}

@media (max-width: 800px) {
  .information {
    flex-direction: column;
    margin-bottom: 120px;
  }

  .mySkills {
    margin: 60px 0 0 30px;
  }

  .intro {
    font-size: 32px;
  }

  .project-container-mini {
    width: 100%;
  }

  .project-image-container {
    margin: 50px 0;
  }

  .project-about {
    margin-right: 20px;
  }

  .withcaption {
    margin-bottom: 0;
  }

  .flex-mobile {
    display: flex;
    flex-direction: column;
  }
  .text-container-left {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {


  .intro {
    font-size: 28px;
    
  }

 h4 {
    font-size: 20px;
  }

  .project-container {
    margin-bottom: 150px;
  }

  nav {
    margin-bottom: 120px;
  }

  header {
    margin-bottom: 150px;
  }

  li a {
    font-size: 14px;
  }

  .about-imgs {
    align-self: start;
    transform: translateY(0);
    width: 100%;
    height: 65vw;
    flex: auto;
  }

  .project-square {
    width: 323px;
    height: 391px;
  }
  
}