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

a:link,
a:visited {
  color: palevioletred;
}
a:hover,
a:focus {
  color: paleturquoise;
  transition: 0.5s;
}

html{
  scroll-behavior: smooth;
}


::selection {
  background-color: paleturquoise;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

#vertical-nav {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#vertical-nav a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  color: #BF307F;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#vertical-nav a:hover,
#vertical-nav a.active {
  color: palevioletred !important;
  transform: translateX(10px);
}

.bar {
  display: none;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #BF307F;
}

.hamburger {
  display: none;
  cursor: pointer;
  position: relative;
}

@media only screen and (max-width: 1000px) {
  #vertical-nav {
    top: 40px; /* Adjust to the position you want for the nav */
    left: 40px;
  }

  #vertical-nav a {
    display: none;
  }
  
  #vertical-nav.active a {
    display: block;
  }

  #vertical-nav.active a:first-child {
    margin-top: 40px;
  }

  .nav-menu.active {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 10px;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }

  .bar {
    display: block;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

#section-home {
  position: relative;
  z-index: 1;
}

#section-about, #section-portfolio {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.box-home {
  width: 100vw;
  height: 100vh;
  color: white;
  background: rgb(2, 0, 36);
  background: linear-gradient(
    180deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(21, 21, 54, 1) 35%,
    rgba(34, 36, 71, 1) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0;
  overflow: hidden;
}

@media screen and (min-width: 600px) {
  .box-home {
    flex-direction: row;
  }
}

.background-img {
  grid-column: 1 / -1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  object-fit: cover;
  z-index: 1;
  transform: scale(1);
  transition: opacity 1s, transform 1s;
}

h1 {
  font-weight: 400;
  font-size: 2.5rem;
  padding-bottom: 30px;
}

.welcome-text {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
  opacity: 1;
}

h2 {
  font-weight: 400;
  font-size: 2.5rem;
  padding-left: 50px;
  padding-top: 50px;
  margin: 0;
  display: none;
}

body {
  font-family: "Raleway", sans-serif;
  width: 100%;
  overflow-x: hidden;
  background-color: #f2f2f2;
}


.button {
  font-weight: 400;
  font-size: 1.5rem;
  padding: 3px;
  border: 2px solid white;
  background-color: rgb(2, 0, 36, 0.5) ;
  color: rgb(216, 141, 170);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 30px;
  transition: all 0.5s;
  cursor: pointer;
}

.button:hover {
  background-color: rgb(2, 0, 36, 0.8) ;
  color: #BF307F;;
}

/* About Me section */

#section-about{
  width: 100vw;
  height: 100vh;
  margin:0;
}

:root {
  --secondary-color: #151226;
  --contrast-color: #BF307F;
}

.about-container {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  color: whitesmoke;
  background: rgb(2, 0, 36);
  background: linear-gradient(
    360deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(21, 21, 54, 1) 35%,
    rgba(34, 36, 71, 1) 100%
  );
  font-family: "Raleway", sans-serif;
  padding-left: 50px;
  padding-right: 50px;
}

.im-a-designer{
  font-size: 27px;
}

.typed{
  color:#BF307F;
}

.whoami {
    font-size: 40px;
    color: var(--contrast-color);
    margin-bottom: 20px;
}

.bio {
  height: auto;
  overflow: hidden;
  line-height: 28px;
}


.travel{
  text-decoration: none;
}

.btns_more {
  background: transparent;
  border: 1.5px solid #BF307F;
  border-radius: 4px;
  padding: 8px 12px;
  color: #BF307F;
  font-size: 16px;
  text-transform: uppercase;
  position: relative;
  margin-top: 15px;
  outline: none;
  cursor: pointer;
  text-decoration: none;
}

.btns_more:hover{
  background-color: #BF307F;
  color: #fff;
}

.about-left{
  width: 3fr;
  display: flex;
  align-items: center;
  padding-left: 90px;
  padding-right: 125px;
  flex-direction: column;
}

.bio {
  max-width: 600px;
  min-width: 600px;
  margin-bottom: 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.biodots {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.biodot {
  width: 15px;
  height: 15px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.biodot.active {
  background-color: #BF307F;
}

.label {
  font-size: 14px;
}

.about-right {
  width: 1fr;
  justify-content: center;
  align-items: center;
  padding-right: 85px;
  text-align: center;
}


.about-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  outline: 2px solid #BF307F;
  outline-offset: 2px;
  display: block;
  margin-bottom: 20px;
}

.bottom-images {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.flag-container {
  position: relative;
  display: inline-block;
}

.bottom-images img {
  width: 50px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease-in-out;
  margin-top: 10px;
}

.aus-flag:hover,
.china-flag:hover,
.us-flag:hover {
  animation: pulse-grow 1s ease-in-out infinite;
}

@keyframes pulse-grow {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


.speech-bubble {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f0f0f0;
  color: #BF307F;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-340%) rotate(180deg);
  border-width: 5px;
  border-style: solid;
  border-color: #f0f0f0 transparent transparent transparent;
}

.flag-container:hover .speech-bubble {
  opacity: 1;
}

@media (max-width: 1100px) {
  .about-left{
    padding-right: 60px;
  }
}

@media (max-width: 1000px) {
  .about-container {
    flex-direction: column-reverse;
    min-height: 100vh;
    height: auto;
    padding: 20px;
  }

  .about-left, .about-right {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .about-img {
    width: 200px;
    height: 200px;
    justify-content: center;
  }

  .bio {
    max-width: 600px;
    min-width: 600px;
    margin-bottom: 20px;
    min-height: 180px;
    display: flex;
    align-items: center;
  }

  .bottom-images {
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 45px;
  }
}


@media (max-width: 700px) {
  
  .about-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .about-img {
    width: 170px;
    height: 170px;
  }

  .whoami {
    font-size: 35px;
  }

  .im-a-designer {
    font-size: 24px;
    padding-bottom: 15px;
  }

  .bio {
    font-size: 14px;
    max-width: 400px;
    min-width: 400px;
  }

  .bottom-images img {
    width: 40px;
    height: 25px;
  }

  .speech-bubble {
    font-size: 12px;
    bottom: -30px;
  }
}

@media (max-width: 500px) {
  
  .bio {
    max-width: 300px;
    min-width: 300px;
  }

}


/* Map section */

.mappage{
  background-color: #1f2042;
}

.maptext {
  text-align: center;
  font-family: "Raleway", sans-serif;
  color: #fff;
  padding-bottom: 15px;
  transform: translateY(300px);
  animation: slideUp .8s ease-in-out forwards .8s;
}

#mapdiv {
  margin:auto;
}

.map-container{
  position: relative;
}

.btn_back{
  background: transparent;
  border: 1.5px solid #BF307F;
  border-radius: 4px;
  padding: 8px 12px;
  color: #BF307F;
  font-size: 16px;
  text-transform: uppercase;
  outline: none;
  transform: translateY(100px);
  animation: slideUp .8s ease-in-out forwards 1s;
  transition: all 0.5s;
  cursor: pointer;
  text-decoration: none;
  margin: 0;
  position: absolute;
  top: 80%;
  left: 47%;
}

.btn_back:hover{
  background-color: #BF307F;
  color: #fff;
}

/*skills section*/
#section-skills{
  height: 100vh;
  background-color: #f2f2f2;
  margin:0;
}

.skills-content{
  padding-top: 120px;
  padding-left: 300px;
  padding-right: 300px;
}

.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #45505b;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #bfc0c0;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 1.5s;
  background-color: #BF307F;
}

@media screen and (max-width: 1200px) {
  .skills-content{
    padding-left: 190px;
    padding-right: 190px;
  }
}

@media screen and (max-width: 1000px) {
  .skills-content{
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media screen and (max-width: 700px) {
  .skills-content{
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media screen and (max-width: 450px) {
  .skills-content{
    padding-left: 30px;
    padding-right: 30px;
  }
}

/*portfolio section*/

.box-portfolio {
  width: 100vw;
  height: 100vh;
  color: rgba(34, 36, 71, 1) 100%;
  background-color: #f2f2f2;
  margin:0;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

/*portfolio flexboxes*/

.main {
  width: 100vw;
  height: 100vh;
  display: flex; 
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 80px;
  align-items: center;
}

.card {
  width: 300px;
  height: 400px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 18px;
  margin: 10px;
  position: relative;
}

@media screen and (max-width: 1100px) {
	.box-portfolio{
    height: auto;
  }
  
  .main {
		display: flex;
    height: auto;
    flex-direction: column;
	}

  .card{
    margin: auto;
    margin-bottom: 15px;
    flex-basis: 400px;
  }

  .first.card{
    margin-top: 10%;
  }

  .third.card{
    margin-bottom: 7%;
  }
}

.cardtext{
  color:#151226 !important;
  text-decoration: none !important;
}

.cardtext:hover{
  text-decoration: none !important;
}

.circle {
  aspect-ratio: 1/1;
  width: 35%;
  background: radial-gradient(#b0e633,#53ef7d);
  border-radius: 50%;
  position: absolute;
}

.circle:nth-child(1) {
  animation: firstCircle 15s linear infinite;
}
@keyframes firstCircle {
  0% {
    top: -25px;
    left: -25px;
  }

  20% {
    top: 77%;
    left: 20%;
  }

  35% {
  top: 40%;
  left: 70%;
  }

  50%{
    top: 30%;
    left: -4%;
  }

  65%{
    top: 0%;
    left: 70%;
  }

  80%{
    top: 77%;
    left: 40%;    
  }

  100%{
    top: -25px;
    left: -25px;
  }
}

.circle:nth-child(2) {
  bottom: -25px;
  right: -25px;
  animation-name: move-down1;
}
@keyframes move-down1 {
  to{
    transform: translateY(10px);

  }
}

.card:nth-child(1){
  background: #56acf3;
}
.card:nth-child(2){
  background: palegoldenrod;
}
.card:nth-child(3){
  background: palevioletred;
}
.card:nth-child(1)>.circle{
  background: paleturquoise;
}
.card:nth-child(2)>.circle{
  background: orange;
}
.card:nth-child(3)>.circle{
  background: plum;
}

.card-inner{
  width: inherit;
  height: inherit;
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: all 1.5s;
}

.card_heading{
  position: absolute;
  top: 8%;
  font-family: "Raleway" sans-serif;
  color: #ffff;
  z-index: 10;
}

.card-inner>img{
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  transition: all 1.5s;
}

.card_back{
  position: absolute;
  text-align: center;
  left: 0%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Raleway" sans-serif;
  transform: translateX(-100%);
  transition: all 1.5s;
  text-decoration: none;
}

.card_back::before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: #efefef1e;
  /*opacity: 0.5;*/
}

.card_back>a{
  padding: 20px;
  font-size: 17px;
  position: relative;
  transition: all 1s;
}

.card:hover .card-inner>img{
  transform: translateX(100%);
}
.card:hover .card_back{
  transform: translateX(0);
  transition: all 1.5s;
}

.card .card_heading>h3{
  position: relative;
}

.card:nth-child(1):hover .card-inner>img{
  transform: translateX(100%);
}

.card:nth-child(1) .card_back{
  transform: translateX(100%);
}

.card:nth-child(1):hover .card_back{
  transform: translateX(0%);
}

.card:nth-child(2):hover .card-inner>img{
  transform: translateX(100%);
}

.card:nth-child(2) .card_back{
  transform: translateX(100%);
}

.card:nth-child(2):hover .card_back{
  transform: translateX(0%);
}

.card:nth-child(3):hover .card-inner>img{
  transform: translateX(100%);
}

.card:nth-child(3) .card_back{
  transform: translateX(100%);
}

.card:nth-child(3):hover .card_back{
  transform: translateX(0%);
}

@media (max-width:700px) {
}


/* testimonials section */


.container{
  position: relative;
  padding-top: 0;
  width: 100%;
  min-height: 100vh;
}
.container .contents-wraper{
  width: 70%;
  min-height: inherit;
  margin: auto;
  text-align: center;
}

.contents-wraper .testRow{
  width: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
}
.testRow .testItem{
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.testRow .testItem:not(.active){
  top: 0;
  left: -100%;
}
.testRow .testItem .testImg{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  outline: 2px solid #BF307F;
  outline-offset: 2px;
}

.testRow .testItem h3{
  font-size: 30px;
  margin: 0px;
}

.testRow .testItem p{
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 10px;
}

.quotations{
  width: 30px;
  margin-bottom: 30px;
  border: none !important;
}

.contents-wraper .indicators{
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  cursor: pointer;
}
.contents-wraper .indicators .dot{
  width: 10px;
  height: 10px;
  margin: 0px 3px;
  border: 1px solid #aaa;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.5s ease;
}
.contents-wraper .indicators .active{
  background-color: #BF307F;
}
@keyframes next1{
  from{
    left: 0%;
  }
  to{
    left: -100%;
  }
}
@keyframes next2{
  from{
    left: 100%;
  }
  to{
    left: 0%;
  }
}

@keyframes prev1{
  from{
    left: 0%;
  }
  to{
    left: 100%;
  }
}
@keyframes prev2{
  from{
    left: -100%;
  }
  to{
    left: 0%;
  }
}

@media(max-width: 600px){
  .container .contents-wraper{
    width: 90%;
  }
  .contents-wraper .header h1{
    font-size: 32px;
  }
  .testRow .testItem h3{
    font-size: 26px;
  }
  .testRow .testItem p{
    font-size: 16px;
    letter-spacing: initial;
    line-height: initial;
  }
}


/* contact us form */

.box-contact {
  width: 100vw;
  height: 90vh;
  color: white;
  background: linear-gradient(
    180deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(21, 21, 54, 1) 35%,
    rgba(34, 36, 71, 1) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

#fcf-form {
  padding: 0 20px;
  width: 50vw;
  box-sizing: border-box;
}

.fcf-body {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  padding: 30px 30px 10px;
  margin: auto;
}

.fcf-form-group {
  margin-bottom: 1rem;
}

.fcf-btn-group {
  text-align: center;
  padding-top: 10px;
}

.fcf-input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.fcf-form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 30px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
  border-color: #313131;
}

input.fcf-form-control {
  font-family: "Raleway", sans-serif;
  padding-left: 20px;
  padding-right: 20px;
}

textarea.fcf-form-control {
  height: auto;
  font-family: "Raleway", sans-serif;
  padding: 10px 20px;
}

label.fcf-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding-left: 8px;
}

.fcf-credit {
  padding-top: 10px;
  font-size: 0.9rem;
  color: #545b62;
}

.fcf-credit a {
  color: #545b62;
  text-decoration: underline;
}

.fcf-credit a:hover {
  color: paleturquoise;
}

.fcf-btn {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid transparent;
  font-size: 18px !important;
  line-height: 1.5;
  border-radius: 30px !important;
  padding: 10px 30px !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .fcf-btn {
    transition: none;
  }
}

.fcf-btn:hover {
  color: #fff;
}

.fcf-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
  font-weight: 400;
  border: 2px solid white;
  background-color: rgba(2, 0, 36, 0.5);
  color: rgb(216, 141, 170);
  transition: all 0.5s;
  cursor: pointer;
}

.fcf-btn-primary:hover {
  background-color: rgba(2, 0, 36, 0.8);
  color: #BF307F;
}

.fcf-btn-primary:focus {
  color: #fff;
  background-color: paleturquoise;
  border-color: paleturquoise;
  box-shadow: paleturquoise;
}

.fcf-btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
}

input[type="submit"].fcf-btn-block, 
input[type="reset"].fcf-btn-block, 
input[type="button"].fcf-btn-block {
  width: 100%;
}

@media screen and (max-width: 900px) {
  #fcf-form{
    width: 70vw;
  }
}

@media screen and (max-width: 700px) {
  #fcf-form{
    width: 80vw;
  }
}


/* footer */

.footer{
background: rgba(34, 36, 71, 1) 100%;
padding:20px 0px;
font-family: 'Play', sans-serif;
text-align: center;
margin:0;
}

.footer .row{
width:100%;
margin:1% 0%;
padding:0.6% 0%;
color:#fff;
font-size:0.8em;
}

.footer .row a{
text-decoration:none;
color:#fff;
transition:0.5s;
}

.footer .row a:hover{
color:#BF307F;
}

.footer .row ul{
width:100%;
}

.footer .row ul li{
display:inline-block;
margin:0px 30px;
}

.footer .row a i{
font-size:2em;
margin:0% 1%;
}

@media (max-width:720px){
.footer{
padding:5%;
}
.footer .row ul li{
display:block;
margin:10px 0px;
}
.footer .row a i{
margin:0% 3%;
}
}

  