/* Global styles */
*{
   box-sizing: border-box;
}

html{
   scroll-behavior: smooth;
}

body{
   background: white;
   font-family: "Onest", sans-serif;
   font-weight: 400;
   font-style: normal;
   margin: 0;
}

main{
   margin: 0 6%;
}

a{
   text-decoration: none;
}

h1{
   text-align: center;
   color: #F9A2B0;
}

h2{
   font-weight: 500;
   color: #F9A2B0;
}

p{
   font-size: 18px;
}

strong{
   color: #EC8B9C;
   font-weight: 600;
}

img{
   max-width: 100%;
   height: auto;
}


/* Logo */
.logo{
   width: 60px;
   height: 60px;
}


/* Navbar */
nav{
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 20px 20px 20px 20px;
   box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.menu-item{
   font-size: 24px;
   margin: 0 10px;
   color: black;
}


/* Home */
.home{
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 40px 0;
   margin: 40px 0 120px 0;
}

.left,
.right{
   margin: 0;
}

#hello{
   font-weight: 400;
   font-size: 18px;
   color: black;
}

#name{
   color: #F9A2B0;
   font-size: 42px;
   margin: 0;
}

#role{
   font-weight: 400;
   font-size: 18px;
}

#nina-drawing{
   width: 260px;
   height: 260px;
   border-radius: 50%;
}


/* Section */
.section{
   margin: 0 0 140px 0;
}


/* Tagline */
.tagline{
   font-size: 24px;
   font-weight: 700;
   text-align: center;
}

.tagline-sub{
   font-size: 18px;
   font-weight: 500;
   text-align: center;
}


/* About Me */
.photo-text{
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
}

#nina-photo{
   width: 400px;
   height: 400px;
   border-radius: 10%;
   margin-bottom: 20px;
}

.text-box{
   padding: 0;
}


/* Experience */
/* Storytelling */
.video-gallery{
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
   margin: 40px 0;
}

.video{
   width: 100%;
   max-width: 350px;
   height: auto;
   border-radius: 10px;
}

#tiktok-button{
   display: flex;
   justify-content: center;
   margin-top: 20px;
}


/* Button */
button{
   font-family: "Onest", sans-serif;
   font-size: 16px;
   font-weight: 500;
   background-color: #F9A2B0;
   border-radius: 8px;
   border: none;
   padding: 10px 20px;
   cursor: pointer;
}


/* Skill */
.skill{
   margin-bottom: 70px;
}

.figma-gallery{
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
   margin-top: 40px;
}

/* Figma embeds */
.figma-embed{
   width: 100%;
   height: 600px;
   border: 1px solid rgba(0,0,0,0.1);
   border-radius: 10px;
}


/* Curiousity */
.program-gallery{
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 25px;
   margin-top: 50px;
}

.program{
   position: relative;
}

.program-logo{
   display: block;
   width: 150px;
   border-radius: 28px;
}

.program-overlay{
   position: absolute;
   top: 0;
   left: 0;
   width: 150px;
   height: 150px;
   border-radius: 28px;
   background-color: rgba(0, 0, 0, 0.6);
   color: #FFFFFF;
   font-family: "Onest", sans-serif;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: opacity 0.5s;
}

.program-overlay > *{
   transform: translateY(20px);
   transition: transform 0.5s;
}

.program-overlay:hover{
   opacity: 1;
}

.program-overlay:hover > *{
   transform: translateY(0);
}

.program-title{
   font-size: 1.25em;
   font-weight: bold;
   text-align: center;
}


/* AI Skills */
.ai-skills{
   margin: 50px 0;
}


/* Footer */
footer{
   background-color: #ffe6ea;
   padding: 50px 20px 10px 20px;
   border-radius: 20px 20px 0 0;
}

.footer{
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   gap: 20px;
}

.footer-items{
   display: flex;
   flex-direction: column;
}

.copyright{
   text-align: center;
   margin: 60px 0 15px 0;
}

.logo-button{
   width: 50px;
   height: 50px;
   border-radius: 8px;
}


/* Back to top button */
.scroll-to-top{
   position: fixed;
   right: 20px;
   bottom: 50px;
   width: 70px;
   opacity: 0;
   transition: opacity 0.3s ease;
   cursor: pointer;
}


/* Desktop */
@media (min-width: 1080px){

   main{
      margin: 0 10%;
   }

   .home{
      flex-direction: row;
      justify-content: center;
      padding: 50px;
      margin: 40px 0 200px 0;
   }

   .left{
      margin-right: 30px;
   }

   .right{
      margin-left: 30px;
      align-items: center;
      text-align: center;
   }

   #nina-drawing{
      width: 450px;
      height: 450px;
   }

   #name{
      font-size: 72px;
   }

   .section{
      margin: 0 0 200px 0;
   }

   .photo-text{
      flex-direction: row;
      text-align: left;
   }

   #nina-photo{
      width: 400px;
      height: 400px;
      margin-bottom: 0;
   }

   .text-box{
      padding: 0 70px;
   }

   .video-gallery{
      flex-direction: row;
      justify-content: space-around;
   }

   .video{
      height: 600px;
      width: auto;
   }

   .figma-gallery{
      flex-direction: row;
      justify-content: space-evenly;
   }

   .program-gallery{
      flex-direction: row;
      justify-content: space-evenly;
   }

   .footer{
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
   }
}

/* Hamburger */
.hamburger{
   display: none;
   font-size: 30px;
   background: none;
   border: none;
   cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 1080px){

   .hamburger{
      display: block;
   }

   .group-menu{
      display: none;
      flex-direction: column;
      position: absolute;
      top: 80px;
      left: 0;
      width: 100%;
      background: white;
      padding: 20px 0;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
   }

   .group-menu a{
      padding: 15px;
      text-align: center;
      display: block;
   }

   .group-menu.active{
      display: flex;
   }
}