@font-face {
  src: url(../../fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
  font-family: Montserrat;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }


/*---   ANIMATION   ---*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

html,
body {
  animation-duration: 0.9s;
  transition-timing-function: ease-in;
  animation-fill-mode: both;
  animation-name: fadeIn;
  overflow-x: hidden;
}

#main-div {
  display: flex;
  flex-direction: column;
}


h1 {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #1D1D1D;
  }


/*---   1st SCREEN   ---*/
#first-screen {
  height: 100vh;
  display: flex;
  padding: 3%;
  background-color: #f8f8f8;
}


  /*---   left column   ---*/

#left-column {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  /* background-color: lightcoral; */
}

  #titles {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
    gap: 10px;
    /* background-color: lightcyan; */
  }

    h2 {
      color: #1D1D1D;
      font-family: 'Montserrat', sans-serif;
      font-size: 20px;
      font-weight: 200;
      letter-spacing: 3px;
    }


  /*---   right column   ---*/

#right-column {
  height: 100%;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


  #projects {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

    .choice-button {
      height: 250px;
      width: 250px;
      border: 1px solid #1D1D1D;
      border-radius: 100%;
    }

      .choice-button:hover{
        border-color: #FFFFFF ;
        background-color: #1D1D1D;
        transition-duration: 0.4s;
        cursor: pointer;
      }

        .choice-button:hover>a {
          color : #FFFFFF;
        }

        .choice-button:not(:hover) {
          transition-duration: 0.4s;
        }

        .one-project {
          height: 100%;
          width: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          font-family: 'Montserrat', sans-serif;
          font-size: 26px;
          font-weight: 300;
          letter-spacing: 1px;
          word-spacing: 2px;
          color: #1D1D1D;
          text-decoration: none;
        }
  
  #about-div {
    width: 100%;
    text-align: center;
    margin-top: auto;
  }

    .fas {
      font-size: 24px;
      font-weight: light;
      cursor: pointer;
    }

    .fas:hover {
      font-size: 28px;
      transition-duration: 0.4s;
    }

    .fas:not(:hover) {
      transition-duration: 0.3s;
    }




/*---   2nd SCREEN   ---*/
  #second-screen {
    height: 100vh;
    padding: 40px;
    background-color: #1D1D1D;
  }

  .presentation-parts {
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: space-between;
  }

    #part-one-div-one {
      height: 100%;
      width: 65%;
      gap: 20%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

      #presentation-text {
        font-family: 'Montserrat', sans-serif ;
        font-size: 16px;
        font-weight: 200;
        line-height: 30px;
        letter-spacing: 1px;
        color: #f8f8f8;
      }


    #part-one-div-two {
      height: 100%;
      width: 35%;
      padding-right: 2%;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

      img {
        height: 70%;
        border-radius: 100%;
        object-fit: cover;
      }

#part-two-div-one {
  height: 100%;
  width: 65%;
  display: flex;
  align-items: center;
}

  #stack-div {
    height: auto;
    width: 100%;
    display: flex;
    gap: 5%;
  }

    .stack {
      height: auto;
      line-height: 1.8em;
      flex-direction: column;
    }

      .stack-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 400;
        letter-spacing: 2px;
        padding-bottom: 40px;
        color: #f8f8f8;
      }

        .qualification {
          font-family: 'Montserrat', sans-serif;
          font-size: 16px;
          font-weight: 100;
          letter-spacing: 1px;
          color: #f8f8f8;
        }

#part-two-div-two {
  height: 80%;
  width: 35%;
  padding-right: 3%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-width: 1px;
}

  #email-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #1D1D1D;
    border-radius: 100px;
    background-color: #f8f8f8;
    cursor: pointer;
  }

    #email-button:hover {
      border: 1px solid #f8f8f8;
      color: #1D1D1D;
      background-color: #1D1D1D;
      transition-duration: 0.2s;
      transition-timing-function: ease-in;
    }

    #email-button:hover>a{
      color: #f8f8f8;
    }

    #email-button:not(hover) {
      transition-duration: 0.4s;
    }

      #email-text {
        padding: 28px 30px;
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 300;
        letter-spacing: 1px;
        word-spacing: 2px;
        color: #1D1D1D;
        text-decoration: none;
        text-align: center;
      }



/* ======================= */
/* MEDIA QUERIES */

@media screen and (max-width: 786px){
  
/* ===== 1st Screen =====  */

  #first-screen {
    height: 100vh;
    padding: 5px;
    flex-direction: column;
  }

    #left-column {
      width: 100%;
      height: 35%;
      flex-direction: column;
      justify-content: space-evenly;
    }

      h1 {
        text-align: center;
        font-size: 28px;
        font-weight: 400;
        letter-spacing: 4px;
      }

    #titles {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
      
      h2 {
        font-size: 18px;
        font-weight: 300;
        padding-bottom: 2%;
      }

  #right-column {
    width: 100%;
    height: 65%;
  }

    #projects {
      flex-direction: column;
    }

        .choice-button {
          width: 80%;
          height: 22%;
          border-radius: 10vmax;
        }

          .one-project {
            font-size: 20px;
            font-weight: 300;
            letter-spacing: 1px;
            text-align: center;
          }
    

/* ===== 2nd Screen =====  */
#second-screen {
  height: auto;
  display: flex;
  padding: 10px;
  flex-direction: column;
  align-items: center;
}

  .presentation-parts {
    height: auto;
    flex-direction: column-reverse;
    align-items: center;
  }

  .responsive {
    height: 100vh;
  }

  .reverse {
    flex-direction: column-reverse;
  }

    #part-one-div-one {
      height: 100%;
      width: 100%;
      padding: 5%;
      flex-direction: column;

    }

      #presentation-text {
        font-size: 1.3em;
        text-align: center;
      }

    #part-one-div-two {
      height: 50%;
      width: 50%;
    }

      img {
        width: 100%;
      }

    #part-two-div-one {
      width: 100%;
      height: 100%;
    }

      #stack-div {
        height: auto;
        flex-direction: column;
        justify-content: space-between;
      }

        .stack {
          font-size: 14px ;
          padding: 3% 0% 5% 3%;
        }

        .stack-title {
          font-size: 1.7em;
          font-weight: 500;
          padding-bottom: 18px;
        }
        
        .qualification {
          font-size: 1.4em;
          width: auto;
        }

    #part-two-div-two {
      height: 10%;
      width: 100%;
      justify-content: center;
      margin: 10% 0%;
    }

      #email-button {
        width: 70%;
        height: 100%;
        text-align: center;
        background-color: #f8f8f8;
        color: #1D1D1D;
      }

        #email-button:hover {
          background-color: #1D1D1D;
          color: #f8f8f8;
          border: 2px solid #f8f8f8;
        }
}


@media only screen and (max-width: 932px) and (orientation: landscape){

  #second-screen {
    height: 100%;
    padding: 20px;
  }

  .presentation-parts {
    height: 100vh;
    width: 100%;
  }

  #part-one-div-one {
    height: 100%;
    align-items: center;
  }

  #part-one-div-two {
    justify-content: center;
  }

    img {
      width: 90%;
    }

  #part-two-div-one {
    width: 100%;
  }

  #part-two-div-two {
    width: 100%;
    justify-content: center;
  }

      #email-text {
        font-size: 16px;
      }

    .mobile {
      flex-direction: column;
    }

}