@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@900&display=swap');

                                                        /* Main Settings */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  min-height: 95vh;
  display: flex; 
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:#292929;
}




                                                      /* Homepage Settings */

/* Homepage Resolution Handling */

@media only screen and (max-width: 930px){

  @media screen and (max-height: 1024px) {
    .mainBlockHome {
      top: 0;
      position: fixed;
      height: 300px;
    }

    .textBlockHome {
      margin-top: 140px;
    }

    .textBlockHomeName {
      margin-top: 175px;
    }

    .grid-container {
      top: calc(300px + 15px);
    }

  }

  @media screen and (min-height: 1025px) {
    .mainBlockHome {
      top: 0;
      position: fixed;
      height: 300px;
    }

    .textBlockHome {
      margin-top: 140px;
    }

    .textBlockHomeName {
      margin-top: 175px;
    }

    .grid-container {
      top: calc(300px + 15px);
    }

  }

  .mainBlockHome h1{
    font-size: 200%;
  }

 
}

@media screen and (min-width: 931px) {

  @media screen and (max-height: 1024px) {
    .mainBlockHome {
      top: 0;
      position: fixed;
      height: 426px;
    }

    .textBlockHome {
        margin-top: 175px;
    }

    .textBlockHomeName {
      margin-top: 245px;
    }

    .grid-container {
      top: calc(426px + 15px);
    }

  }

  @media screen and (min-height: 1025px) {
    .mainBlockHome {
      top: 0;
      position: fixed;
      height: 445px;
    }

    .textBlockHome {
      margin-top: 175px;
    }
    .textBlockHomeName {
      margin-top: 245px;
    }

    .grid-container {
      position: absolute;
      top: calc(445px + 15px);
    }



  }

}

/*Homepage mainBlock*/

.mainBlockHome {
  display: block;
  width: 100vw;
  overflow-y: auto;
  margin-bottom: 0;
  background-color: #1a1a1a;
}

.mainBlockHome h1 {
  margin-bottom: 0;
  margin-left: 2rem;
  top: 0;
  position: absolute;
}

.textBlockHome {
  font-family: "Nunito", serif;
  font-size: 400%;
  font-style: normal;
  overflow: auto;
}

.textBlockHomeName {
  font-size: 400%;
  font-family: "Nunito", serif;
  background: linear-gradient(to right, #ae8cbd, #a1a1a1);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-effect {
  border-right: 5px solid;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  animation:
    typing 1.5s steps(16),
    cursor .4s step-end infinite alternate;
}

/* Blinking cursor */
@keyframes cursor {
  50% {  border-color: transparent  }
}

/* typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 35.5% }
}

/*Homepage Grid Settings*/

.grid-container {
  position: absolute;
  display: grid;
  width: 98%;
  column-gap: 2%;
}

.gridSquare1 {
  font-family: "Nunito", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 100%;
  height: 10rem;
  width: 100%;
  color:#a7a7a7;
  text-align: center;
  align-content: center;
  align-items: center;
  border-radius: 25px;
  margin-top: 15px;
  grid-column: 1;
  background-color: #1a1a1a;
  overflow-y: auto;
  opacity: 0.80;
  z-index: 1;
  position: relative;
}
.gridSquare2 {
  font-family: "Nunito", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 100%;
  height: 10rem;
  width: 100%;
  color:#a7a7a7;
  text-align: center;
  align-content: center;
  border-radius: 25px;
  margin-top: 15px;
  grid-column: 2;
  background-color: #1a1a1a;
  overflow-y: auto;
}
.gridSquare3 {
  font-family: "Nunito", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 100%;
  height: 10rem;
  width: 100%;
  color:#a7a7a7;
  text-align: center;
  text-wrap: auto;
  align-content: center;
  margin: auto;
  border-radius: 25px;
  margin-top: 15px;
  grid-column: 3;
  background-color: #1a1a1a;
  overflow-y: auto;
}

.largeText {
  font-family: "Nunito", serif;
  font-size: 400%;
  font-weight: 1500;
  font-style: normal;
  margin-top: 0;
  margin-bottom: 0;
  
  background: linear-gradient(#fff, #474747);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
}

.plusText {
  font-family: "Nunito", serif;
  font-size: 400%;
  font-weight: 1500;
  font-style: normal;
  margin-top: 0;
  margin-bottom: 0;
  color: #ae8cbd
  
}

.smallText {
  font-family: "Nunito", serif;
  margin-top: auto;
  margin-bottom: auto;
  font-style: italic;
  font-weight: 1000;
  font-size: auto;
  overflow: auto;
}




                                                        /* Projects Page Settings */

/* Projects Page Resolution Handling */

@media only screen and (max-width: 930px){

  @media screen and (max-height: 1024px) {
    .mainBlockProject {
      top: 0;
      position: fixed;
      height: 300px;
    }

    .textBlockProject {
      margin-top: 140px;
    }

    .textBlockProjectName {
      margin-top: 175px;
    }

  }

  @media screen and (min-height: 1025px) {
    .mainBlockProject {
      top: 0;
      position: fixed;
      height: 300px;
    }

    .textBlockProject {
      margin-top: 140px;
    }

    .textBlockProjectName {
      margin-top: 175px;
    }

  }

  .mainBlockProject h1{
    font-size: 200%;
  }

 
}

@media screen and (min-width: 931px) {

  @media screen and (max-height: 1024px) {
    .mainBlockProject {
      top: 0;
      position: fixed;
      height: 426px;
    }

    .textBlockProject {
        margin-top: 175px;
    }

    .textBlockProjectName {
      margin-top: 245px;
    }

  }

  @media screen and (min-height: 1025px) {
    .mainBlockProject {
      top: 0;
      position: fixed;
      height: 445px;
    }

    .textBlockProject {
      margin-top: 175px;
    }
    .textBlockProjectName {
      margin-top: 245px;
    }

  }

}

/* Project Page mainBlock */

.mainBlockProject {
  display: block;
  width: 100vw;
  overflow-y: auto;
  margin-bottom: 0;
  background-color: #1a1a1a;
}

.mainBlockProject h1 {
  margin-bottom: 0;
  margin-left: 2rem;
  top: 0;
  position: absolute;
}

.textBlockProject {
  font-family: "Nunito", serif;
  font-size: 400%;
  font-style: normal;
  overflow: auto;
}

.textBlockProjectName {
  font-size: 400%;
  font-family: "Nunito", serif;
  background: linear-gradient(to right, #ae8cbd, #a1a1a1);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}                                              




                                                        /* About Page Settings */

/* About Page Resolution Handling */

@media only screen and (max-width: 930px){

  @media screen and (max-height: 1024px) {
    .mainBlockAbout {
      top: 0;
      position: fixed;
      height: 300px;
    }

    .textBlockAbout {
      margin-top: 140px;
    }

    .textBlockAboutName {
      margin-top: 175px;
    }

  }

  @media screen and (min-height: 1025px) {
    .mainBlockAbout {
      top: 0;
      position: fixed;
      height: 300px;
    }

    .textBlockAbout {
      margin-top: 140px;
    }

    .textBlockAboutName {
      margin-top: 175px;
    }

  }

  .mainBlockAbout h1{
    font-size: 200%;
  }

 
}

@media screen and (min-width: 931px) {

  @media screen and (max-height: 1024px) {
    .mainBlockAbout {
      top: 0;
      position: fixed;
      height: 426px;
    }

    .textBlockAbout {
        margin-top: 175px;
    }

    .textBlockAboutName {
      margin-top: 245px;
    }

  }

  @media screen and (min-height: 1025px) {
    .mainBlockAbout {
      top: 0;
      position: fixed;
      height: 445px;
    }

    .textBlockAbout {
      margin-top: 175px;
    }
    .textBlockAboutName {
      margin-top: 245px;
    }

  }

}

/* About Page mainBlock */

.gridContainerAbout {
  top: 100px;
  position: absolute;
  margin-left: 20px;
  display: grid;
  width: 98%;
  column-gap: 2%;
}

.gridAboutOne {
  background-color: #474747;
  border-radius: 20px;
  border-color: #000000;
  border-style: solid;
  border-color: #ae8cbd;
  font-family: "Nunito", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 100%;
  height: 10rem;
  width: 100%;
  text-align: center;
  align-content: center;
  align-items: center;
  margin-top: 15px;
  overflow-y: auto;
}

/* About Page mainBlock */

.mainBlockAbout {
  display: block;
  width: 100vw;
  height: 100%;
  overflow-y: auto;
  margin-bottom: 0;
  background-color: #1a1a1a;
}

.mainBlockAbout h1 {
  margin-bottom: 0;
  margin-left: 2rem;
  top: 0;
  position: absolute;
}

.textBlockAbout {
  font-family: "Nunito", serif;
  font-size: 400%;
  font-style: normal;
  overflow: auto;
}

.textBlockAboutName {
  font-size: 400%;
  font-family: "Nunito", serif;
  background: linear-gradient(to right, #ae8cbd, #a1a1a1);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}                                              




                                                        /* Navigation Bar Settings */

/*Navbar Styles/Animations*/ 

:root {
  --darkbg: #141414;
  --btCinza: #222;
  --icons: #ae8cbd;
  --branco: #fff;
}


.container {
  width: 20%;
  display: flex;
  justify-content: left;
  align-items: center;
  position: relative;
}

#toggle {
  --webkit-appearance: none;
  display: none;
}

.button {
  position: absolute;
  z-index: 999;
  width: 320px;
  height: 65px;
  background: var(--btCinza);
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0 0px;
  padding-left: 24px;
  overflow: hidden;
  transition: width 300ms linear;
  margin-top: 110px;
  margin-left: 20px;

  &:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    background: var(--icons);
    transform: rotate(225deg);
    transition: all 0.4s ease;
  }
  &:after {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    background: var(--icons);
    transform: rotate(135deg);
    transition: all 0.4s ease;
  }
}

.nav {
  opacity: 1;
  transition: all 0.5s ease-in-out;
  background: var(--btCinza);
  width: 100%;
  border-radius: 5px;
  transform: translateX(10%);
  padding: 35px;

  ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
  }
  li {
    opacity: 0;
    list-style: none;
    &:nth-child(1) {
      transform-origin: bottom;
      animation: itop 300ms 300ms linear forwards;
    }
    &:nth-child(2) {
      transform-origin: bottom;
      animation: itop 300ms 400ms linear forwards;
    }
    &:nth-child(3) {
      transform-origin: bottom;
      animation: itop 300ms 500ms linear forwards;
    }
    &:nth-child(4) {
      transform-origin: bottom;
      animation: itop 300ms 600ms linear forwards;
    }
  }
  a {
    transition: all 0.5s linear;
    text-decoration: none;
    color: #ae8cbd;
    font-size: 20px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px 0 0;
    border-radius: 15px;

    &:hover {
      color: var(--branco);
      background: var(--darkbg);
      border-radius: 15px;
    }
  }
}

#toggle:checked ~ label .nav {
  display: none;
  opacity: 0;
  transform: translateX(0);
}

#toggle:checked ~ .button:before {
  transform: rotate(90deg);
}

#toggle:checked ~ .button:after {
  transform: rotate(0deg);
}

#toggle:checked ~ .button {
  width: 45px;
  transition: all 0.1s linear;
}

@media (max-width: 640px) {
  .container {
    width: 100%;
  }
}

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

.lowered {
  margin-top: 5px;
}

/*Icons Used in Navbar*/

.line-md--home-md {
  display: inline-block;
  width: 48px;
  height: 48px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='16' stroke-dashoffset='16' d='M5 21h14'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.2s' values='16;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='14' stroke-dashoffset='14' d='M5 21v-13M19 21v-13'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.2s' dur='0.2s' values='14;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='24' stroke-dashoffset='24' d='M9 21v-8h6v8'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.4s' dur='0.4s' values='24;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='28' stroke-dashoffset='28' d='M2 10l10 -8l10 8'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.5s' dur='0.6s' values='28;0'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.line-md--person {
  display: inline-block;
  width: 48px;
  height: 48px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='20' stroke-dashoffset='20' d='M12 5c1.66 0 3 1.34 3 3c0 1.66 -1.34 3 -3 3c-1.66 0 -3 -1.34 -3 -3c0 -1.66 1.34 -3 3 -3Z'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.4s' values='20;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='36' stroke-dashoffset='36' d='M12 14c4 0 7 2 7 3v2h-14v-2c0 -1 3 -3 7 -3Z'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.5s' dur='0.5s' values='36;0'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.line-md--folder {
  display: inline-block;
  width: 48px;
  height: 48px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='64' stroke-dashoffset='64' d='M12 7h8c0.55 0 1 0.45 1 1v10c0 0.55 -0.45 1 -1 1h-16c-0.55 0 -1 -0.45 -1 -1v-11Z'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.6s' values='64;0'/%3E%3C/path%3E%3Cpath d='M12 7h-9v0c0 0 0.45 0 1 0h6z' opacity='0'%3E%3Canimate fill='freeze' attributeName='d' begin='0.6s' dur='0.2s' values='M12 7h-9v0c0 0 0.45 0 1 0h6z;M12 7h-9v-1c0 -0.55 0.45 -1 1 -1h6z'/%3E%3Cset fill='freeze' attributeName='opacity' begin='0.6s' to='1'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.line-md--github {
  display: inline-block;
  width: 48px;
  height: 48px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='32' stroke-dashoffset='32' d='M12 4c1.67 0 2.61 0.4 3 0.5c0.53 -0.43 1.94 -1.5 3.5 -1.5c0.34 1 0.29 2.22 0 3c0.75 1 1 2 1 3.5c0 2.19 -0.48 3.58 -1.5 4.5c-1.02 0.92 -2.11 1.37 -3.5 1.5c0.65 0.54 0.5 1.87 0.5 2.5c0 0.73 0 3 0 3M12 4c-1.67 0 -2.61 0.4 -3 0.5c-0.53 -0.43 -1.94 -1.5 -3.5 -1.5c-0.34 1 -0.29 2.22 0 3c-0.75 1 -1 2 -1 3.5c0 2.19 0.48 3.58 1.5 4.5c1.02 0.92 2.11 1.37 3.5 1.5c-0.65 0.54 -0.5 1.87 -0.5 2.5c0 0.73 0 3 0 3'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.7s' values='32;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='10' stroke-dashoffset='10' d='M9 19c-1.41 0 -2.84 -0.56 -3.69 -1.19c-0.84 -0.63 -1.09 -1.66 -2.31 -2.31'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.8s' dur='0.2s' values='10;0'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

                                                        /* Global Item Settings */        

/* Footer Block */

.footerGridContainer {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  background-color: #222;
  border-radius: 25px;
}

.footerGrid {
  font-family: "Nunito", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 60%;
  height: 10rem;
  width: 100%;
  color:#000000;
  text-align: center;
  align-content: center;
  align-items: center;
  
}

.footerText {
  margin-top: 0;
  margin-bottom: 0;
}

.bottomOut {
  padding-top: 80px;
}

/* Misc. Settings */
