* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x : hidden;
    scroll-behavior: smooth;
}

/*** Navbar ****/

#main-nav p {
    font-family: 'Gwendolyn', cursive;
    padding-left: 2%;
    padding-top: 1%;
    
    font-size: 2rem;
    /* color: white; */
    /* color: #B5EAEA; */
    color : #470D21;
}


#main-nav {
    display: flex;
    justify-content: space-between;
    min-height: 10vh;
    /* background-color: #F38BA0; */
    /* background-color: rgb(248, 249, 250); */
    background-color: #EDF6E5;
    z-index: 3;
}

.sticky + #hero-sec {
    padding-top: 10vh;
}


.main-nav-list {
    padding: 1.1%;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 3.2rem;
  }

  .main-nav-list li:last-child {
    
    font-size: 2rem;
      display: none;
  }

  .fa-bars {
    color : #470D21;
  }
  
  .main-nav-link:link,
  .main-nav-link:visited {
    display: inline-block;
    text-decoration: none;
    /* color: #F0D290; */
    /* color: #B5EAEA; */
    color : #470D21;
    font-weight: 400;
    font-family: 'Mochiy Pop P One', sans-serif;
    font-size: 1.5rem;
    transition: all 0.9s;
  }
  
  .main-nav-link:hover,
  .main-nav-link:active {
    /* color: #DE834D; */
    /* color: #EDF6E5; */
    color: #F38BA0;
  }

  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

@media screen and (max-width: 970px) {
    .main-nav-list li:not(:last-child) {display: none;}
    .main-nav-list li:last-child {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        padding: 2%;
    }
}

@media screen and (max-width: 970px) {
    .main-nav-list .responsive {position: relative;}
    .main-nav-list.responsive li:last-child {
      position: absolute;
      right: 0;
      top: 0;
      padding: 2%;
    }

    .main-nav-list.responsive {
        display: block;
        padding: 2%;
    }

    .main-nav-list.responsive li{
        display: block;
        text-align: left;
    }

    #main-nav.responsive{
        display: block;
    }

  }



/***** Home Section ********/

header {
    margin-top: 10vh;
    height: 90vh;
    /* background-color: #781D42; */
    background-color: #F38BA0;
    position: relative;
    overflow-y: hidden;
}


.right-corner {
    /* background: #A3423C; */
    background-color: #FFBCBC;
    border-radius : 50% 50% 50% 50%;
    position: absolute;
    width: 80%;
    height: 130%;
    right: -35%;
    top: 20%;
}

.left-corner {
    /* background: #A3423C; */
    background-color: #EDF6E5;
    border-radius : 50% 50% 50% 50%;
    width: 50%;
    height: 70%;
    left : -30%;
    bottom: -30%;
    position: absolute;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-section {
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.profile-pic {
    height: 78vh;
    width: auto;
    z-index: 1;
}

.social-links {
    margin-right: 2%;
    z-index: 1;
}

.social-button {
    display: block;
    /* background-color: #DE834D; */
    background-color: #EDF6E5;
    /* background-color: #B5EAEA; */
    border-radius: 60%;
    padding: 15px;
    margin-bottom: 20px;
}

.social-button:hover{
    /* background-color: #F38BA0; */
    background-color: #B5EAEA;;
}

.social-icon {
    /* color: white; */
    color: #470D21;
    font-size: 2rem;
}


.intro-text{
    width: 50%;
    text-align: center;
    z-index: 1;
}

.intro-text p {
    color: #470D21;
    font-size: 2rem;
    z-index: 1;
}

.intro-text h1 {
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #470D21;
    font-size: 3rem;
    z-index: 1;
}

.text-slider-items {
    display: none;
}

.intro-text button {
    padding: 2% 5%;
    margin-top: 3%;
    border: 2px solid #B5EAEA;
    border-radius: 8px;
    background-color: #B5EAEA;
    z-index: 1;
}

.intro-text button p {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: white;
    
}

.send-icon {
    color: white;
    font-size: 1.5rem;
    margin-right: 5px;
}

.talk:hover {
    cursor: pointer;
}

@media screen and (max-width: 900px) {

    .right-section {
        width: 70%;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    
    .social-icon {
        color: #470D21;
        font-size: 1.5rem;
    }

    .profile-pic {
        width: 50vw;
        z-index: 1;
    }

    .intro-text{
        width: 30%;
        text-align: center;
        z-index: 1;
    }

    .intro-text h1 {
        font-family: 'Mochiy Pop P One', sans-serif;
        color: #470D21;
        font-size: 1.8rem;
        z-index: 1;
    }

    .intro-text button p {
        font-family: 'Fredoka One', cursive;
        font-size: 1rem;
        color: white;
        
    }

    .intro-text p {
        color: #470D21;
        font-size: 1.2rem;
        z-index: 1;
    }
    
}

@media screen and (max-width: 700px) {
    .right-corner {
        /* background: #A3423C; */
        background-color: #FFBCBC;
        border-radius : 50% 50% 50% 50%;
        position: absolute;
        width: 80%;
        height: 130%;
        right: -35%;
        top: 20%;
    }
}

/***** About Section ********/

#about {
    padding-top: 10vh;
    padding-bottom: 10vh;
    width: 100%;
}

#about h1 {
    text-align: center;
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #470D21;
}

hr {
    margin: 1% auto 2% auto;
    width: 50%;
    border: 1px solid #B5EAEA;
}

.about-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* justify-items: center; */
    /* justify-content: center; */
}

.profile-icon {
    width: 20vw;
    height: 40vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius : 50% 50% 50% 50%;
}

.introduction h3 {
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #F38BA0;
    text-align: center;
}

.introduction {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

.pointers {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* justify-self: center; */
    justify-items: center;
}

.pointers i {
    color: #470D21;
}

.pointers p {
    display: inline;
    text-align: center;
    /* font-family: 'Josefin Sans', sans-serif; */
    font-family: 'Mochiy Pop P One', sans-serif;
    font-size: 1.3rem;
    color: #470D21;
}


.self-intro {
    justify-self: center;
    max-width: 90%;
    text-align: center;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
}

.progress {
    margin-left: 2%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 1%;
}

.progress img {
    width: 5vw;
    height: 10vh;
    border-radius: 50%;
}

.progress-border {
    width: 35vw;
    border: 1px solid #FFBCBC;;
}

.progress-bar {
    height: 3vh;
    background-color: #B5EAEA;
}

.progress p {
    color: #470D21;
    font-weight: bold;
    font-size: 1.2rem;
}

@media screen and (max-width: 1000px) {
    .about-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        /* justify-items: center; */
        /* justify-content: center; */
    }
}

@media screen and (max-width: 600px) {
    .profile-icon {
        width: 30vw;
        height: 50vh;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius : 50% 50% 50% 50%;
    }
}

/***** Project Section ********/

#projects{
    padding-top: 10vh;
    padding-bottom: 10vh;
    width: 100%;
}

#projects h1 {
    text-align: center;
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #470D21;
}

.project-sec {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: flex-start;
}

.project-tile {
    width: 70%;
    padding: 2%;
    background-color: #B5EAEA;
    border-radius: 50px;
    margin-bottom: 50px;
}

.project-tile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 2%;
    flex-shrink: 0;
}

.project-tile .title {
    margin-bottom: 1%;
    display: flex;
    justify-items: center;
}

.project-tile .title h2 {
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #F38BA0;
    word-break: break-all;
}

.project-tile .title p {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    color: #470D21;
}

.project-tile .desc strong {
    color: #470D21;
    font-size: 1.3rem;
}

.project-tile .desc a {
    color: #F38BA0;
    font-size: 1.2rem;
}


@media screen and (max-width: 1200px) {
    .project-sec {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        align-items: flex-start;
    }
}

@media screen and (max-width: 800px) {
    .project-sec {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: flex-start;
    }
}
/***** Achievement Section ********/

#achievements {
    padding-top: 10vh;
    padding-bottom: 10vh;
    width: 100%;
}

#achievements h1 {
    text-align: center;
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #470D21;
}

.balloon {
    display:inline-block;
    width:360px;
    height:435px;
    background:#FFBCBC;
    border-radius:80%;
    position:relative;
    box-shadow:inset -10px -10px 0 rgba(0,0,0,0.07);
    margin:20px 30px;
    transition:transform 0.5s ease;
    z-index:1;
    animation:balloons 4s ease-in-out infinite;
    transform-origin:bottom center;
  }
  
  @keyframes balloons {
    0%,100%{ transform:translateY(0) rotate(-4deg); }
    50%{ transform:translateY(-25px) rotate(4deg); }
  }
  
  
  /* .balloon:nth-child(2){ background:#FFBCBC;animation-duration:3.5s; } */
  
  .balloon:nth-child(3){ background:#FFBCBC;; animation-duration:3s; }
  
  .balloon:nth-child(4){ background: #B5EAEA; animation-duration:4.5s; }
  
  .balloon:nth-child(5){ background: #EDF6E5; animation-duration:5s; }
 
  .balloon h1 {
      padding: 5%;
  }

  .balloon p {
      padding: 0 10%;
      font-size: 1rem;
  }

.balloon a {
   padding: 20%;
}

/**** Resume *****/

#resume {
    padding-top: 10vh;
    padding-bottom: 10vh;
    width: 100%;
}

#resume h1 {
    text-align: center;
    font-family: 'Mochiy Pop P One', sans-serif;
    color: #470D21;
}

@media screen and (max-width: 550px) {
    .project-tile {
        border-radius: 20px;
        width: 90%;
    }

    .project-tile img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin: 2%;
        flex-shrink: 0;
    }

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

    .right-section {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .intro-text{
        width: 100%;
        text-align: center;
        z-index: 1;
    }

    .right-corner {
    
        background-color: #FFBCBC;
        border-radius : 50% 50% 50% 50%;
        position: absolute;
        width: 100%;
        height: 130%;
        left: 0;
        top: 50%;
    }
    
    .left-corner {
        /* background: #A3423C; */
       display: none;
    }

    .profile-icon {
        width: 150px;
        height: 150px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius : 50% 50% 50% 50%;
    }
    
    .pointers p {
        display: inline;
        text-align: center;
        /* font-family: 'Josefin Sans', sans-serif; */
        font-family: 'Mochiy Pop P One', sans-serif;;
        font-size: 0.8rem;
        color: #470D21;
    }

    .self-intro {
        font-size: 0.9rem;
    }

    .progress img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
}
