/* vietnamese */
@font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/anton/v23/1Ptgg87LROyAm3K8-C8QSw.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/anton/v23/1Ptgg87LROyAm3K9-C8QSw.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/anton/v23/1Ptgg87LROyAm3Kz-C8.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Baskervville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/baskervville/v14/YA9Ur0yU4l_XOrogbkun3kQQvpmptvY.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Baskervville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/baskervville/v14/YA9Ur0yU4l_XOrogbkun3kQQsJmp.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* cyrillic-ext */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

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

html {
    font-size: 16px;
    font-family: 'Baskervville';
    line-height: 1.4;
}

body {
    width: 100%;
    height: 100%;
    background-color: lightgray;
    display: flex;
    flex-direction: column;
}

#header {
    width: 100%;
    height: 5.3125rem;
    position: fixed;
    background-color: #FA9F25;
    z-index: 10;
    
    
}



.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style-type: none;
    font-family: 'Anton';
    font-size: 1.2rem;
}
.logo {
    width: 5%;
    height: auto;
    margin-left: 0.625rem;
    overflow: hidden;
    border-radius: 40%;
}


.navbar li a {
    color: black;
    text-decoration: none;
    font-weight: normal;
    }

.navbar li a:hover {
cursor: pointer;
}

#sidebar {
    width: 40%;
    height: auto;
    background-color: black;
    font-family: 'Eczar';
    position: fixed;
    display: none;
    flex-direction: column;
    top: 5.3125rem;
    right: 0px;
    z-index: 10;
    color: gold;
    text-align: center;
    

}
#sidebar hr {
    margin-top: 10px;
    margin-bottom: 10px;
}
#main {
    position: relative;
    width: 100%;
    height: 84.375rem;
    top: 5.3125rem;
    display: block;
}


  

#about {
    width: 100%;
    height: 42.1875rem;
    position: relative;
    
}

.hero {
    width: 100%;
    height: 100%;
    background-image: url("../Images/20220602_083540.jpg");
    z-index: 2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  }

.profile-photo {
    position: relative;
    border-radius: 20%;
    
}

.hero h1 {
    position: relative;
    max-width: 80%;
    font-family: 'Anton';
    color: gold;
    font-size: 3.125rem;
    font-weight: bold;

}

.hero p {
    position: relative;
    max-width: 80%;
    font-family: 'Raleway';
    color: aliceblue;
    font-weight: bolder;
    line-height: 1.5;
    font-size: 1.2rem;
    font-style: italic;
    
}

@keyframes animateLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes animateRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .animate-left {
    animation: animateLeft 3s ease-in-out;
  }
  
  .animate-right {
    animation: animateRight 3s ease-in-out;
  }

#projects {
    background-color: black;
    width: 100%;
    height: 42.1875rem;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-between;
}

.tile {
    position: relative;
    width: 95%;
    height: 33.75rem;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: space-around;
    overflow-x: auto;
    white-space: nowrap;
    
    
    
}
 .btn {
    font-family: 'Roboto';
    background-color: gold;
    width: 6.25rem;
    margin: 0px auto;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-radius: 0.625rem;
    line-height: 1.4;
    font-weight: bold;

    
 }
 .btn:hover {
    cursor: pointer;
 }
.tile .project {
    position: relative;
    width: 30%;
    height: 85%;
    display: flex;
    flex-direction: column;
    margin: 1.25rem;
    margin-top: 3.125rem;
    margin-bottom: 3.125rem;
    background-color: aliceblue;
    align-items: center;
    flex: 0 0 auto;
    overflow-x: auto;
}

.project ul {
    margin-top: 1.5rem;
    color: black;
    font-family: 'Roboto';
    font-weight: bold;
    list-style: none;
}

figcaption {
    font-weight: bolder;
    
}

#projects h2 {
    color: gold;
    font-family: 'Eczar';
    padding-top: 1.5rem;
}

.project h3 {
    font-family: 'Eczar';
    margin-bottom: 2.5rem;
    padding: 1.25rem 0px;
}

.tile img {
    width: 100%;
    height: auto;
    overflow: hidden;
    
}

#quote-section {
    position: relative;
    width: 100%;
    height: 20rem;
    background-color: #f1f1f1;
    top: 5.3125rem;
    border-radius: 0.3125rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#quote-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  
}

#quote {
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: gold;
    
}

#author {
    position: relative;
    color: #FA9F25;
    font-size: 1.125rem;
    font-style: italic;
}

#contacts {
    background-color: black;
    position: relative;
    width: 100%;
    height: 50rem;
    top: 5.3125rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    line-height: 1.5;
    
}

#contacts::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  
}
footer h2 {
    position: relative;
    font-family: 'Eczar';
    margin-top: 2.5rem;
    color: gold;
   
}
hr {
    position: relative;
    width: 90%;
    margin: 0px auto;
    border: 2px solid gold;

}
.socials {
    position: relative;
    width: 90%;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 1.5rem;
}

.socials a {
    text-decoration: none;
    font-family: 'Raleway';
    color: gold;
}

.socials a:hover {
    cursor: pointer;
}

.footnote-bar {
    position: relative;
    width: 100%;
    height: 5.3125rem;
    bottom: 0px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    background-color: #F77F00;
    font-weight: bold;
    line-height: 1.5;
    font-size: 1.25rem;
}

.copyright {
    padding-left: 1.25rem;
}

footer p {
    position: relative;
    color: white;
    font-family: 'Roboto';
    font-weight: bold;
    font-size: large;
}

.socials i {
    position: relative;
    color: #F77F00;
    
}
.welcome {
    position: relative;
    color: #FA9F25;
}
.visitors {
position: relative;
color: white;
}
footer address {
    margin-right: 1.25rem;
}

.my-logo {
    border-radius: 50%;
    position: relative;
    width: 20%;
    height: auto;
    margin: 0px auto;
}

#tech {
    position: relative;
    width: 100%;
    height: 25rem;
    background-color: #f1f1f1;
    top: 5.3125rem;
    border-radius: 0.3125rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: "Roboto";
}

.stacks {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    overflow: scroll;
    
}

.stack {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bolder;
    gap: 1rem;

}
.icon {
    width: 6rem;
    height: 6rem;
}

@media only screen and (max-width: 768px) {
 .logo {
        display: none;
    }
    
   .navbar ul {
    width: 100%;
    
   }
   
   .tile {
    flex-direction: column;
    overflow-y: auto;
    gap: 1.25rem;
   }

   .tile .project {
    width: 80%;
    height: auto;
    margin: 0px auto;
    flex: 0 0 auto;
   }
   .socials {
    flex-wrap: wrap;
   }

   footer address{
    display: none;
   }
   .copyright {
    display: none;
    position: relative;
    margin: 0px auto;
   }

   .footnote-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
   }
}
