body,
html {
  /* width: 100%;
  height: 100%; */
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Athena';
  src: url('Athena-Regular.woff2') format('woff2'),
      url('Athena-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.main {
  max-width: 100%;
  overflow: hidden;
}

body {
  font-family: 'Athena';
  background-color: #f9fcff;
}

/* Default MacBook Pro viewport 1512px - 982px */

/* cover cover page */

.cover {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(./images/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  transition: 0.5s;
  font-family: 'Athena';
}

.cover-content {
  display: block;
  justify-content: center;
  width: 100%;
  text-align: center;
  line-height: 100px;
  gap: 5rem;
}

#cover_logo {
  width: 90%;
  margin-top: -5rem;
}

#cover_logo_small {
  width: 100%;
  margin-top: 1rem;
  display: none;
}

.links{
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 2rem;
  gap: 2rem;
  font-family: 'Athena';
}

  #btn_nav {
    width: 10rem;
    height: 2.5rem;
    background-color: #0e879f;
    border: none;
    border-radius: 25px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: -8rem;
    margin-bottom: 1rem;
    font-family: 'Athena';
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }

  #btn_nav a {
    color: #f1f1f1;
    text-decoration: none;
    font-family: 'Athena';
    font-size: 1.5rem;
  }

  #btn_nav:hover {
    scale: 1.05;
  }


  #btn_nav1, #btn_nav2 {
    width: 10rem;
    height: 2.5rem;
    background-color: #0e879f;
    border: none;
    border-radius: 25px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    display: none;
    font-family: 'Athena';
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }

  #btn_nav1 a, #btn_nav2 a {
    color: #f1f1f1;
    text-decoration: none;
    font-family: 'Athena';
    font-size: 3rem;
  }

  #btn_nav1:hover {
    scale: 1.05;
  }

  #btn_nav2:hover {
    scale: 1.05;
  }

/* Hidden Hamburger menu*/
#menuToggle {
  visibility: hidden;
}


/* All sections settings */

#projects{
  width: 100%;
  margin-top: 0;
  display: none;
}

#about, #contact {
  width: 100%;
  height: 100vh;
  display: none;
}

/* Project Section */

#section_title {
  width: 80%;
  margin-left: 12rem;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: #0e879f;
  font-family: 'Athena';
  font-size: 2rem;
}

/* Overview Section */

.project_overview {
  width: 92%;
  margin-top: -10rem;
  margin-left: 8rem;
}

#overview_pic {
  width: 100%;
}

.arrow_down_1 {
  width: 100%;
  margin-top: -8rem;
}


/* Card Section */

.card-container1 {
  width: 100%;
  margin-left: 3.5rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 2rem;
}

.card-container2, .card-container3 {
  width: 100%;
  margin-left: 3.5rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 2rem;
}

.card {
  position: relative; 
  width: 24rem;
  height: auto;
  display: flex;
  overflow: hidden; 
  border-radius: 20px;
}

.description {
  /* position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  padding: 15px;
  color: #5b6670;
  font-family: 'Athena'; */
  display: none;
}

#more {
  width: 10rem;
  height: 2.5rem;
  border: none;
  border-radius: 25px;
  background-color: #0e879f;
  color: #f1f1f1;
  cursor: pointer;
  font-family: 'Athena';
  font-size: 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#more:hover {
  scale: 1.1;
}

.card img {
  /* width: 100%; */
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card :hover img {
  opacity: 0.05;
}

.hover-text {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  color:#5b6670;
  line-height: 3rem;
}

.hover-text p {
  font-size: 1.5rem;
}

.card :hover .hover-text {
  opacity: 1; 
}

.card img {
  width: 100%;
}


/* About Section */

#about {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
}

.about_me {
  width: 100%;
  display: flex;
  margin-top: 2rem;
  margin-bottom: .5rem;
  justify-content: center;
  /* border: #0e879f solid 1px; */
}

.about_left {
  width: 60%;
  margin-top: -0.8rem;
  /* border: red solid 1px; */
}

#my_pic {
  width: 60%;
  margin-left: 2rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.about_right {
  width: 50%;
  margin-top: -2rem;
  margin-left: -6rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #5b6670;
  font-family: 'Athena';
  /* border: blue solid 1px; */
}

.about_right h1 {
  width: 90%;
  font-size: 2.5rem;
  text-align: left;
  line-height: 2rem;
  color: #0e879f;
}

.about_right p {
  width: 90%;
  font-size: 1.7rem;
  text-align: left;
  line-height: 2.8rem;
}

#resume {
  width: 10rem;
  height: 2.5rem;
  background-color: #0e879f;
  border: none;
  border-radius: 25px;
  color: #f1f1f1;
  margin-top: 3rem;
  margin-left: 18rem;
  font-family: 'Athena';
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#resume a {
  color: #f1f1f1;
  text-decoration: none;
}

#resume:hover {
  scale: 1.05;
  cursor: pointer;
}

.arrow_down {
  width: 100%;
}

#arrow_down {
  width: 3%;
  margin-top: 3rem;
  margin-left: 48rem;
}

.arrow_down_2 {
  width: 100%;
}

#arrow_down_2 {
  width: 3%;
  margin-left: 43rem;
  margin-top: -2rem;
}


/* Contect Section */

#contact {
  width: 100%;
  height: auto;
  margin-top: 5rem;
}

.contact-container {
  width: 100%;
  margin-top: 2rem;
  margin-left: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border: #0e879f solid 1px; */
}

.contact-left{
  width: 50%;
  margin-top: -4.5rem;
  display: inline-block;

}

.contact-left img {
  width: 70%;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.contact-right {
  width: 50%;
  margin-bottom: 2rem;
  display: flex;
  justify-content: left;
  align-items: center;
}

label {
  color: #5b6670;
  font-size: 2rem;
  font-family: 'Athena';
  display: block; /* Set labels as block-level elements */
  text-align: left; /* Align text to the left */
}

#name {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#email {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#subject {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#message {
  width: 30.0rem;
  height: 10rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 0.5rem;
  font-family: 'Athena';
}

::placeholder {
  font-size: 1.1rem;
}

#submit {
  width: 10rem;
  height: 2.5rem;
  background-color: #0e879f;
  border: none;
  border-radius: 20px;
  color: #f1f1f1;
  font-family: 'Athena';
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#submit:hover {
  scale: 105%;
}

.social_media {
  width: 50%;
  margin-top: 10rem;
  margin-left: 26.5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

#icon {
  width: 80%;
  cursor: pointer;
  /* border: #0e879f solid 1px; */
}

#icon:hover {
  scale: 110%;
}

.footer {
  width: 50%;
  margin-top: 2rem;
  margin-left: 41rem;
  margin-bottom: 5rem;
  color: #5b6670;
  font-size: 1.5rem;
  font-family: 'Athena';
}


/* Media queries */


/* Wide Screen - 1920 x 1080*/

@media screen and (min-width: 1800px) and (max-width: 2000px){

.cover {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(./images/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  transition: 0.5s;
}

.cover-content {
  display: block;
  justify-content: center;
  width: 100%;
  text-align: center;
  line-height: 100px;
  gap: 5rem;
}

#cover_logo {
  width: 90%;
  margin-top: -5rem;
}

#cover_logo_small {
  width: 100%;
  margin-top: 1rem;
  display: none;
}

.links{
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 2rem;
  gap: 2rem;
  font-family: 'Athena';
}

  #btn_nav {
    width: 10rem;
    height: 2.5rem;
    background-color: #0e879f;
    border: none;
    border-radius: 25px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: -8rem;
    margin-bottom: 1rem;
    margin-left: 0.2rem;
    font-family: 'Athena';
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }

  #btn_nav a {
    color: #f1f1f1;
    text-decoration: none;
    font-family: 'Athena';
    font-size: 1.5rem;
  }

  #btn_nav:hover {
    scale: 1.05;
  }


  #btn_nav1, #btn_nav2 {
    width: 10rem;
    height: 2.5rem;
    background-color: #0e879f;
    border: none;
    border-radius: 25px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    display: none;
    font-family: 'Athena';
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }

  #btn_nav1 a, #btn_nav2 a {
    color: #f1f1f1;
    text-decoration: none;
    font-family: 'Athena';
    font-size: 3rem;
  }

  #btn_nav1:hover {
    scale: 1.05;
  }

  #btn_nav2:hover {
    scale: 1.05;
  }

  /* Hidden Hamburger menu*/
#menuToggle {
  visibility: hidden;
}


/* All sections settings */

#projects{
  width: 100%;
  height: auto;
  margin-top: -2rem;
  display: none;
}

#about, #contact {
  width: 100%;
  height: auto;
  display: none;
}

/* Project Section */

#section_title {
  width: 80%;
  margin-left: 15rem;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: #0e879f;
  font-family: 'Athena';
  font-size: 2rem;
}

/* Overview Section */

.project_overview {
  width: 95%;
  margin-top: -15rem;
  margin-left: 8rem;
}

#overview_pic {
  width: 100%;
}


/* Card Section */

.card-container1 {
  width: 100%;
  margin-top: 2rem;
  margin-left: 3.5rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 1.5rem;
}

.card-container2, .card-container3 {
  width: 100%;
  margin-left: 3.5rem;
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 1.5rem;
}

.card {
  position: relative; 
  width: 32rem;
  height: auto;
  display: flex;
  overflow: hidden; 
  border-radius: 20px;
}

.description {
  /* position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  padding: 15px;
  color: #5b6670;
  font-family: 'Athena'; */
  display: none;
}

#more {
  width: 10rem;
  height: 2.5rem;
  border: none;
  border-radius: 25px;
  background-color: #0e879f;
  color: #f1f1f1;
  cursor: pointer;
  font-family: 'Athena';
  font-size: 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#more:hover {
  scale: 1.1;
}

.card img {
  /* width: 100%; */
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card :hover img {
  opacity: 0.05;
}

.hover-text {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  color:#5b6670;
  line-height: 3rem;
}

.hover-text p {
  font-size: 1.8rem;
}

.card :hover .hover-text {
  opacity: 1; 
}

.card img {
  width: 100%;
}

/* About Section */

#about {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
}

.about_me {
  width: 100%;
  display: flex;
  margin-top: 2rem;
  margin-bottom: .5rem;
  justify-content: center;
  /* border: #0e879f solid 1px; */
}

.about_left {
  width: 60%;
  margin-top: -0.8rem;
  /* border: red solid 1px; */
}

#my_pic {
  width: 60%;
  margin-left: 2rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.about_right {
  width: 50%;
  margin-top: -2rem;
  margin-left: -6rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #5b6670;
  font-family: 'Athena';
  /* border: blue solid 1px; */
}

.about_right h1 {
  width: 90%;
  font-size: 2.5rem;
  text-align: left;
  line-height: 2rem;
  color: #0e879f;
}

.about_right p {
  width: 90%;
  font-size: 1.7rem;
  text-align: left;
  line-height: 2.8rem;
}

#resume {
  width: 10rem;
  height: 2.5rem;
  background-color: #0e879f;
  border: none;
  border-radius: 25px;
  color: #f1f1f1;
  margin-top: 3rem;
  margin-left: 18rem;
  font-family: 'Athena';
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#resume a {
  color: #f1f1f1;
  text-decoration: none;
}

#resume:hover {
  scale: 1.05;
  cursor: pointer;
}

.arrow_down_1{
  width: 100%;
  margin-top: -8rem;
  z-index: 20000;
}

#arrow_down {
  width: 3%;
  margin-top: 2rem;
  margin-left: 60rem;
}

.arrow_down_2 {
  width: 100%;
}

#arrow_down_2 {
  width: 3%;
  margin-left: 40rem;
  margin-top: -3rem;
}


/* Contect Section */

#contact {
  width: 100%;
  height: auto;
  margin-top: 5rem;
}

.contact-container {
  width: 100%;
  margin-top: 2rem;
  margin-left: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border: #0e879f solid 1px; */
}

.contact-left{
  width: 50%;
  margin-top: -4.5rem;
  display: inline-block;

}

.contact-left img {
  width: 70%;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.contact-right {
  width: 50%;
  margin-bottom: 2rem;
  display: flex;
  justify-content: left;
  align-items: center;
}

label {
  color: #5b6670;
  font-size: 2rem;
  font-family: 'Athena';
  display: block; /* Set labels as block-level elements */
  text-align: left; /* Align text to the left */
}

#name {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#email {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#subject {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#message {
  width: 30.0rem;
  height: 10rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 0.5rem;
  font-family: 'Athena';
}

::placeholder {
  font-size: 1.1rem;
}

#submit {
  width: 10rem;
  height: 2.5rem;
  background-color: #0e879f;
  border: none;
  border-radius: 20px;
  color: #f1f1f1;
  font-family: 'Athena';
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#submit:hover {
  scale: 105%;
}

.social_media {
  width: 50%;
  margin-left: 30rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

#icon {
  width: 90%;
  cursor: pointer;
  /* border: #0e879f solid 1px; */
}

#icon:hover {
  scale: 110%;
}

.footer {
  width: 50%;
  margin-top: 3rem;
  margin-left: 50rem;
  margin-bottom: 5rem;
  color: #5b6670;
  font-size: 1.5rem;
  font-family: 'Athena';
}
}


/* Tablet view - Large */

@media screen and (min-width: 1024px) and (max-width: 1400px){

  /* Cover Page */

  .cover {
    width: 100%;
  }

  .cover_title {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .cover-content {
    margin: auto;
  }

  .cover_logo {
    width: 100%;
  }

  #cover_logo {
    margin-top: 10rem;
    width: 100%;
    height: auto;
  }

  #cover_logo_small {
    width: 100%;
    margin-top: 2rem;
  }

  .links{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
    font-family: 'Athena';
  }
  
    #btn_nav {
      width: 10rem;
      height: 2.5rem;
      background-color: #0e879f;
      border: none;
      border-radius: 25px;
      display: flex;
      text-align: center;
      justify-content: center;
      align-items: center;
      margin-top: -8rem;
      margin-bottom: 1rem;
      font-family: 'Athena';
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    }
  
    #btn_nav a {
      color: #f1f1f1;
      text-decoration: none;
      font-family: 'Athena';
      font-size: 1.5rem;
    }
  
    #btn_nav:hover {
      scale: 1.05;
    }
  
  
    #btn_nav1, #btn_nav2 {
      width: 10rem;
      height: 2.5rem;
      background-color: #0e879f;
      border: none;
      border-radius: 25px;
      display: flex;
      text-align: center;
      justify-content: center;
      align-items: center;
      margin-bottom: 1rem;
      display: none;
      font-family: 'Athena';
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    }
  
    #btn_nav1 a, #btn_nav2 a {
      color: #f1f1f1;
      text-decoration: none;
      font-family: 'Athena';
      font-size: 3rem;
    }
  
    #btn_nav1:hover {
      scale: 1.05;
    }
  
    #btn_nav2:hover {
      scale: 1.05;
    }
  
  /* Hidden Hamburger menu*/
  #menuToggle {
    visibility: hidden;
  }
  

/* All sections settings */

#projects{
  width: 100%;
  margin-top: 0;
  display: none;
}

#about, #contact {
  width: 100%;
  height: 100vh;
  display: none;
}


/* Project Section */

#section_title {
  width: 80%;
  margin-left: 8rem;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  color: #0e879f;
  font-family: 'Athena';
  font-size: 1.8rem;
}

/* Overview Section */

.project_overview {
  width: 90%;
  margin-top: -5rem;
  margin-left: 8.1rem;
}

#overview_pic {
  width: 100%;
}

.arrow_down_1 {
 display: none;
}


/* Card Section */

.card-container1 {
  width: 90%;
  margin-left: 7rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 2rem;
}

.card-container2, .card-container3 {
  width: 90%;
  margin-left: 7rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 2rem;
}

.card {
  position: relative; 
  width: 15rem;
  height: auto;
  display: flex;
  overflow: hidden; 
  border-radius: 20px;
}

.description {
  display: none;
}

#more {
  width: 10rem;
  height: 2.5rem;
  border: none;
  border-radius: 25px;
  background-color: #0e879f;
  color: #f1f1f1;
  cursor: pointer;
  font-family: 'Athena';
  font-size: 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#more:hover {
  scale: 1.1;
}

.card img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card :hover img {
  opacity: 0.05;
}

.hover-text {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  color:#5b6670;
  line-height: 3rem;
}

.hover-text p {
  font-size: 1.5rem;
}

.card :hover .hover-text {
  opacity: 1; 
}

.card img {
  width: 100%;
}


/* About Section */

#about {
  width: 85%;
  margin-top: 5rem;
  height: auto;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about_me {
  width: 100%;
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
  /* border: #0e879f solid 1px; */
}

.about_left {
  width: 100%;
  display: block;
  justify-content: center;
  margin-left: 5rem;
  /* border: red solid 1px; */
}

#my_pic {
  width: 40%;
  margin-left: -1rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.about_right {
  width: 90%;
  margin-top: 3rem;
  margin-left: 15rem;
  display: block;
  text-align: left;
  color: #5b6670;
  font-family: 'Athena';
  /* border: blue solid 1px; */
}

.about_right h1 {
  width: 80%;
  font-size: 2.5rem;
  text-align: center;
  line-height: .5rem;
  color: #0e879f;
}

.about_right p {
  width: 80%;
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.5rem;
  margin-top: -1.5rem;
}

#resume {
  width: 10rem;
  height: 2rem;
  background-color: #0e879f;
  border: none;
  border-radius: 25px;
  color: #f1f1f1;
  margin-top: 2rem;
  margin-left: 13rem;
  font-family: 'Athena';
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#resume a {
  color: #f1f1f1;
  text-decoration: none;
}

#resume:hover {
  scale: 1.05;
  cursor: pointer;
}

.arrow_down {
  display: none;
}


.arrow_down_2 {
  display: none;
}

/* Contect Section */

#contact {
  width: 100%;
  height: auto;
  margin-top: 5rem;
}

.contact-container {
  width: 85%;
  margin-top: 2rem;
  margin-left: 10rem;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border: #0e879f solid 1px; */
}

.contact-left{
  width: 100%;
  margin-top: -1rem;
  margin-left: -5rem;
  display: inline-block;

}

.contact-left img {
  width: 70%;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.contact-right {
  width: 100%;
  margin-top: 1rem;
  margin-left: -3rem;
  margin-bottom: 2rem;
  display: block;
  justify-content: center;
  align-items: center;
}

label {
  color: #5b6670;
  font-size: 2rem;
  font-family: 'Athena';
  display: block; /* Set labels as block-level elements */
  text-align: left; /* Align text to the left */
}

#name {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#email {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#subject {
  width: 30.0rem;
  height: 2.5rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#message {
  width: 30.0rem;
  height: 10rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 0.5rem;
  font-family: 'Athena';
}

::placeholder {
  font-size: 1.1rem;
}

#submit {
  width: 10rem;
  height: 2rem;
  background-color: #0e879f;
  border: none;
  border-radius: 20px;
  color: #f1f1f1;
  font-family: 'Athena';
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#submit:hover {
  scale: 105%;
}

.social_media {
  width: 100%;
  margin-top: 5rem;
  margin-left: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#icon {
  width: 50%;
  cursor: pointer;
  /* border: #0e879f solid 1px; */
}

#icon:hover {
  scale: 110%;
}

.footer {
  width: 80%;
  margin-top: 2rem;
  margin-left: 27rem;
  margin-bottom: 5rem;
  color: #5b6670;
  font-size: 1rem;
  font-family: 'Athena';
}

}

@media screen and (min-width: 768px) and (max-width: 1023px){

  /* Cover Page */

  .cover {
    width: 100%;
  }

  .cover_title {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .cover-content {
    margin: auto;
  }

  .cover_logo {
    width: 100%;
  }

  #cover_logo {
    margin-top: 10rem;
    width: 100%;
    height: auto;
  }

  #cover_logo_small {
    width: 100%;
    margin-top: 2rem;
  }

  .links{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
    font-family: 'Athena';
  }
  
    #btn_nav {
      width: 10rem;
      height: 2.5rem;
      background-color: #0e879f;
      border: none;
      border-radius: 25px;
      display: flex;
      text-align: center;
      justify-content: center;
      align-items: center;
      margin-top: -8rem;
      margin-bottom: 1rem;
      font-family: 'Athena';
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    }
  
    #btn_nav a {
      color: #f1f1f1;
      text-decoration: none;
      font-family: 'Athena';
      font-size: 1.5rem;
    }
  
    #btn_nav:hover {
      scale: 1.05;
    }
  
  
    #btn_nav1, #btn_nav2 {
      width: 10rem;
      height: 2.5rem;
      background-color: #0e879f;
      border: none;
      border-radius: 25px;
      display: flex;
      text-align: center;
      justify-content: center;
      align-items: center;
      margin-bottom: 1rem;
      display: none;
      font-family: 'Athena';
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    }
  
    #btn_nav1 a, #btn_nav2 a {
      color: #f1f1f1;
      text-decoration: none;
      font-family: 'Athena';
      font-size: 3rem;
    }
  
    #btn_nav1:hover {
      scale: 1.05;
    }
  
    #btn_nav2:hover {
      scale: 1.05;
    }
  
  /* Hidden Hamburger menu*/
  #menuToggle {
    visibility: hidden;
  }
  

/* All sections settings */

#projects{
  width: 100%;
  margin-top: 0;
  display: none;
}

#about, #contact {
  width: 100%;
  height: 100vh;
  display: none;
}


/* Project Section */

#section_title {
  width: 80%;
  margin-left: 8rem;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  color: #0e879f;
  font-family: 'Athena';
  font-size: 1rem;
}

/* Overview Section */

.project_overview {
  width: 85%;
  margin-top: -5rem;
  margin-left: 8.1rem;
}

#overview_pic {
  width: 100%;
}

.arrow_down_1 {
 display: none;
}


/* Card Section */

.card-container1 {
  width: 80%;
  margin-left: 9rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 2rem;
}

.card-container2, .card-container3 {
  width: 80%;
  margin-left: 9rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: center;
  gap: 2rem;
}

.card {
  position: relative; 
  width: 12rem;
  height: auto;
  display: flex;
  overflow: hidden; 
  border-radius: 20px;
}

.description {
  display: none;
}

#more {
  width: 10rem;
  height: 2.5rem;
  border: none;
  border-radius: 25px;
  background-color: #0e879f;
  color: #f1f1f1;
  cursor: pointer;
  font-family: 'Athena';
  font-size: 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#more:hover {
  scale: 1.1;
}

.card img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card :hover img {
  opacity: 0.05;
}

.hover-text {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  color:#5b6670;
  line-height: 3rem;
}

.hover-text p {
  font-size: 1.5rem;
}

.card :hover .hover-text {
  opacity: 1; 
}

.card img {
  width: 100%;
}


/* About Section */

#about {
  width: 85%;
  margin-top: 5rem;
  height: auto;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about_me {
  width: 100%;
  display: block;
  margin-top: 2rem;
  margin-bottom: 1rem;
  justify-content: center;
  /* border: #0e879f solid 1px; */
}

.about_left {
  width: 100%;
  display: block;
  justify-content: center;
  margin-left: 5rem;
  /* border: red solid 1px; */
}

#my_pic {
  width: 40%;
  margin-left: -0.5rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.about_right {
  width: 90%;
  margin-top: 2rem;
  margin-left: 13rem;
  display: block;
  text-align: left;
  color: #5b6670;
  font-family: 'Athena';
  /* border: blue solid 1px; */
}

.about_right h1 {
  width: 80%;
  font-size: 1.5rem;
  text-align: center;
  color: #0e879f;
}

.about_right p {
  width: 80%;
  font-size: 1rem;
  text-align: left;
  line-height: 1.5rem;
  margin-top: -1rem;
}

#resume {
  width: 10rem;
  height: 2rem;
  background-color: #0e879f;
  border: none;
  border-radius: 25px;
  color: #f1f1f1;
  margin-top: 2rem;
  margin-left: 8.5rem;
  font-family: 'Athena';
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#resume a {
  color: #f1f1f1;
  text-decoration: none;
}

#resume:hover {
  scale: 1.05;
  cursor: pointer;
}

.arrow_down {
  display: none;
}


.arrow_down_2 {
  display: none;
}

/* Contect Section */

#contact {
  width: 100%;
  height: auto;
  margin-top: 5rem;
}

.contact-container {
  width: 85%;
  margin-top: 2rem;
  margin-left: 10rem;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border: #0e879f solid 1px; */
}

.contact-left{
  width: 100%;
  margin-top: -1rem;
  margin-left: -5rem;
  display: inline-block;

}

.contact-left img {
  width: 70%;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.contact-right {
  width: 100%;
  margin-top: 1rem;
  margin-left: -3rem;
  margin-bottom: 2rem;
  display: block;
  justify-content: center;
  align-items: center;
}

label {
  color: #5b6670;
  font-size: 2rem;
  font-family: 'Athena';
  display: block; /* Set labels as block-level elements */
  text-align: left; /* Align text to the left */
}

#name {
  width: 25.0rem;
  height: 2rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#email {
  width: 25.0rem;
  height: 2rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#subject {
  width: 25.0rem;
  height: 2rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 1.0rem;
  font-family: 'Athena';
}

#message {
  width: 25.0rem;
  height: 10rem;
  border-radius: 10px;
  border: #5b6670 solid 0.08rem;
  margin-bottom: 0.5rem;
  font-family: 'Athena';
}

::placeholder {
  font-size: 1.1rem;
}

#submit {
  width: 7rem;
  height: 2rem;
  background-color: #0e879f;
  border: none;
  border-radius: 20px;
  color: #f1f1f1;
  font-family: 'Athena';
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#submit:hover {
  scale: 105%;
}

.social_media {
  width: 100%;
  margin-top: 5rem;
  margin-left: 4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#icon {
  width: 50%;
  cursor: pointer;
  /* border: #0e879f solid 1px; */
}

#icon:hover {
  scale: 110%;
}

.footer {
  width: 100%;
  margin-top: 3rem;
  margin-left: 20rem;
  margin-bottom: 5rem;
  color: #5b6670;
  font-size: 1rem;
  font-family: 'Athena';
}

}


/* Mobile view */

@media screen and (min-width: 375px) and (max-width: 430px){

  /* Cover Page */

  #myNav {
    z-index: 0;
  } 

  .cover {
    width: 100%;
  }

  .cover_title {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .cover-content {
    margin: auto;
  }

  .icon {
    width: 100%;
  }

  #cover_logo {
    width: 100%;
    height: auto;
    margin-top: 10rem;
  }

  #cover_logo_small {
    width: 100%;
    margin-top: 2rem;
  }

  .links {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    gap: .2rem;
  }

  #btn_nav {
    width: 10rem;
    height: 2.5rem;
    background-color: #0e879f;
    border: none;
    border-radius: 20px;
    display: flex;
    text-align: center;
    font-size: 0.8rem;
  }

  #btn_nav a {
    color: #f1f1f1;
    text-decoration: none;
  }

  #btn_nav1 {
    width: 90px;
    height: 30px;
    background-color: #0e879f;
    border: none;
    border-radius: 20px;
    display: flex;
    text-align: center;
    font-size: 0.8rem;
    display: none;
  }

  #btn_nav1 a {
    color: #f1f1f1;
    text-decoration: none;
  }

  #btn_nav2 {
    width: 90px;
    height: 30px;
    background-color: #0e879f;
    border: none;
    border-radius: 20px;
    display: flex;
    text-align: center;
    font-size: 0.8rem;
    display: none;
  }

  #btn_nav2 a {
    color: #f1f1f1;
    text-decoration: none;
  }

    /* Hamburger Menu */

    #menuToggle {
      visibility: visible;
      display: block;
      position: relative;
      top: 20px;
      left: 10px;
      -webkit-user-select: none;
      user-select: none;
    }
    
    #menuToggle a {
      text-decoration: none;
      color: #0e879f;
      transition: color 0.3s ease;
    }
    
    #menuToggle a:hover{
      color: #5b6670;
    }
    
    #menuToggle input{
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -7px;
      left: -5px;
      cursor: pointer;
      opacity: 0; /* hide this */
      z-index: 2; /* and place it over the hamburger */
      -webkit-touch-callout: none;
    }
    
    #menuToggle span{
      display: block;
      width: 33px;
      height: 4px;
      margin-bottom: 5px;
      position: relative;
      background: #0e879f;
      border-radius: 3px;
      z-index: 1;
      transform-origin: 4px 0px;
    }
    
    #menuToggle span:first-child{
      transform-origin: 0% 0%;
    }
    
    #menuToggle span:nth-last-child(2){
      transform-origin: 0% 100%;
    }
    
    /* Hamburger to a cross when clicked*/
    #menuToggle input:checked ~ span{
      opacity: 1;
      transform: rotate(45deg) translate(-2px, -1px);
      background: #0e879f;
    }
    
    
    #menuToggle input:checked ~ span:nth-last-child(3){
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    
    #menuToggle input:checked ~ span:nth-last-child(2){
      transform: rotate(-45deg) translate(0, -1px);
    }
    
    #menu {
      position: absolute;
      width: 135px;
      height: 250px;
      margin: -100px 0 0 -5px;
      padding-top: 68px;
      list-style-type: none;
      transform-origin: 0% 0%;
      transform: translate(-300%, 0);
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
      display: flex; /*make the menu display flex */
      gap: 10px;
    }
    
    #menu li{
      padding: 10px 0;
      font-size: 0.8rem;
    }
    
    #menu button {
      width: 6rem;
      height: 1.5rem;
      background-color: #0e879f;
      color: #f9fcff;
      border: none;
      border-radius: 25px;
      display: flex;
      text-align: center;
      justify-content: center;
      align-items: center;
      font-family: 'Athena';
      /* cursor: pointer; */
    }
    
    #menuToggle input:checked ~ ul {
      transform: none;
    }


  /* All sections settings */

#projects{
  width: 100%;
  margin-top: 0;
  display: none;
}

#about, #contact {
  width: 100%;
  height: auto;
  display: none;
}

/* Overview Section */

.project_overview {
  width: 100%;
  margin-top: 2rem;
  margin-left: 0;
  display: flex;
  /* border: #5b6670 solid 1px ; */
}

#overview_pic {
  width: 100%;
  margin-top: 0rem;
  z-index: 20000;
}

/* Project Section */

#section_title {
  width: 100%;
  display: block;
  margin-top: 10rem;
  margin-left: 8rem;
  color: #0e879f;
  font-size: 0.8rem;
  font-family: 'Athena';
}


/* Card Section */

.card-container1 {
  width: 100%;
  margin: -0.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-container2, .card-container3 {
  width: 100%;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card {
  width: 80%;
  height: auto;
  margin: auto;
  display: block;
  overflow: hidden; 
  border-radius: 5px;
}

.card img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card img {
  width: 100%;
}

/* About Section */

#about {
  width: 100%;
  display: block;
  justify-content: center;
  margin-top: -5rem;
}

#about h1 {
  margin-left: -15rem;
}

.about_me {
  width: 100%;
  display: block;
  justify-content: center;
}

.about_left {
  width: 100%;
  margin-top: -1rem;
}

#my_pic {
  width: 60%;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.about_right {
  width: 100%;
  display: block;
  justify-content: center;
  margin-top: 1rem;
  margin-left: 2.5rem;

}

.about_right h2 {
  width: 100%;
  margin-left: 1.2rem;
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #5b6670;
}

.about_right p {
  width: 80%;
  margin-top: -1.5rem;
  font-size: 0.8rem;
  text-align: left;
  line-height: 1rem;
  margin-left: 1em;
  color: #5b6670;
}

#resume {
  width: 110px;
  height: 25px;
  background-color: #0e879f;
  border: none;
  border-radius: 12px;
  color: #f1f1f1;
  margin-top: 0.5rem;
  margin-left: 6rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: 'Athena';
}

#resume a {
  color: #f1f1f1;
  text-decoration: none;
}

/* Contect Section */

#contact {
  margin-top: -5rem;
  display: block;
  justify-content: center;
}

.contact-container {
  width: 100%;
  margin: auto;
  display: block;
  /* border: #0e879f solid 1px; */
}

.contact-left{
  width: 100%;
  display: block;
  margin-top: 1rem;
  /* border: #0e879f solid 1px; */
}

.contact-left img {
  width: 70%;
  border-radius: 12px;
}

.contact-right {
  width: 100%;
  margin: 1rem auto;
  display: block;
  font-size: 0.8rem;
  font-family: 'Athena';
  /* border: #0e879f solid 1px; */
}

label {
  color: #5b6670;
  font-family: 'Athena';
  display: block; 
  text-align: left;
}

::placeholder {
  font-size: 0.8rem;
}

#name {
  width: 16.0rem;
  height: 1rem;
  border-radius: 3px;
  border: #5b6670 solid 0.01rem;
}

#email {
  width: 16.0rem;
  height: 1rem;
  border-radius: 3px;
  border: #5b6670 solid 0.01rem;
}

#subject {
  width: 16.0rem;
  height: 1rem;
  border-radius: 3px;
  border: #5b6670 solid 0.01rem;
}

#message {
  width: 16.0rem;
  height: 5rem;
  border-radius: 3px;
  border: #5b6670 solid 0.01rem;
}

#submit {
  background-color: #0e879f;
  border: none;
  border-radius: 12px;
  width: 5rem;
  height: 1.5rem;
  color: #f1f1f1;
  font-family: 'Athena';
  cursor: pointer;
  font-size: 0.8rem;
}

.social_media {
  width: 80%;
  margin-top: 2rem;
  margin-left: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.2rem
}

#icon {
  width: 40%;
  cursor: pointer;
}

.footer {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  color: #5b6670;
  font-size: 0.8rem;
  font-family: 'Athena';
}

.arrow_down {
  display: none;
}

#arrow_down {
  display: none;
}

.arrow_down_2 {
  display: none;
}

#arrow_down_2 {
display: none;
}
}



