@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Libre+Franklin:wght@600&family=Mukta:wght@300&display=swap');

:root {
  --light-blue: rgb(173, 216, 230);
  /*#38fc7c;*/
  --dark-blue: rgb(53, 64, 82);
  --med-blue: rgb(37, 56, 89);
  --cool-white: rgb(221, 236, 237);
  --darkest-blue: #162338;
  --orange: #cc9933;
  --max-width: 1800px;

}


body {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;
}

body {


  font-family: 'Mukta', sans-serif;
  /*'Ubuntu', sans-serif;*/
  color: var(--cool-white);
  background-color: var(--med-blue);
  padding: 0;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;

}

a {
  color: var(--cool-white);
  text-decoration: none;
}

header {
  background-color: var(--dark-blue);
  font-family: 'Dela Gothic One', cursive;
  font-size:x-large;
  width: 100%;
  opacity: 1;
  height: var(--header_height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;

}

main {
  display: flex;
  flex-direction: row;
  max-width: var(--max-width);


}

#main-div {
  height: 100%;
}

nav {
  font-family: 'Libre Franklin', sans-serif;
  text-align: right;
  display: flex;
  flex-direction: row;
  align-content: flex-end;

}


hr.med-line {
  border-top: 2px solid darkgrey;
  width: 100%;
  margin: 0;
}

h1 {
  margin-bottom: 0;
}

@supports (clip-path: polygon(0 0)) or (-webkit-clip-path: polygon(0 0)) {

  #profile {
    -webkit-clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
    clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
  }

}

#about {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem;
  padding: 1rem;
  background-color: rgb(22, 35, 56, 0.8);
  border-radius: 1rem;


}

#about h1 {
  margin-bottom: 0;
}

#about p {
  font-size: medium;
  text-align: center;
}

.social-icons {
  width: 30vw;
  font-size: large;
  display: flex;
  flex-direction: row;
  text-align: center;
  flex-wrap: wrap;
}

.social-icons img {
  height: 1rem;
  padding-right: 0.75rem;
}

.social-icons span {
  width: 30vw;
  display: block;
  white-space: nowrap;
}

.profile {
  clip-path: circle();
  shape-outside: circle();
  background-color: lightblue;
  width: 100%;
  max-width: 300px;
  max-height: 266px;
  border-radius: 50%;
  align-items: center;
  text-align: center;
  justify-content: center;

}

.profile img {
  display: block;
  margin: auto;
  max-width: 90%;

}

footer {
  max-height: 50px;
  min-height: 5vh;
  width: 100%;
  background-color: var(--dark-blue);
  text-align: center;
  display: flex;
  flex-direction: column;
  

}
footer span{
  width: 90%;
}

.two-column-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.5rem;
  width:90%;

}

.top-link {
  display: flex;
  flex-direction: row;
  min-width: 15%;
  justify-content: space-between;
  font-size: large;
  align-self: center;
}

.top-link a {
  padding: 1rem;
}

#disappearing-div {
  display: none;
}


#right-panel {
  width: 70%;

  display: flex;
  flex-direction: column;

  margin: 0;
  padding-top: 1rem;
}

#right-panel h3 {
  font-family: 'Dela Gothic One', cursive;
  line-height: 1;
  font-size: medium;
}

#projects {
  width: 450px;
  height: auto;
  margin: 0 auto;
  padding: 30px;
}

/*
    Tab Component
*/

.tab-container p {
  background-color: rgb(22, 35, 56, 0.8);
  border-radius: 1rem;
  padding: 1rem;
}

.documentation {
  color: var(--light-blue);
}

button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

.tabs {
  display: block;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  height: 100%;

}

.tabs [class^="tab"] label,
.tabs [class*=" tab"] label {
  color: var(--cool-white);
  cursor: pointer;
  display: block;
  font-size: larger;
  font-weight: 300;
  line-height: 1em;
  padding: 2rem 0;
  text-align: center;
}

.tabs [class^="tab"] [type="radio"],
.tabs [class*=" tab"] [type="radio"] {
  border-bottom: 1px solid rgba(239, 237, 239, 0.5);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tabs [class^="tab"] [type="radio"]:hover,
.tabs [class^="tab"] [type="radio"]:focus,
.tabs [class*=" tab"] [type="radio"]:hover,
.tabs [class*=" tab"] [type="radio"]:focus {
  border-bottom: 1px solid var(--light-blue);
}

.tabs [class^="tab"] [type="radio"]:checked,
.tabs [class*=" tab"] [type="radio"]:checked {
  border-bottom: 4px solid var(--orange);
}

.tabs [class^="tab"] [type="radio"]:checked+div,
.tabs [class*=" tab"] [type="radio"]:checked+div {
  opacity: 1;
}

.tabs [class^="tab"] [type="radio"]+div,
.tabs [class*=" tab"] [type="radio"]+div {
  display: block;
  opacity: 0;
  padding: 2rem 0;
  width: 90%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tab-1,
.tab-2,
.tab-3 {
  width: 33%;
}

.tabs .tab-1 [type="radio"]+div,
.tabs .tab-2 [type="radio"]+div,
.tabs .tab-3 [type="radio"]+div {
  width: 300%;
  margin-left: 100%;

}

.tabs .tab-1 [type="radio"]:checked+div,
.tabs .tab-2 [type="radio"]:checked+div,
.tabs .tab-3 [type="radio"]:checked+div {
  margin-left: 0;
}


.tabs .tab-1:nth-child(1) [type="radio"]+div {

  z-index: -10;
  scale: 0;
}

.tabs .tab-1:nth-child(1) [type="radio"]:checked+div {
  margin-left: 0%;
  z-index: 10;
  scale: 1;
}

.tabs .tab-2:nth-child(2) [type="radio"]+div {
 
  scale: 0;
  z-index: -10;
}

.tabs .tab-2:nth-child(2) [type="radio"]:checked+div {
  margin-left: -100%;
  z-index: 10;
  scale: 1;
}

.tabs .tab-3:nth-child(3)[type="radio"]+div {

  z-index: -10;
  scale: 0;
}

.tabs .tab-3:nth-child(3) [type="radio"]:checked+div {
  margin-left: -200%;
  z-index: 10;
  scale: 1;
}

.project-list {

  height: 100%;
  overflow: hidden;
}




.project-item {
  display: flex;
  flex-direction: row;
  background-color: #162338;
  border-radius: 1rem;

  vertical-align: middle;
  overflow: hidden;
  margin-bottom: 5px;
}

.project-text-container {
  width: 70%;
}

.item-img {
  width: 25%;
  max-width: 200px;
  height: 25vh;
  max-height: 200px;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 2%;
  background-size: cover;
  background-position: 50% 50%;
  box-sizing: border-box;
  -webkit-box-shadow: 0 0 25px var(--light-blue);
  box-shadow: 0px 0px 25px var(--light-blue);

}


.project-item p {
  color: white;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
  width: 75%;
  padding-left: 4%;

}

.project-title {
  font-weight: bold;
  color: var(--orange);
  font-size: large;
}

.project-year {
  margin-left: 1rem;
  color: lightgray;
  font-size: smaller;
}

.project-tech {
  font-size: smaller;
}




.project-button,
.pp_text button {
  z-index: 15;
  border-radius: 0.5rem;
  margin: 4%;
  width: 8rem;
  height: 2rem;


  display: flex;
  justify-content: center;
  vertical-align: middle;
  top: 50%;
  left: 50%;

  background-color: transparent;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size .25s, color .25s, background-image .5s;

}
.project-button{
  border: 2px solid var(--orange);
}
.pp_text button{
  border: 2px solid #262626;
  margin:0;
}


.project-button span,
.pp_text button span {
  margin: auto;
  font-size: medium;
}
.project-button:hover,
.pp_text button:hover {
  cursor: pointer;
}

.project-button:hover {
  background-image: linear-gradient(var(--light-blue), var(--light-blue));
  border: 2px solid var(--light-blue);
  color: var(--darkest-blue);
}
.pp_text button:hover {
  background-image: linear-gradient(var(--dark-blue), var(--dark-blue));
  border: 2px solid var(--dark-blue);
  color: white;
}

.project-button:active,
.pp_text button:active {
  background-size: 0% 0%;
}

.project-button:active {
  background-color: var(--cool-white);
  border: 2px solid var(--cool-white);
  color: var(--darkest-blue);
}

.pp_text button:active {
  background-color: var(--cool-white);
  border: 2px solid var(--cool-white);
  color: var(--orange);
}


/*
 End of tab component
*/





#project-box {
  position: absolute;

  align-self: center;
  left: -200vw;
  top: 10%;
  z-index: 100;
  background-color: var(--cool-white);
  transition: left 0.5s;
  height: 50%;
  margin: 0;
  background-color: var(--darkest-blue);
  font-family: 'Mukta', sans-serif;
  font-size: 1.25rem;
  padding: 1rem;

}

.project-box-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.5rem;
}

#project2-box,
#project3-box {
  flex-direction: column;
  text-align: center;
}

#project2-box #project-left-col,
#project3-box #project-left-col {
  width: 100%;
  padding-bottom: 2%;
}

#project-image-div img {
  width: auto;
  max-width: 100%;
  height: 100%;
}



#project-box .closebtn {
  float: right;
  font-size: 2rem;
  max-height: 80%;
}

#project-box .two-column-flex {
  margin-top: 1.5rem;
}

#project-title {
  font-size: x-large;
  font-family: 'Dela Gothic One', cursive;
}

#project-left-col {
  width: 50%;
  padding-right: 5%;
}

#project-tech {
  font-size: medium;
  padding-top: 1rem;
  color: darkgrey;
}

.pp_container {
  background-color: var(--orange);
  border-radius: 1rem;
  margin-bottom: 1rem;

}


.pp_inner {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-height: 100%;
}

.pp_text h4 {
  margin: 0;
  padding: 0;
  font-size: large;
  padding-bottom: 0.25rem;
  
}

.pp_text {
  width: 40%;
  color: #262626;
  display: flex;
  flex-direction: column;
  line-height: 1rem;
  justify-content: space-between;
  font-family: Dela Gothic One, cursive;
  margin-right: 1rem;
}

.pp_text p {
  background-color: transparent;
}

.pp_text h4 {
  font-family: Dela Gothic One, cursive;
  margin-bottom: -0.125rem;
}

.pp_image {
  border-radius: 0.5rem;

  max-height: 15vh;
}

.pp_image img {
  width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  object-position: top;
}



/**********************************************/
/**********************************************/
/**********************************************/



@media screen and (max-width: 700px) {
  body {
    align-self: center;
    text-align: center;

  }

  .two-column-flex {
    flex-direction: column;

  }

  .top-link {
    flex-direction: column;

  }

  main {
    flex-direction: column;
    height: auto;
  }

  #about {
    width: 90%;
    margin: 10px 0 10px 0;
    padding: 0;
    align-self: center;
  }


  .profile-text {
    width: 90vw;
  }

  /* This is for the div that disappears when using a large screen*/
  /*
  #disappearing-div {
    display: block;
    width: 100%;
    background-color: var(--dark-blue);

  }

  #disappearing-div h1 {
    margin: 1rem 0;
  }
*/
  .profile {
    margin: 1rem;
  }

  .profile-text p {
    margin: 1rem;
  }

  #right-panel {
    align-self: center;
    height: 100%;
    width: 90%;
    position: relative;
    margin-bottom: 10px;
    display: block;

    text-align: left;

  }

  #projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    padding: 0;
    margin: 0;
  }

  .project-text-container {
    width: 100%;

  }

  .project-text-container p {
    width: fit-content;
    text-align: left;
    padding: 4%;
  }

  .item-img {
    width: 100%;
    background-position: 0% 15%;
    margin-bottom: 0%;
    box-shadow: none;
    max-width: 100%;
    border-radius: 0;

  }

  .project-item {
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
  }


  #projects .project-text {
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #354052;
  }

}
@media screen and (max-width: 481px) {
  .pp_inner{
    flex-direction: column;
  }
  .pp_image {
    /*display: none;*/
    overflow: hidden;
    
  }

  .pp_text{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
  }
  .pp_textblock{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: small;
  }
  .pp_textblock h4{
    font-size: large;
  }
}