/************ Global ************/
html {
  background: rgb(11, 14, 23);
  scroll-behavior: smooth;
}

body {
  color: white;
}

.parallax {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

#title {
  font-family: 'Tourney', cursive;
  font-size: 100px;
  padding: 30px;
  background: -webkit-linear-gradient(45deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  border: 8px solid;
  border-image: linear-gradient(to right,#d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1) 1;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.top {
  padding: 10px;
  background: linear-gradient(to right, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
}

.arrow-jump {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 5%;
  font-size: 5vh;
  text-decoration: none;
}

.arrow-jump a i {
  display: inline-block;
  background: -webkit-linear-gradient(45deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.arrow-jump-bottom {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  font-size: 5vh;
  text-decoration: none;
  margin-bottom: 3vh;
}

.arrow-jump-bottom a i {
  background: -webkit-linear-gradient(45deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/************ Top Navbar ************/
.topnav {
  overflow: hidden;
}

.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
  font-size: 25px;
}

.topnav a:hover i {
  background: -webkit-linear-gradient(45deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topnav .icon {
  display: none;
}

.hover-down {
  transition: transform 250ms;
}

.hover-down:hover {
  transform: translateY(5px);
}

/************* Intro *************/
#intro {
  background-image: radial-gradient(rgb(71, 46, 162) 2px, transparent 3px), radial-gradient(rgb(33, 13, 107) 2px, transparent 3px);
  background-size: 150px 150px;
  background-position: 0 0, 0px 0px;
  background-attachment: fixed;
}

#intro-block {
  display: flex;
  align-items: end;
  margin-bottom: 10px;
}

#intro-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 30vw;
  font-size: 18px;
  text-align: center;
  padding-bottom: 30px;    
  color: rgb(231, 231, 231);
}

.dot {
  height: 12px;
  width: 12px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
}

.intro-container {
  border: 8px solid;
  border-image: linear-gradient(to right,#d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1) 1;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20vh;;
}

.content {
  padding: 10px;
  background-color: rgb(11, 14, 23, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*********** Title Navigation Bar ***********/
#nav-list a, #title a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#nav-list a:hover, #title a:hover {
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 14px #fff;
}

#nav-list {
  font-family: 'Courier New', Courier, monospace;
  font-size: larger;
  margin-top: 150px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-around;
  color: white;
}

/**************** Waves ****************/
.svg-separator{
  display: block;
  position: inherit;
  -webkit-transform: translateY(0%) translateY(0px);
  transform: translateY(0%) translateY(0px);
  width: 100%;
}

.sep1{
  transform: translateY(0%) translateY(0px) scale(1,1);
}

/************* Projects ****************/
.project-parallax {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
} 

#projects-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: minmax(min-content, auto);
  grid-column-gap: 10px;
  grid-row-gap: 50px;
}

#project-pic {
  display: flex;
  justify-content: center;
}

#project-name-text {
  font-weight: bold;
  font-size: larger;
  background: -webkit-linear-gradient(45deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#project-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 75%;
  justify-self: end;
}

#project-icons {
  display: inherit;
  font-size: x-large;
}

#project-icons a {
  color: #f2f2f2;
  padding-right: 15px;
  text-decoration: none;
  font-size: 25px;
}

#project-icons a:hover {
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 14px #fff;
}

/***************** Skills *******************/
#skills {
  background-image: url(img/memphis-shapes-2.png);
  flex-direction: column;
}

.container-skills {
  border: 8px solid;
  border-image: linear-gradient(to right,#d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1) 1;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  width: 45vw;
  margin-left: auto;
  margin-right: auto;
}

.content-skills {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 30vw;
  min-height: 30vh;
  background-color: rgb(11, 14, 23, 0.9);
}

.bi {
  float: right;
}

/************* Skills Table *************/
#tables-left {
  display: flex;
  align-items: center;
  font-size: xx-large;
  margin-right: 15px;
}

button {
  display: contents;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  font-size: xx-large;
}

button:hover {
  cursor: pointer;
}

#tables-right {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.td-main {
  background: rgb(21,24,33);
  border-radius: 5px;
  padding: 10px;
}

.td-main:hover {
  background: rgb(31,34,43);
  border-radius: 5px;
}

#td-tech, #td-lang, #td-tool, #td-proj {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.td-tech, .td-lang, .td-tool, .td-proj {
  padding: 5px 20px 5px 5px;
  margin-top: 10px;
  text-align: center;
  display: flex;
  font-size: 11vh;
  transform: scale(1);
  opacity: 1;
  -webkit-animation: anim 0.3s ease-in-out;
  animation: anim 0.3s ease-in-out;
}

@-webkit-keyframes anim {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes anim {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.tg {
  border-spacing: 10px;
  width: 500px;
}

/************* Experience *************/
#experience {
  background: linear-gradient(0deg, rgb(11, 14, 23) 0%, rgb(10, 25, 47) 100%);
  flex-direction: column;
}

#experience-text-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  
  display: flex;
  align-items: baseline;
  width: 100%;
  justify-content: inherit;
  margin-top: 2%;
}

#experience-text {
  color: rgb(231, 231, 231);
  text-align: left;
  width: 25%;
}

#work-details-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  
  color: rgb(231, 231, 231);
}

ul {
  display: flex;
  flex-direction: column;
}

/********** Interests ************/
#interests {
  flex-direction: column;
}

.interest-grid{
  display: flex;
  align-items: center;
}

.square {
  width: 333px;
  height: 250px;
  border-radius: 30px;
  margin: 10px;
  position: relative;
}

.title-square {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 333px;
  height: 250px;
  border-radius: 30px;
  margin: 10px;
  font-family: 'Tourney', cursive;
  font-size: xxx-large;
}

.img-square {
  height: 100%;
  width: 100%;
  border-radius: 30px;
  object-fit: cover;
}

.overlay {
  position: absolute; 
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: .5s ease;
  opacity:0;
  font-size: 20px;
  padding: 20px;
  text-align: center;
  border-radius: 30px;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}

.square:hover .overlay {
  opacity: 1;
}

/*************************************/
/********* Mobile Settings ***********/
/*************************************/
@media screen and (max-width: 1700px) {
  .project-pic {
    height: 160px;
  }

  .arrow-jump {
    margin-top: 3%;
  }

  .container-skills {
    width: 50vw;
  }

  #experience-text {
    max-width: 80vw;
  }

  .title-square {
    width: 10vw;
    height: 15vh;
    font-size: 5vh;
  }

  .square {
    width: 10vw;
    height: 20vh;
  }
}

@media screen and (max-width: 1000px) {
  /*************Top Navbar**************/
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
    font-size: 80px;
  }

  .topnav.responsive {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    -webkit-animation: anim 0.3s ease-in-out;
    animation: anim 0.3s ease-in-out;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    display: block;
    font-size: 70px;
  }

  /***********Title Navigation Bar*************/
  #title {
    text-align: center;
  }

  #nav-list {
    font-size: 5vw;
    margin: 0px;
    flex-direction: column;
    justify-content: space-around;
    height: inherit;
  }

  /************Intro************/
  .content {
    height: 30vh;
    justify-content: space-around;
    width: 80vw;
  }

  #intro-text {
    font-size: 35px;
    max-width: 90vw;
  }

  /**********Projects**********/
  /* .project-parallax {
    height: 100vh;
  } */

  #projects-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: minmax(min-content, auto);
    grid-column-gap: 1vw;
    grid-row-gap: 5vh;
  }

  #project-text {
    justify-self: center;
    font-size: x-large;
    width: 90%;
  }

  #project-pic1 {
    max-height: 75%;
    display: flex;
    justify-content: center;
  }

  #project-icons a {
    font-size: 50px;
  }    

  /******************Skills********************/
  .container-skills {
    width: 90vw;
  }

  .content-skills {
    flex-direction: column;
  }

  .tg {
    width: 100%;
  }

  #tables-right {
    margin-bottom: auto;
    margin-top: auto;
  }

  button {
    font-size: larger;
  }

  .td-tech, .td-lang, .td-tool, .td-proj {
    font-size: 7vh;
  }

  .td-main {
    font-size: larger;
  }

  /**************Experience*****************/
  #experience-container {
    flex-direction: column-reverse;
  }

  #experience-text {
    padding: 1% 1% 10% 1%;
    width: 90vw;
    font-size: xx-large;
  }

  /*******Interests*******/
  .square {
    width: 28vw;
    height: 12vh;
  }

  .title-square {
    font-size: 3vh;
    width: 5vw;
    margin-left: 12vw;
    margin-right: 12vw;
  }

  .interest-grid {
    display: flex;
    align-items: center;
    width: 90vw;
    justify-content: center;
  }

  .overlay {
    font-size: 30px;
  }
}