



  /* style.css */

  /* Default styles for mobile devices */

    header {
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: block;
    float: left;
    background-color: #f9edd1;
    width: 100%;
    position: fixed; 
    top: 0;
    left: 0;
    padding: 0;
    }

    header a {
      font-weight: bold;
    }


    body {
        font-size: 15px;
        padding: 0;
        margin: 0;
        background: #FEF7ED;
    }

    main {
        margin: 0;
        padding: 0;
    }

    article {
      padding: 20px 0 50px;
      scroll-margin-top: 50px;
      
    }


    /* SCROLL TO TOP BUTTON */

    #to-top {
      position: fixed;
      z-index: 9;
      display: none;
      height: 55px;
      width: 55px;
      border-radius: 50%;
      border: none;
      bottom: 10%;
      right: 25px;
      display:flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      background-color: transparent;
      transition: all 0.3s ease; /* Smooth transition */
    }
    
    #to-top img {
      width: 100%;
      margin: 0;
      padding: 0;
    }



/* NAVIGATION START */
  
    /* Add a black background color to the top navigation */
.topnav {
    background-color: #f9edd1;
    overflow: hidden;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color:#F775A9;
    text-align: left;
    padding: 12px 12px;
    text-decoration: none;
    font-size: 1.2rem;
  }

  .topnav img {
    width: 40px;
    padding: 10px;
    /* border: 1px solid black; */
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    color:#8FDBD8;
  }
  
  /* Add an active class to highlight the current page */
  .topnav a.active {
    background-color: #f9edd1;
    color: black;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav a.icon {
    display: none;
  }

  
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }


  /* NAGIVATION END */



    /* INTRO SECTION START */

    h1 {
        font-size: 1.2rem;
        width: 100%;
    }

    h2 {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    width: 50%
  }

  h3 {
    text-align: center;
    font-size: 2.8rem;
  }

  h4 {
    font-size: 2rem;
  }

  .intro {
    padding: 70px 20px;
    
  }

  .intro h4 {
    display: none;
  }

  .intro section {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
  }

  #globe-img {
    display: none;
  }


  .intro svg {
    padding-top: 30px;

  }

  /* SPARKLE ANIMATION */

/* CSS animation */
@keyframes sparkle {
  0%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(.98); }
  50% { transform: scale(1.1); }
}

/* Apply animation to the individual parts of the star */
polygon, path {
  transform-origin: center; /* Set the transform origin to the center */
}

polygon.part1 {
  animation: sparkle 1.8s ease infinite alternate; /* Sparkle animation */
}

polygon.part2 {
  animation: sparkle 2s ease infinite alternate; /* Adjust timing for variation */
}

path.part3 {
  animation: sparkle 2.2s ease infinite alternate; /* Adjust timing for variation */
}


  .intro span {
    background-color: #8FDBD8;
    border-radius: 50%;
  }

  .intro p {
    width: 100%;
    font-size: 1.5rem;
  }

  #resume-btn {
    font-family: "Poiret One", sans-serif;
    color: white;
    text-align: center;
    margin: auto;
    display: block;
    width: 150px;
    height: 50px;
    font-size: 1.5rem;
    background-color: #F775A9;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 1);
  }

  #resume-btn img {
    width: 30px;
    float: right;
  }



  /* INTRO SECTION END */

  /* MULTIMEDIA PAGE START */

  #multimedia-content {
    padding-top: 100px;
    width: 90%;
    margin: auto;
    display: block;
    text-align: center;
  }

  #multi-works {
    margin: auto;
    display: block;
    width: 80%;
    padding: 0;
    background-image: repeating-linear-gradient(
        to right,
        #8FDBD8, /* Grid line color */
        #8FDBD8 1px, /* Line width */
        transparent 1px, /* Gap after line */
        transparent 30px /* Total cycle width */
    ),
    repeating-linear-gradient(
        to bottom,
        #8FDBD8, /* Grid line color */
        #8FDBD8 1px, /* Line width */
        transparent 1px, /* Gap after line */
        transparent 30px /* Total cycle width */
    );
  }

  #multi-works img {
    display: block;
    margin: auto;
    width: 100%;

  }

  #multi-intro {
    display: flex;
    flex-direction: row;
  }

  #multimedia-content p {
    border-bottom: 1px solid black;
  }

  #multimedia-content span {
    font-family: "karma", serif;
    font-weight: normal;
    font-style: italic;
  }

  #multi-works a {
    color:#F775A9;
  }

  #multi-works a:hover{
    color:#8FDBD8
  }

  #multi-works a:visited{
    color:#F775A9;
  }

  




/* MULTIMEDIA PAGE END */
    
button {
        font: inherit;
    }


    a:link {
        text-decoration: none;
    }

  

     




/* ABOUT SECTION START */

  ul {
    list-style-type: none;
    margin: auto;
    padding: 0;
    text-align: left;
  }

  ul li {
    font-family: "karma", serif;
    font-size: 1rem;
  }

  p {
    font-family: "Karma", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    text-align: left;
  }

  #about p {
    width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #FEF7ED;
  }

  #about img {
    display: none;
  }

  #about {
    text-align: center;
    /* ADDING GRID PATTERN BG */
    background-image: repeating-linear-gradient(
        to right,
        #FEB7C9, /* Grid line color */
        #FEB7C9 1px, /* Line width */
        transparent 1px, /* Gap after line */
        transparent 30px /* Total cycle width */
    ),
    repeating-linear-gradient(
        to bottom,
        #FEB7C9, /* Grid line color */
        #FEB7C9 1px, /* Line width */
        transparent 1px, /* Gap after line */
        transparent 30px /* Total cycle width */
    );
  }

  #about section {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #t-skills {
    border: solid 3px black;
    width: 65%;
    margin: auto;
    padding: 0 10px 30px;
    background-color: #F9EDD1;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
  }

  #s-skills {
    border: solid 3px black;
    width: 65%;
    margin: auto;
    padding: 0 10px 30px;
    background-color: #FEB7C9;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
  }

  #e-skills {
    border: solid 3px black;
    width: 65%;
    margin: auto;
    padding: 0 10px 30px;
    background-color: #8FDBD8;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
  }

  /* ABOUT SECTION END */


 /* EDUCATION SECTION START */

 .education {
  display: block;
  width: 80%;
  margin: auto;
 }

 .education span  {
  font-weight: bold;
 }
  
 /* EDUCATION SECTION END */



  /* MY WORK SECTION START */
.work-content {
  background-color: #F9EDD1;
  
}

#work-grid {
  border: 3px solid white;
  padding: 0 20px 0;
}

  .work-content img {
    width: 250px;
    padding-bottom: 10px;
  }

  .work-content section {
    text-align: center;
    width: 80%;
    margin: auto;
  }

  .work-content p {
    border-bottom: solid black 1px;
  }

  .work-content span {
    font-weight: bold;
    color:#F775A9;
  }

  #multi-link {
    width: 90%;
    margin: auto;
  }

  #multi-link a {
    color:#8FDBD8;
  }

  #multi-link a:visited {
    color:#F775A9;
  }

  #about a {
    color:#F775A9;
  }

  #about a:hover {
    color:#8FDBD8
  }

  #about a:visited {
    color:#F775A9
  }

  /* MY WORK SECTION END */

/* CONTACT SECTION START */

.contact-content {
  background-color: #8FDBD8;
}

.contact-content h4 {
  padding-bottom: 0;
  margin: 0;
}

#star-img {
  display: none;
}

#contact span {
  
  font-weight: bold;
  color:#F775A9;
}

#contact {
  width: 80%;
  margin: auto;
}

#contact-pic {
  width: 300px;
  display: block;
  margin: auto;
  box-shadow: 8px 8px 0px #FEB7C9;
  
}

#socials img {
  width: 50px
}

#socials {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: auto;
  width: 50%;
  padding: 30px;
  border-bottom: 1px solid black;
}






/* CONTACT SECTION END */

/* FOOTER START */

footer {
  display: block;
  margin: auto;
  width: 70%;
}

footer p {
  font-size: .8rem;
  text-align: center;
}

/* FOOTER END */

#poster {
  width: 350px;
}

#card {
  width: 350px;
}













/* START MEDIA QUERIES */

    /* Mobile styles */
    /* @media (max-width: 600px) {

    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
    float: right;
    display: block;
  }
    } */


    /* DESKTOP STYLES */
@media only screen and (min-width: 601px) and (max-width: 1920px){

  main {
  display: block;
  width: 80%;
  margin: auto;
  padding: 0;
  float: right;
}

body {
  margin: 0;
  padding: 100px;
}

/* NAVIGATION STYLES START */

header  {
  float: right;
  top: 0;
  right: 0;
  width: 100%;
}
.topnav img {
  display: none;
}

.topnav {
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.topnav a {
  padding-left: 20px;
  float: none;
  display: block;
  text-align: left;
  font-size: 1.8rem;
}

.topnav a:not(:first-child) {
  display: block;
}

/* NAVIGATION STYLES END */


/* INTRO STYLES START */

h1 {
font-size: 2.5rem;
margin: auto;
padding-left: 20px;
}

 h2 {
  font-size: 5rem;
  width: 30%;
 }

 .intro svg {
  width: 100%;
  height: 300px;
 }

 .intro h4 {
  padding: 0 10px 0;
  width: 10%;
  top: 50px;
  float: left;
  display: block;
  position: relative;
  margin: 0;
  border: 3px solid black;
  background-color:#FEB7C9;
  font-family: "Poiret One", sans-serif;
  transform: rotate(-8deg);
 }

.intro p {
  font-size: 2rem;
  width: 80%;
  margin: auto;
}
#globe-img {
  display: block;
  width: 20%;
  margin: 0;
}

#resume-btn {
  width: 250px;
  height: 50px;
  font-size: 2.4rem;
}

#resume-btn img{
  width: 40px;
  padding-right: 20px;
}

/* INTRO STYLES END */

/* ABOUT STYLES START */

h3 {
  font-size: 4rem;
}

#about img {
  display: block;
  width: 200px;
  float: right;
  margin: auto;
}

#about section {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
}




/* ABOUT STYLES END */

/* WORK STYLES START */

#work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  justify-content: space-between;
  gap: 50px;
  padding: 0 50px 0;
}

#multi-link {
  display: flex;
  flex-direction: row;
  margin: auto;
  width: 50%;
}

#multi-link svg {
  width: 30%;
  margin: auto;
}

#multi-link h4 {
  font-size: 2.5rem;
}

/* WORK STYLES END */

/* CONTACT STYLES START */

.contact-content div {
  display: block;
  width: 50%;
  float: left;
  margin: auto;
}

#star-img {
  display: block;
  width: 80px;
}

#socials {
  width: 20%;
  margin: 0;
  border-bottom: none;
}

#socials img {
  width: 70px;
}

footer p {
font-size: 1.2rem;
}

/* CONTACT STYLES END */


/* MULTIMEDIA STYLES START */

#multimedia-content {
  padding-top: 0;
}

#multimedia-content p {
  display: block;
  width: 70%;
  margin: auto;
}

#multi-intro {
  margin: auto;
  width: 70%;
}

#multi-intro svg {
  display: block;
  margin: auto;
  height: 200px;
  width: 100%;
}

#multi-works img {
  width: 40%;
  padding: 20px;
}

#multi-works p {
  margin: auto;
  width: 80%;
  background-color: #FEF7ED;
  padding: 10px;
}

#multi-works div {
  display: flex;
  flex-direction: row;
}

#multi-works h4 {
  font-size: 3rem;
  width: 70%;
  text-align: center;
  margin: auto;
  padding: 10px;
}

/* MULTIMEDIA STYLES END */

}
  



    