body {
  width: 100%;
  overflow-x: hidden;
  height: auto;
}

#intro nav {
  display: none;
}

@media (min-width: 320px) and (max-width: 480px) {
  .wrap {
    display: flex;
    flex-direction: column;
  }

  #intro nav {
    display: block;
    position: relative;
    top: 42vh;
    left: 35vw;
    width: 35%;
    background: rgba(0, 0, 0, 0.3);
    text-align: left;
    border-radius: 5px;
  }
}

#intro {
  text-align: center;
  background-color: 59168f;
  color: white;
  background-image: url(../img/boat.jpg);
  background-size: cover;
  background-position: inherit;
  height: 100vh;
  /* background-attachment: fixed; */
}

.link {
  color: rebeccapurple;
}
.link:hover {
  text-decoration: underline;
  opacity: 1;
}
.link h1,
.link h2 {
  opacity: 0.6;
}
.link h1:hover,
.link h2:hover {
  opacity: 1;
}

#intro {
  background-position: top;
}

@media all and (min-width: 320px) and (max-width: 768px) {
  #intro {
    height: 100vh;
  }

  .link h1,
  .link h2 {
    opacity: 0.8;
    text-decoration: underline;
  }

  #intro #news {
    position: relative;
    top: 20vh !important;
    left: 0vw !important;
    display: inline-block;
  }

  #intro #news #paypalInfo {
    position: absolute;
    bottom: 50vh;
    left: 30vh;
    display: flex;
    flex-direction: column;
  }
  #intro #news #paypalQR {
    height: inherit;
    width: 10vw;
    order: 1;
  }

  /* 
  #intro #news #paypalQR:hover {
    position: relative;
    height: inherit;
    top: 20vh;
    right: 20vw;
    width: 40vw;
    order: 1;
  }
   */
  #intro #news #donateText {
    order: 2;
  }

  #skills {
    color: red;
  }

  #intro,
  #skills,
  #photos {
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position-x: center !important;
  }

  #nametag {
    top: 12vh !important;
    color: white;
  }
}
#intro .container {
  padding-bottom: 100px;
  background-color: black;
  opacity: 0.7;
  border-radius: 5px;
  width: 25%;
  position: relative;
  top: 100px;
  padding-bottom: 10px;
}

@media all and (min-width: 1024px) {
  #intro,
  #skills,
  #photo {
    background-attachment: fixed;
  }

  #intro #news {
    position: relative;
    top: -20vh !important;
    left: 40vw !important;
    display: inline-block;
  }
}

@media all and (max-width: 420px) {
  #intro .container {
    width: 50%;
  }
}

#intro #news a {
  color: white;
}

#intro #news a:hover {
  color: blue;
}

#intro #mixtapeCover,
#intro #paypalQR {
  height: 30vh;
  border-radius: 10px;
}

#about {
  text-align: center;
  background-color: gray;
  background-color: rgba(30, 65, 93, 1);
  color: white;
  padding: 50px;
  min-height: 150px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 0px;
  padding-right: 0px;
}

@media all and (min-width: 320px) and (max-width: 768px) {
  #int-left ul,
  #int-mid ul,
  #int-right ul,
  #music ul,
  #games ul {
    padding-inline-start: 25px;
    -webkit-padding-start: 25px;
  }

  #music ul li ul {
    padding-inline-start: 15px;
    -webkit-padding-start: 15px;
  }

  #music ul li ul {
    padding-inline-start: 15px;
    -webkit-padding-start: 15px;
  }

  #interestsBullets h3 {
    margin-top: 10px;
  }

  #otherProjects .project {
    min-height: 107.5px;
  }
}

#about ul li {
  text-align: left;
}

@media all and (max-width: 768px) {
  #interests > section {
    width: 70% !important;
    left: 15% !important;
    text-align: left;
  }
}

@media all and (min-width: 768px) {
  #interests > section {
    width: 60% !important;
    left: 20% !important;
    text-align: left;
  }

  #interests {
    padding-bottom: 15px;
  }
}

#interests {
  padding-bottom: 20px;
}

#more-games {
  display: none;
}

#skills {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #a8bac8;
  color: white;
  /* background-image: url(../img/lake.jpg); */
  background-size: cover;
  background-position: center;
  /*height: 350px;*/
  /* background-attachment: fixed; */
}

#skills h2 {
  font-size: 36px;
}

#skills img {
  height: 100px;
}

#skills .container {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

@media all and (min-width: 768px) {
  #languages {
    position: relative;
  }

  #skills .container {
    width: 60vw;
  }
}

#skills .icon {
  display: inline-block;
  position: relative;
  height: 100px;
  z-index: 2;
}

/* for mobile up to portrait */
@media all and (min-width: 320px) and (max-width: 670px) {
  #skills img,
  #skills .icon {
    height: 40px;
  }
}

#skills .icon img:hover {
  opacity: 0;
}

#skills .icon span.icon-text {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  opacity: 0;
  z-index: -1;
}
#skills .icon:hover span.icon-text {
  opacity: 1;
  visibility: visible;
}

#skills #otherSkills {
  font-size: 18px;
}

#known {
  list-style: none;
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
}
#known li {
  border: 1px solid black;
}

@media all and (max-width: 320px) {
  #known li {
    padding-left: 0px;
  }
}

#known li:odd {
  background: red;
}

#otherSkills {
  text-align: left;
}

#projects {
  text-align: center;
  background-color: #8aaecc;
  color: white;
  padding: 4vh 5vw 6vh;
}

#projects h2 {
  font-size: 36px;
  display: inline-block;
}

#projects .git-logo {
  max-height: 50px;
  margin-bottom: 15px;
}

.projectName {
  display: block;
  font-size: 24px;
  font-weight: bold;
}

.project-holder {
  width: 100%;
  height: auto;
  /* max-width: 1200px; */
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 768px) {
  #currentDisplayedProject,
  .project2 {
    flex-direction: column !important;
    height: auto;
    min-height: 0;
    max-height: 5000px;
  }
}

.project2 {
  display: flex;
  border: 3px solid black;
  width: 100%;
  min-height: 300px;
  margin-bottom: 3em;
  align-items: center;
}

.project2.left {
  flex-direction: row;
}

.project2.right {
  flex-direction: row-reverse;
}

.project2 > a > .img {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project2 > a > .img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project2 > .description {
  text-align: left;
  padding: 2vh 2vw;
}

.stack {
  list-style-type: circle;
  padding-inline-start: 10px;
}

.stack li {
  display: inline-block;
  border: 1px solid white;
  padding: 5px 5px;
  margin: 0.5vh 1vw;
}

#otherProjects img {
  max-height: 25vh !important;
}

#projects .project {
  border: 1px solid black;
  border-radius: 20px;
  padding-bottom: 10px;
  font-size: 16px;
}

#projects .project > span {
  display: block;
}

#projects .img_placeholder {
  height: 120px;
  font-size: 18px;
}

#projects .project img.img-responsive {
  max-height: 260px;
  display: inline-block;
}

#projects .icon:hover {
  color: white;
}

#projects .icon img:hover {
  opacity: 0.4;
}

#projects .icon span.icon-text {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  opacity: 0;
  z-index: -1;
}

#projects .icon img:hover + span.icon-text {
  opacity: 1;
  z-index: 1;
}

#projects .icon span.icon-text:hover {
  opacity: 1;
  z-index: 1;
}

@media all and (max-width: 1024px) {
  #projects .img_placeholder {
    width: initial;
  }
}

#photos {
  text-align: center;
  background-color: blue;
  color: white;
  padding-bottom: 25px;
  background-image: url(../img/mountain.jpg);
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
}

#art {
  text-align: center;
}

footer {
  background-color: rebeccapurple;
  color: white;
  text-align: center;
}

.close-modal {
  text-align: right;
  font-size: 24px;
  top: 25px;
  right: 25px;
  position: absolute;
  z-index: 2;
}

.close-modal:hover {
  cursor: pointer;
}
