/* STICKY HEADER NAVIGATION BAR */
.sticky{
    position: sticky;
    top: 0;
    bottom: 0;
   z-index: 999;
}
.nav_header{
  background-color: rgba(116, 206, 209, 1);
  filter: drop-shadow(0px 3px 1px #FFF9DC);
  display:flex;
  flex-direction:row;
  align-items: center;
  justify-content:center;
  gap: 7%;
  padding:0.5%;
  text-transform: uppercase;
  font-family: "Londrina Solid", sans-serif;
  font-weight: 270; 
  font-size: 110%;
  height: 80px;
  /* this makes it touch the edge of the screen! */
  top: 0;
  left: 0;
  width: 100%;
}
.nav_button{
    background: linear-gradient(#FF5CA2 55%, #BF3E81);
    width: 10%;
    /* height: 20%; */
    text-align: center;
    border:2px solid #FFF9DC;
    border-radius: 10px;
    padding: 0.5%;
    filter: drop-shadow(0px 3px 1px #FFF9DC);
    transition:all 0.3s ease;
     z-index: 999;
     position: relative;
}
.nav_header a{
    text-decoration: none;
    color: #FFF9DC;
    font-size: large;
}
.nav_button:hover{
    background: linear-gradient(#FF5CA2, #FFE048);
    transform:scale(1.1);
}
.nav_button_current{
    background: linear-gradient(#FF5CA2 55%, #FFA4BD);
    width: 10%;
    /* height: 20%; */
    text-align: center;
    border:2px solid #FFF9DC;
    border-radius: 10px;
    padding: 0.5%;
    filter: drop-shadow(0px 3px 1px #FFF9DC);
  transition:all 0.3s ease;
       z-index: 999;
     position: relative;
}
.nav_button_current:hover{
    background: linear-gradient(#FF5CA2, #FFE048);
    transform:scale(1.1);
}
.nav_logo{
    top: 20%;
    width: 20%;
    filter: drop-shadow(0px 3px 1px #FF5CA2);
  transition:all 0.3s ease;
       z-index: 999;
     position: relative;
}
.nav_logo:hover{
    transform:scale(1.1);
}
 #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
    /* opacity: 0.48; */
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* CUSTOM BANNER TEXT */
.banner_text{
    color: #FFF9DC;
    background: linear-gradient(#FF5CA2 55%, #FFE048);
    text-transform: uppercase;
    border:2px solid #BF3E81;
    border-image: url(../images/banner_text_colour.svg) 27 23 / 50px 30px / 1rem round space;
    filter: drop-shadow(0px 3px 1px #FF5CA2);
    font-family: "Londrina Solid", sans-serif;
}
/* SECION 1: INTRO */
.intro{
    display: flex;
    justify-content: center;
    gap: 5%;
    padding: 8%;
    height: 100vh;
    background-color: #FFF9DC;
}
.left, .right {
  flex: 1;
}
.right{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 1.5%;
}
.intro .right .fade-in{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.right .banner_text{
    width: 60%;
}
.right p{
    color: #BF3E81;
    font-family: "Kanit", sans-serif;
    margin-top: 10%;
}
.right .fade-in .nav_button{
    width: 50%;
    filter: drop-shadow(0px 3px 1px #FFE048);
    margin-top: 8%;
    background: linear-gradient(#FF5CA2 55%, #FFE048);
    border:2px solid #FF5CA2;
}
.right .fade-in .nav_button a{
    color: #FFF9DC;
    text-transform: uppercase;
    font-family: "Londrina Solid", sans-serif; 
    text-decoration: none;
}
.image_container{
    display: flex;
    /* gap: %; */
}
.image_1, .image_2{
    filter: drop-shadow(0px 3px 1px #FF5CA2);
}
.image_1 img{
    mask-image: url(../images/Asset\ 5shape.svg);
    mask-repeat: no-repeat;
    width: 100%;
}
.image_2 img{
    mask-image: url(../images/Asset\ 9shape.svg);
    width: 85%;
    mask-repeat: no-repeat;
    margin-top: 50%;
}
/* FADE TRANSITION */
.fade-in{
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}
.fade-in.show{
    opacity:1;
    transform: translateY(0);
}
/* SECTION 2: SKILLSET */
.skillset{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 8%;
    background-color: #BF3E81;
    flex-direction: column;
}
.skillset .fade-in{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.skillset .banner_text{
    width: 50%;
    text-align: center;
}
.card_container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
    width: 100%;
    height: 100%;
}
.service_card{
    filter: drop-shadow(0px 5px 1px #FFE048);
    background-color: #FFF9DC;
    margin-top: 5%;
    border:2px solid #BF3E81;
    border-radius: 15px;
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.card_image{
    text-align: center;
}
.card_image img{
    mask-image: url(../images/Asset\ 9shape.svg);
    width: 60%;
    mask-repeat: no-repeat;
    position: relative;
    bottom: 20px;
}
.service_card .card_image{
    filter: drop-shadow(0px 5px 1px #BF3E81);
}
    /* filter: drop-shadow(0px 5px 1px #FFE048); */
.card_text{
    margin: 9.5%;
    margin-top: -1%;
    color: #BF3E81;
    text-align: center;
}
.card_text h1{
    text-transform: uppercase;
    font-family: "Londrina Solid", sans-serif;
}
.card_text p{
    font-family: "Kanit", sans-serif;
}
/* SECTION 3: FAV PROJECT */
.fav_project{
    background-color: #FFE048;
    display: flex;
    justify-content: center;
    gap: 5%;
    padding: 8%;
}
.fav_left, .fav_right {
  flex: 1;
}
.fav_left img{
    width: 100%;
    margin-bottom: 4%;
    filter: drop-shadow(0px 3px 1px #FF5CA2);
}
.fav_right{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 1.5%;
}
.fav_right p{
    color: #BF3E81;
    font-family: "Kanit", sans-serif;
    margin-top: 10%;
}
/* FOOTER */
.footer{
    background-color: #74CED1;
    border:2px solid #FFF9DC;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
    color: #FFF9DC;
    font-family: "Londrina Solid", sans-serif;
    font-size: 150%;
    top: 0;
    left: 0;
    position: relative;
}
.footer_content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1%;
    width: 25%;
    height: 100%;
    z-index: 999;
    filter: drop-shadow(0px 3px 1px #FF5CA2);
}
#particles-js2{
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
}
/* TICKER TAPE */
.scrolling_text {
    width: 100%;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}
.text span {
    margin: 0 45px;
}
.text {
    font-size: 100%;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Londrina Solid", sans-serif;
    color: #BF3E81;
    background-color: #FFE048;
    animation: animate_text 100s linear infinite; /* The animation property */
    border:1px solid #FFF9DC;
}

/* MOBILE */
.mobile_header{
    position: sticky;
    background-color: #74CED1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1%;
    gap: 30%;
    filter: drop-shadow(0px 3px 1px #FFF9DC);
}
.mobile_header img{
    max-width: 50%;
}
.burger_icon{
    color: #FFF9DC;
    background: linear-gradient(#FF5CA2 55%, #FFE048);
    border-radius: 5px;
    width: 10%;
    height: 10%;
    text-align: center;
    border:2px solid #FFF9DC;
    z-index: 999;
}
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
background: linear-gradient(rgba(255, 224, 72, 0.9), rgba(255, 92, 162, 0.7));
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  border:2px solid #FFF9DC;
}
.top_navbar{
    display: flex;
    padding: 3%;
    gap: 50%;
}
.top_navbar img{
filter: drop-shadow(0px 3px 1px #FFF9DC);
}
.sidenav a {
  /* padding: 8px 8px 8px 32px; */
  text-decoration: none;
  display: block;
  transition: 0.3s;
background: linear-gradient(#FF5CA2 55%, #BF3E81);
/* width: 100%; */
border:2px solid #FFF9DC;
border-radius: 10px;
padding: 2%;
filter: drop-shadow(0px 3px 1px #FFF9DC);
transition:all 0.3s ease;
z-index: 999;
/* position: relative; */
margin-top: 5%;
/* margin-left: 5%; */
margin: 5%;
gap: 5%;
/* height: 43%; */
top: 50px;
}
.burger_text{
font-size: 25px;
  color: #f1f1f1;
  font-family: "Londrina Solid", sans-serif;
  text-align: center;
  height: 15;
  font-size: x-large;
  text-transform: uppercase;
}
.sidenav a:hover {
  color: #f1f1f1;
}
.closebtn {
  top: 50px;
  font-size: 36px;
  margin-left: 150px;
  text-decoration: none;
  color: #f1f1f1;
  text-align: center;
  width: 20%;
  font-weight: bold;
  background: linear-gradient(#FF5CA2 55%, #FFE048);
}
@keyframes animate_text {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
}
/* HIDE MOBILE ELEMENTS HERE */
@media screen and (min-width: 600px){
.mobile_header{
    visibility: hidden;
    display: none;
}
}
@media screen and (max-width: 600px){
 .sticky{grid-area: 1 / span 6;}
    .nav_header{
        display: none;
    }
    .mobile_header{
        visibility: visible;
    }
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
  .intro{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .image_container{
    margin-left: 6%;
  }
  .left{
    margin-top: 5%;
  }
  .right{
    margin-bottom: 20%;
  }
  .right .banner_text{
    width: 90%;
  }
  .skillset .banner_text{
    width: 90%;
  }
  .card_container{
    flex-direction: column;
    width: 100%;
  }
  .service_card{
    width: 90%;
    margin-top: 15%;
  }
  .fav_project{
    flex-direction: column;
  }
}
