/* Imported Fonts */
@font-face {
  font-family: 'Glacial'; 
  src: url('/style/fonts/glacial-indifference/GlacialIndifference-Bold.otf') format('opentype'); 
  font-weight: normal; 
  font-style: normal; 
} 

/* CSS Animations */
@keyframes landing_anim_header {
  0%{ 
      opacity: 0; 
      transform: translateY(10%); 
  }
  50%{
    opacity: 0.7;
  }
  100%{ 
      opacity: 1; 
  }
}

@keyframes landing_anim_curly {
  0%{ 
    opacity: 0; 
    transform: translateX(-60%); 
  }
  100%{ 
      opacity: 1; 
  }
}

@keyframes landing_anim_list {
  0%{ 
    opacity: 0; 
    transform: translateY(-60%); 
  }
  100%{ 
      opacity: 1; 
  }
}

@keyframes landing_anim_menu {
  0%{ 
    opacity: 0; 
    transform: translateY(10%); 
  }
  100%{ 
      opacity: 1; 
      pointer-events: visible;
  }
}

/* General Styles */
html {
  scroll-behavior: smooth;
}

body {
  min-width: 100%;
  min-height: 100vh;
  background-color: #191919;
}

.wave{
  transform: scale(-1, -1); 
  transform-origin: center;
}

/* Text Styling - Desktop */
h1 {
  font-family: "Glacial", sans-serif;
  font-size: 38px;
}

h2 {
  font-size: 3rem;
  padding-top: 15%;
}

.about_wrapper > p,
.contact_wrapper > p {
  font-size: 25px;
  margin: 25px 0;
}

.text_container > h1 {
  font-family: "League Spartan", sans-serif;
  color: #232323;
  width: 400px;
  font-size: 98px;
  line-height: 90px;
  text-shadow: 2px 2px 2px rgb(188, 188, 188);
  animation: landing_anim_header 0.5s ease-in-out forwards;
}

/* Navigation & Menu - Desktop */
.landing_menu > li > a {
  font-family: "League Spartan", sans-serif;
  font-size: 35px;
  text-transform: uppercase;
  color: #232323;
  padding: 20px;
}

.menu_div > a {
  font-family: "Lato", sans-serif;
  display: block;
  color: rgb(243, 243, 243);
  margin: 8px 0;
  padding: 8px 0;
  font-size: 25px;
  transition: 200ms;
  cursor: pointer; 
}

.menu_div > a:hover {
  margin-left: 80px;
  transition: 200ms;
}

.landing_menu {
  opacity: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: 0.5s landing_anim_menu 1.5s ease-in-out forwards;
}

.landing_menu > li {
  transition: 200ms;
  color: #232323;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.landing_menu > li:hover {
  transition: 200ms;
  cursor: grab;
  border-bottom: 2px solid rgba(35, 35, 35, 0.72);
}

#menu_container {
  height: 100vh;
  width: 20%;
  margin: auto;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menu_div {
  text-align: center;
  font-size: 30px;
}

/* Logo & Header - Desktop */
.logo {
  width: 100%;
  margin: auto;
  display: flex;
  box-shadow: none;
}

.header {
  font-family: "Poppins", sans-serif;
  font-weight: bolder;
}

/* Landing Section - Desktop */
.welcome_container {
  min-height: 90vh;
  background-color: #FDFDFD;
  align-content: center;
}

.welcome_container > * {
  color: #191919;
  margin: 30px 0;
  pointer-events: none;
}

.text_container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing_curly {
  opacity: 0;
  color: rgba(35, 35, 35, 0.72);
  font-family: "League Spartan", sans-serif;
  font-size: 128px;
  animation: 1s landing_anim_curly 0.2s ease-in-out forwards;
}

.landing_list > li {
  opacity: 0;
  font-family: "League Spartan", sans-serif;
  text-transform: uppercase;
  color: rgb(35, 35, 35, 0.95);
  font-size: 32px;
  font-weight: normal;
  line-height: 25px;
}

.landing_list li:nth-child(1) {
  animation: 0.5s landing_anim_list 0.8s ease-in-out forwards;
}

.landing_list li:nth-child(2) {
  animation: 0.5s landing_anim_list 1s ease-in-out forwards;
}

.landing_list li:nth-child(3) {
  animation: 0.5s landing_anim_list 1.2s ease-in-out forwards;
}

/* Projects Section - Desktop */
.section_wrapper {
  transition: 200ms;
  width: 60%;
  display: block;
  margin-left: 30%;
}

.project_wrapper .focus {
  margin-left: 3%;
  transition: 200ms;
}

.project_section {
  display: flex;
  width: 100%;
  transition: 200ms;
}

.focus {
  transition: 200ms;
}

.focus > .text_wrapper {
  filter: opacity(1);
  transition: 200ms;
}

.focus > .img_wrapper > img {
  height: 225px;
  transition: 200ms;
  filter: grayscale(0);
}

.img_wrapper {
  align-content: center;
}

.img_wrapper > img {
  height: 200px;
  transition: 200ms;
  filter: grayscale(1);
}

.text_wrapper {
  width: 400px;
  word-wrap: break-word;
  padding: 0 30px;
  transition: 200ms;
  filter: opacity(0);
}

/* Miscellaneous Styles - Desktop */
.hidden {
  display: none;
}

.fade_in {
  opacity: 1 !important;
  visibility: visible !important;
}

.brief, .technologies {
  margin: 20px 0;
}

.brief {
  font-size: 20px;
}

.technologies {
  font-weight: bold;
}

.fa-code {
  font-size: 20px;
  margin-right: 5px;
}

a {
  text-decoration: none;
}

button {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 18px;
  background-color: #cdcdcd08;
  padding: 15px 25px;
  border-radius: 0.5em;
  margin: 8px 8px 8px 0;
  transition: 100ms;
  cursor: pointer;
}

button:hover {
  transition: 200ms;
}

.demo:hover {
  background-color: rgb(243, 243, 243);
  color: #191919;
}

.github:hover {
  background-color: #6e5494;
}

.active {
  margin-left: 80px !important;
  transition: 200ms;
  color: rgb(243, 243, 243) !important;
}

ul {
  list-style: none;
}

li {
  font-size: 25px;
  margin: 15px 0;
}

span {
  font-family: "Glacial", sans-serif;
}

/* Global Reset */
* {
  margin: 0;
  color: rgb(243, 243, 243);
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* Responsive Styles - Tablet*/
@media (max-width: 1024px) {

  /* Text Styling */
  .text_container > h1{
    font-size: 60px;
    line-height: 60px;
    width: 250px;
  }

  .landing_curly{
    font-size: 90px;
  }

  .landing_list > li{
    font-size: 26px;
    margin: 10px 0;
  }

  .landing_menu > li > a{
    font-size: 30px;
  }

  p{
    font-size: 20px !important;
  }

  h1{
    font-size: 35px;
  }

  h2{
    font-size: 40px;
  }

  /* Sidebar Styling */
  #menu_container {
  display: none;
  }

  .section_wrapper {
    transition: 200ms;
    width: 80%;
    margin: 0 10%;
  }

  /* Sectional Styling */

  .project_section{
    display: block;
    padding: 10% 0;
  }

  .focus > .text_wrapper{
    display: block;
  }

  .img_wrapper{
    display: flex;
    justify-content: center;
  }
}

/* Responsive Styles - Mobile*/
@media (max-width: 600px) {

  /* Text Styling */
  .text_container > h1{
    font-size: 35px;
    line-height: 37px;
    width: 160px;
  }

  .landing_curly{
    font-size: 65px;
  }

  .landing_list > li{
    font-size: 18px;
    line-height: 15px;
  }

  .landing_menu{
    display: block;
    text-align: center;
    padding-left: 0;
  }

  .landing_menu > li > a{
    font-size: 25px;
    justify-content: center;
    padding: 15px;
    padding-left: 0;
  }

  p{
    font-size: 16px !important;
  }

  h1{
    font-size: 35px;
  }

  h2{
    font-size: 40px;
  }

  /* Sidebar Styling */
  #menu_container {
  display: none;
  }

  .section_wrapper {
    transition: 200ms;
    width: 80%;
    margin: 0 10%;
  }

  /* Sectional Styling */

  .project_section{
    display: block;
    padding: 10% 0;
  }

  .text_wrapper{
    width: 100%;
    padding: 5% 0;
    margin: auto;
    display: none;
  }

  .focus > .text_wrapper{
    display: block;
  }

  .img_wrapper{
    display: flex;
    justify-content: center;
  }
}
