@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

    /*Colors used on the page*/
    :root{
        --black: #0E0E0E;
        --white: #E5E5E5;
        --blue: #72CBE8;
    }

    a {
      color: var(--blue);
      text-decoration: none;
      transition: color 1s;
    }

    a:hover {
      color: var(--white);
    }

    html,
    body {
      position: relative;
      height: 100%;
      background-color: var(--black);
      color: var(--white);
      font-family: 'Lato', sans-serif;
      margin: 0;
      padding: 0;
    }

    .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      display: grid;
    }

    .swiper-pagination-bullet {
      background-color: var(--white);
    }

    .swiper-pagination-bullet-active {
      background-color: var(--blue);
    }

    .swiper-scrollbar-drag {
      background-color: var(--white);
    }

    .swiper-button-next,
    .swiper-button-prev {
      transform: scale(0.5);
      opacity: 0.5;
      margin: 0 1vw 0 1vw;
      color: var(--white);
    }

    h1,h2,h3,h4,h5,h6{
        margin:0;
    }
    h1 {
      font-size: clamp(48px, min(10vh, 10vw), 128px);
    }

    h2 {
      font-size: clamp(35px, min(6vh, 6vw), 64px);
    }

    h3 {
      font-size: clamp(25px, min(6vh, 6vw), 55px);
    }

    h4 {
      font-size: clamp(15px, min(5vw, 5vh), 40px);
      margin: 0;
    }

    /*h5{

    }*/

    h6 {
      font-size: clamp(8px, min(2vw, 2vh), 10px);
    }

    p {
      font-size: clamp(12px, min(2vh, 2vw), 24px);
    }

    /*Slide 1 - Title*/
    #Title>div {
      height: 50vh;
      height: 50svh;
      width: 100vw;
      display: flex;
      justify-content: center;
    }

    #Title>div:first-child {
      align-items: end;
    }

    #Title>div:nth-child(2) {
      align-items: start;
      color: var(--blue);
    }

    #Title h1,
    h2 {
      margin: 10px 40px 0 40px;
    }

    /*Slide 2 - About*/
    #About {
      grid-template-columns: 2fr 4fr;
    }

    #About>div:first-child {
      grid-column-start: 1;
      grid-column-end: 6;
    }

    #About>div:nth-child(2),
    #About>div:nth-child(3) {
      height: 90vh;
      height: 90svh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #About>div:nth-child(2) {
      justify-content: end;
    }

    #About>div:nth-child(3) {
      text-align: justify;
    }

    #About>div:nth-child(3)>p {
      padding-left: 10vw;
      padding-right: 10vw;
    }

    #About>div>img {
      aspect-ratio: 100/150;      
      height: 40vh;
      height: 40svh;
      border-radius:2px;
    }

    @media screen and (max-width: 1000px) {
      #About {
        display: inline-block;
      }

      #About i {
        display: grid;
      }

      #About div {
        width: 100vw;
      }

      #About>div:nth-child(2) {
        justify-content: center;
        align-items: center;
        height: 45vh;
      }

      #About>div:nth-child(3) {
        height: 45vh;
        align-items: start;
      }
    }

    /*Slide 3 - Skills*/
    #Skills>div:nth-child(2) {
      padding-top: 5vh;
      height: 50vh;
      height: 50svh;
      width: 100vw;
      display: flex;
      flex-wrap: wrap;
      place-content: start center;
    }

    #Skills>div:nth-child(3) {
      height: 40vh;
      height: 40svh;
      width: 100vw;
      display: flex;
      flex-wrap: wrap;
      place-content: start center;
    }

    /*Slide 4 - Projects*/
    .preview,
    .description {
      height: 100vh;
      height: 100svh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: justify;
    }

    .preview {
      justify-content: end;
      width: 40vw;
    }

    .description {
      width: 60vw;
    }

    .description div {
      padding-left: 10vw;
      padding-right: 10vw;
      width: 100%;
    }

    .description h4 {
      text-align: center;
      color: var(--blue);
    }

    .description h5 {
      text-align: center;
      padding-bottom: 2vh;
    }

    .description span {
      padding-left: 10vw;
      padding-right: 10vw;
    }

    .description span h1 {
      text-align: center;
      color: var(--blue);
    }

    .description span h5 {
      text-align: center;
      padding-bottom: 2vh;
    }

    .preview img {
      height: 35vh;
      height: 35svh;
      max-height: 450px;
      max-width: 450px;
    }

    @media screen and (max-width: 1000px) {
      #Projects .swiper-slide {
        display: inline-block;
      }

      .preview,
      .description {
        width: 100vw;
      }

      .preview {
        justify-content: center;
        align-items: center;
        height: 45vh;
      }

      .description {
        align-items: start;
        height: 45vh;
      }
    }

    /*Slide 5 - Contact*/
    #Contact>div:nth-child(2) {
      height: 85vh;
      height: 85svh;
      width: 100vw;
      display: flex;
      flex-wrap: wrap;
      place-content: center center;
    }

    #Contact>div:nth-child(2) img {
      transition: transform 1s;
    }

    #Contact>div:nth-child(2) img:hover {
      transform: translateY(-10%);
    }

    #Contact>div:nth-child(2) .box {
      max-height: 225px;
      height: 20vmax;
      max-width: 200px;
      width: 15vmax;
      display:flex;
      margin: clamp(15px, 3vh, 40px) clamp(15px, 3vw, 40px);
      font-size: clamp(20px, min(3vh, 3vw), 32px);
    }
    #Contact>div:nth-child(2) .box span{      
      display:flex;
      place-content: center center;
    }

    #Contact>div:nth-child(3) {
      height: 5vh;
      height: 5svh;
      width: 100vw;
      display: flex;
      align-items: end;
      justify-content: center;
      pointer-events: none;
    }

    #Contact>div:nth-child(3) h6 {
      margin-bottom: 1vh;
    }

    /*Elements from the multiple slides*/
    #Skills .box img {
      max-height: 168px;
      height: 8vmax;
    }

    #Contact .box img {
      max-height: 168px;
      height: 15vmax;
    }

    #Skills .box {
      max-height: 200px;
      height: 8vmax;
      max-width: 200px;
      width: 8vmax;
      margin: clamp(10px, 2vh, 40px) clamp(10px, 3vw, 40px);
    }

    .subtitle {
      height: 10vh;
      height: 10svh;
      width: 100vw;
      display:flex;
      align-items:end;
      justify-content: center;
    }

    #Skills>div .subtitle {
      margin-bottom: 2vh;
      height: 5vh;
      height: 5svh;
      width: 100vw;
      display: flex;
      justify-content: center;
    }

    /*Text and image fade-in*/
    .hidden {
      opacity: 0;
      transform: translateX(-10%);
      filter: blur(5px);
    }

    @media(prefers-reduced-motion) {
      .hidden {
        transition: none;
      }
    }

    .box {
      transform: translateX(-50%);
    }

    .show {
      opacity: 1;
      filter: blur(0);
      transform: translateX(0);
      transition: all 1s;
      transition-delay: calc(100ms * var(--order));
    }

    /*Blob flying after the pointer*/
    @keyframes rotate {
      from {
        rotate: 0deg;
      }

      50% {
        scale: 1 1.5;
      }

      to {
        rotate: 360deg;
      }
    }

    #blob {
      height: 34vmax;
      aspect-ratio: 1 / 1;
      position: fixed;
      left: 50%;
      top: 50%;
      translate: -50% -50%;
      border-radius: 50%;
      background: linear-gradient(to right, #005F9D, grey);
      animation: rotate 20s infinite;
      opacity: 0.8;
      z-index: -2;
    }

    #blur {
      height: 100%;
      width: 100%;
      position: fixed;
      z-index: -1;
      -webkit-backdrop-filter: blur(12vmax);
      backdrop-filter: blur(12vmax);      
    }

    /*Swiper 2 in Projects section*/
    .mySwiper2 {
      --margin-custom: 1px;
      height: calc(90vh - var(--margin-custom));
      width: 100vw;
      margin-bottom: var(--margin-custom);
    }

    .mySwiper2 .swiper-slide {
      display: flex;
      text-align: center;
      justify-content: center;
      align-items: center;
    }

    /*Arrow on the bottom of the page*/
    i {
      position: absolute;
      width: 100%;
      text-align: center;
      top: calc(100vh - 40px);
      top: calc(100svh - 40px);
      opacity: 0.25;
      animation: slide 1s ease-in-out infinite, fade 1s linear;
    }

    @keyframes slide {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes fade {
      0% {
        opacity: 0;
        transform: translateY(-30px);
      }

      100% {
        opacity: 0.25;
        transform: translateY(0);
      }
    }