@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

*{
  margin: 0;
  padding: 0;
}

html {
  height: 100vh;
  width:100vw;
  min-height: 100%;
  background-size:cover;
  overflow-x: hidden;
  overflow-y: hidden;
}

body{
  width:100%;
  height:100vh;
  position: absolute;
  top:0;
  left:0;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  background: url("images/home_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.scroll {
  overflow-y: auto;
}

.scroll::-webkit-scrollbar {
  width:0.50vw;
  border-radius: 0.25vw;
  background: transparent;
}

.scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 0.25vw;
}

.scroll::-webkit-scrollbar-thumb {
  height:0.50vw;
  background: white;
  border-radius: 0.25vw;
  border: 0.15vw double rgb(122, 122, 122);
}

.scroll::-webkit-scrollbar-thumb:hover {
  background: rgb(122, 122, 122);
}

.page {
  height:100%;
  width:auto;
  position: relative;
  top:0%;
  left:0;
  transition: left ease 1s;
}

.screen {
  width: 100vw;
  height:100vh;
  position: absolute;
  top:0px;
  padding: 0.5vw;
  box-sizing: border-box;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* ----- OVERLAY ----- */
.screen.overlay {
  z-index: 100;
  width:100vw;
  left:0;
  position:fixed;
  background: transparent;
  pointer-events: none;
  padding: 0;
}

.nav {
  position: relative;
  height:100vh;
  width:100vw;
}

.lang-select select {
  background: none;
  border-width: 0.25vw;
  border-radius: 0.5vw;
  padding: 0.5vw;
  font-size: 0.8vw;
  color:white;
  background-color: transparent;
}

.lang-select select:focus {
  outline: none;
}

@media screen and (min-width: 1001px) {
  .lang-select {
    top:0;
    right:0;
    position:absolute;
    pointer-events: all;
  }

  .nav_mobile {
    display: none;
  }
  
  .lang-select i {
    position: absolute;
    font-size: 1.2vw;
    top: 1vw;
    right:1vw;
    color:rgb(110, 110, 110);
    border: 0.15vw solid rgb(110, 110, 110);
    border-radius: 1.2vw;
    padding: 0.25vw;
    background-color: transparent;
  }
  
  .lang-select select {
    position: absolute;
    top:0;
    right: -15vw;
    width:10vw;

    margin-top: 1vw;
    margin-right: 1vw;
    transition: all ease 1s;
  }
  
  .lang-select select option{
    background: none;
    background-color: transparent !important;
    color:black;
  }

  .screen.overlay .nav .nav_navigator {
    position: absolute;
    bottom: 3vw;
    right:-0.5vw;
    z-index: 100;
    pointer-events: all;
  }

  .nav_navigator .nav-link {
    height:2vw;
    margin-right: 0.5vw;
    margin-left: auto;
    display: block;
    font-size: 0.75vw;
    width:5vw;
    text-decoration: none;
    color:white;
    transform: rotate(35deg) skewX(70deg);
    transition: font-size linear 0.5s, height linear 0.5s, width linear 0.5s;
    box-sizing: border-box;
  }

  .nav_navigator .nav-link.active {
    font-size: 1vw;
    height:3.5vw;
    width:7vw;
  }
  
  .nav_navigator .nav-border {
    display: block;
    width: 110%;
    height: 0.25vw;
    margin-left:-1vw;
    background-color: white;
    transition: margin-left linear 0.5s, width linear 0.5s, height linear 0.5s;
  }
  
  .nav_navigator .nav-title {
    transform: skewX(-70deg);
    height:1.5vw;
    padding-top: 0.5vw;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-left: 2vw;
    transition: padding-left linear 0.5s, height linear 0.5s;
  }

  .nav_navigator .nav-link.active .nav-title {
    height:2vw;
    padding-left: 2.5vw;
  }
  .nav_navigator .nav-link.active .nav-border {
    margin-left: -1vw;
    width:120%;
    height:0.5vw;
  }
  
}

/* ----- Page ----- */

.page .screen {
  color:white;
}

/* ----- Home Page ----- */

.page .screen.home {
  background: transparent;
  background-color: none;
}

.home .screen-filter {
  background-color: rgba(0, 0, 0, 0.6);
}

.home .board {
  padding: 5vw 0.5vw 0vw;
  box-sizing: border-box;
}

.home .board * {
  width:100%;
  text-align: center;
  display: block;
  align-content: center;
}

.home .main_title {
  height: 15%;
  font-size: 4vw;
}

.home .sub_title {
  height:10%;
  font-size: 2.5vw;
  box-sizing: border-box;
}

.home .sub_title:first-of-type {
  padding: 4vh 0 0 0;
}
.home .sub_title:last-of-type {
  padding: 0 0 4vh 0;
}

.home .home_text {
  height:30%;
  font-size: 2vw;
  padding: 0 30%;
}

.home .skill_title {
  height:10%;
  font-size: 2vw;
  padding: 4vh 0 0 0;
  box-sizing: border-box;
}

.home .skill_list {
  height:25%;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0 25%;
}

.home .skill_list li {
  height:20%;
  width:33%;
  padding: 0.25vw 0;
  box-sizing: border-box;
  display: flex;
}

.home .skill_list li .img-container {
  height: 100%;
  text-align: center;
  width:30%;
}

.home .skill_list li .img-container img {
  height:100%;
  width: auto;
  margin: 0 auto;
}

.home .skill_list li span {
  height: 100%;
  width: 70%;
  display: block;
  font-size: 1.2vw;
}

/* ----- Generated Page ----- */
.screen * {
  z-index: 2;
}

.screen-filter {
  height: 100vh;
  width: 100vw;
  left:0;
  top:0;
  position: absolute;
  z-index: 0;
}

.board {
  height:100%;
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.board-half {
  height: 80%;
  flex-wrap: nowrap;
  align-content: center;
  width: 50%;
  box-sizing: border-box;
  padding: 1vw;
  display: grid;
  align-items: center;
}

.board-text-container {
  display: grid;
  justify-content: center;
  align-content: start;
}

.board-title {
  font-size: 4vw;
  width: 100%;
  text-align: center;
  height: 10%;
  display: block;
}

.board-text {
  text-align: center;
  padding: 2vh 0;
  font-size: 1vw;
}

.board-image {
  width: 100%;
  max-height: 100%;
}

.board-image img {
  width:100%;
}

.board-link {
  height:10%;
  width: 100%;
  text-align: center;
  display: grid;
  box-sizing: border-box;
  justify-content: center;
  align-content: center;
}

.board-link button {
  text-decoration: none;
  font-size: 1.6vw;
  padding: 0.5vw 1vw;
  background: transparent;
  color:white;
  border: 0.5vw double white;
  border-radius: 0.5vw;
}

.board-skill {
  height:auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 5px 5%;
  justify-content: center;
}

.board-skill li {
  height:5vh;
  width:33%;
  padding: 0.25vw 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.board-skill li .img-container {
  height: 100%;
  text-align: center;
  width:30%;
}

.board-skill li .img-container img {
  height:100%;
  width: auto;
  margin: 0 auto;
}

.board-skill li span {
  width: 70%;
  display: block;
  font-size: 1.2vw;
}

/* ----- Contact Page ----- */

.screen.contact {
  background: url("images/contact_bg.png");
}

.screen.contact .screen-filter {
  background: rgba(0, 0, 0, 0.4);
}

.screen.contact .board {
  align-content: center;
  padding: 0 10%;
  box-sizing: border-box;
}

.screen.contact .board .contact_form {
  height:80%;
  width:75%;
  background: rgba(196, 196, 196, 0.1);
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 0 2%;
}

.screen.contact .board .contact_form h2 {
  width: 100%;
  height: 8%;
  text-align: center;
  padding: 1.25vh 0 0 0;
  box-sizing: border-box;
  font-size: 2vw;
}

.screen.contact .board .contact_form input {
  width:100%;
  height:8%;
  font-size: 1.75vw;
  box-sizing: border-box;
  padding: 2vh 2vw;
  text-align: center;
  color:white;
  background: rgba(231, 231, 231, 0.5);
  border: none;
  outline: none;
}

.screen.contact .board .contact_form input:focus, .screen.contact .board .contact_form textarea:focus {
  border: 0.25vw solid white;
  outline: none;
}

.screen.contact .board .contact_form input::placeholder, .screen.contact .board .contact_form textarea::placeholder {
  color: white;
  opacity: 0.75;
  text-align: center;
}

.screen.contact .board .contact_form textarea {
  width:100%;
  height:70%;
  background: rgba(231, 231, 231, 0.5);
  border: none;
  outline: none;
  box-sizing: border-box;
  resize: none;
  color:white;
  font-size: 1.75vw;
  padding: 1vh 0.5vw;
}

.screen.contact .board .contact_form textarea::-webkit-scrollbar {
  width:0.5vw;
  border-radius: 0.25vw;
  background: transparent;
}

.screen.contact .board .contact_form textarea::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 0.25vw;
}

.screen.contact .board .contact_form textarea::-webkit-scrollbar-thumb {
  height:0.5vw;
  background: white;
  border-radius: 0.25vw;
  border: 0.15vw double rgb(122, 122, 122);
}

.screen.contact .board .contact_form textarea::-webkit-scrollbar-thumb:hover {
  background: rgb(122, 122, 122);
}

.screen.contact .board .contact_form .form_footer {
  width:100%;
  height:10%;
  text-align: right;
  box-sizing: border-box;
}

.screen.contact .board .contact_form .form_footer button {
  width: 30%;
  height: 100%;
  font-size: 1.5vw;
  box-sizing: border-box;
  padding: 0.75vh 2vw;
  color: white;
  background: rgba(231, 231, 231, 0.5);
  border: none;
}

.screen.contact .board .contact_info {
  height:80%;
  width:25%;
  display: flex;
  flex-wrap: wrap;
  padding: 0 1vw;
  box-sizing: border-box;
}

.screen.contact .board .contact_info .contact_link {
  list-style: none;
  width: 100%;
  align-self: center;
}

.screen.contact .board .contact_info .contact_link a {
  width: 100%;
  height: 3vw;
  display: flex;
  align-content: center;
  margin: 2vh 0;
  text-align: center;
  text-decoration: none;
  color: white;
}

.screen.contact .board .contact_info .contact_link a .img-container {
  width: 50px;
  height: 100%;
  font-size: 3vw;
  text-align: center;
  position:relative;
  display: grid;
  justify-content: center;
}

.screen.contact .board .contact_info .contact_link a .img-container img,.screen.contact .board .contact_info .contact_link a .img-container i{
  height: 50px;
}

.screen.contact .board .contact_info .contact_link a span {
  display: block;
  height:100%;
  font-size: 1.25vw;
  box-sizing: border-box;
  padding: 1.5vh 1vw;
}

/* ----- Responsive ----- */
.nav_mobile {
  position: absolute;
  height:100vh;
  width:100vw;
  background-color: grey;
  pointer-events: all;
  justify-content: center;
  align-content: center;
  right:100vw;
  transition: right ease 1s;
}

.burger-container {
  position: absolute;
  top:45vh;
  left:100vw;
  width: 15vw;
  height:10vh;
  background-color: rgba(128, 128, 128, 0.5);
  clip-path: ellipse(25% 50% at 2% 50%);
}

.nav-mobile-burger {
  color:white;
  position: absolute;
  top:50%;
  left:1px;
  font-size: 3vw;
  transform: translateY(-50%);
}

.nav-mobile-exit {
  color:white;
  position: absolute;
  top: 5vh;
  right: 5vh;
}

.nav_mobile, .nav_mobile * {
  z-index: 100;
}

.nav-mobile-link {
  display: block;
  height: 10vh;
  width:100%;
  text-align: center;
  box-sizing: border-box;
  font-size: 5vh;
  text-decoration: none;
  color: white;
}

@media screen and (max-width: 1000px) {
  .nav * {
    z-index: 100;
  }

  .nav_navigator {
    display: none;
  }

  .nav_mobile {
    display: grid;
  }

  .lang-select {
    position: absolute;
    z-index: 101;
    width: 10%;
    top: 2vh;
    right:145%;
    text-align: center;
    pointer-events: all;
    transition: right ease 1s;
  }

  .lang-select.active {
    right:45%;
  }

  .lang-select i {
    display: none;
  }

  .lang-select select {
    font-size: 2.5vw;
  }

  .lang-select select option {
    font-size: 2.5vw;
    color: black;
  }

  .board {
    overflow-y: auto;
  }

  .board::-webkit-scrollbar {
    width:2vw;
    border-radius: 0.5vw;
    background: transparent;
  }
  
  .board::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 0.5vw;
  }
  
  .board::-webkit-scrollbar-thumb {
    height:2vw;
    background: white;
    border-radius: 0.5vw;
    border: 0.5vw double rgb(122, 122, 122);
  }
  
  .board::-webkit-scrollbar-thumb:hover {
    background: rgb(122, 122, 122);
  }

  .board-half {
    width: 100%;
    height:auto;
  }

  .board-text {
    font-size: 4vw;
  }

  .board-link button {
    font-size: 3vw;
  }

  .screen.contact .board {
    transform: rotate(180deg)
  }

  .screen.contact .board > * {
    transform: rotate(-180deg)
  }

  .screen.contact .board .contact_form {
    width:100%;
    height:75%;
  }

  .screen.contact .board .contact_info {
    width: 100%;
    height:25%;
  }

  .screen.contact .board .contact_info .contact_link a {
    margin: 1vh 0;
    height:3vh;
  }

  .screen.contact .board .contact_info .contact_link a .img-container {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    justify-items: center;
    align-items: center;
  }

  .screen.contact .board .contact_info .contact_link a span {
    font-size: 3vw;
    padding: 0.75vh 1vw;
  }
  
  .screen.contact .board .contact_form h2 {
    font-size: 4vw;
  }

  .screen.contact .board .contact_form input, .screen.contact .board .contact_form textarea, .screen.contact .board .contact_form .form_footer button {
    font-size: 3vw;
  }
  
  .nav_mobile.active {
    right:0;
  }

  @media all and (orientation: portrait) {
    .home .main_title {
      font-size: 4vh;
      height: 10%;
      box-sizing: border-box;
    }

    .home .sub_title {
      font-size: 2.5vh;
      height: 5%;
      padding: 0 !important;
      box-sizing: border-box;
    }

    .home .home_text {
      font-size: 2vh;
      padding: 0 10% 10%;
      height: 20%;
      box-sizing: border-box;
    }

    .home .skill_title {
      font-size: 2vh;
      padding: 2vh 0 0 0;
      height: 5%;
      box-sizing: border-box;
    }

    .home .skill_list {
      padding: 0 10%;
      height: 50%;
      box-sizing: border-box;
      align-content: space-between;
      justify-content: center;
    }

    .home .skill_list li {
      height: 10%;
      width: 51%;
      box-sizing: border-box;
    }
    .home .skill_list li span {
      font-size: 1.5vh;
      padding: 1vh 0;
      box-sizing: border-box;
    }
  }
}