@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Emblema+One&display=swap');

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

:root{
    --bg-color:#1e2c39;
    --main-color:#ef0138;
    --font-color: #48455a;
    --font:"Kanit", sans-serif;
    --font-2:"Emblema One", system-ui;
}

body{
  background: #f9f9f9;
}

a{
    text-decoration: none;
}

/* Heading Design */
.heading{
  font-size: 60px;
  font-family: var(--font-2);
  color: var(--font-color);
}

.heading span{
  color: var(--main-color);
}

header{
    width: 100%;
    height: fit-content;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    overflow: hidden;
}

.logo{
    color: var(--font-color);
    font-family: "Emblema One", system-ui;
    font-size: 40px;
    font-weight: 700;

}

.logo span{
    color: var(--main-color);
}


header nav a{
    margin: 0 20px;
    color: var(--font-color);
    font-family: var(--font);
    font-size: 18px;
    position: relative;
    transition: all .4s ease;

}

header nav a::after{
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    top: 25px;
    left: 0;
    background: #ea0340;
    transition: all .4s ease;
    
}

header nav a:hover{
    color: var(--main-color);
}

header nav a:hover::after{
    width: 60%;
}
.active{
    color: var(--main-color);
}
.active::after{
    color: var(--main-color);
    width: 60%;
}

#menu{
  display: none;
}

#hide-nav{
  display: none;
}

header #nav-tbn{
  display: none;
}

/* hero-section Design */

.hero-section{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap-reverse;
  padding: 10px 100px;
  
}

.hero-section .hero-img{
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section .hero-img img{
  width: 70%;
}

.hero-section .hero-content{
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;

}

.hero-section .hero-content h2{
  font-size: 35px;
  font-family: var(--font);
  color: var(--font-color);
  margin-bottom: 20px;

}

.hero-section .hero-content span{
  font-size: 28px;
  font-family: var(--font);
  color: #48455a;
}

.hero-section .hero-content p{
  font-family: var(--font);
  color: #48455a;
  font-size: 20px;
  margin-bottom: 50px;
}

.hero-section .hero-content > button a{
  color: #fff;
}

.hero-section .social-icon{
  display: flex;
  gap: 15px;
  height: 46px ;
  margin-bottom: 20px;
}

.hero-section .social-icon .icons{
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: var(--main-color);
  color: white;
  cursor: pointer;
  transition: all .4s ease;
  box-shadow: 1px 1px 5px 1px #1e2c3978;
  border: 1px solid var(--main-color);
}

.hero-section .social-icon .icons:hover{
  background: var(--bg-color);
  transform: translateY(-4px);
  border: 1px solid var(--bg-color);
}

/* About Me Design */

.about-me{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px 100px;
}

.about-me .about-img{
  width: 50%;
}

.about-me .about-img img{
  width: 80%;
}


.about-me .about-content{
  width: 47%;

}

.about-me .about-content h2{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--font-color);
  font-size: 35px;
  margin-bottom: 20px;
}

.about-me .about-content > p{
  font-family: var(--font);
  color: #676767;
  font-size: 18px;
  margin-bottom: 55px;
}

.about-me .about-content .infos{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.infos .info p{
  font-family: var(--font);
  font-weight: 500;
  color: var(--font-color);
  font-size: 19px;
  margin-bottom: 20px;
}

.infos .info p span{
  font-weight: 300;
  font-family: var(--font);
  margin-left: 15px;
  color: #676767;
}


.about-btns{
  display: flex;
  width: 50%;
  justify-content: space-between;
  margin-top: 40px;
}

.about-btns .contact-btn{
  background: var(--main-color);
  
}

.about-btns .contact-btn a{
  color: #fff;
}

/* services Design */

.services{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.services > p{
  font-family: var(--font);
  font-size: 19px;
  color: #676767;
}

.services-cards{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.services-cards .card{
  width: 350px;
  height: 350px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
  box-shadow: 1px 5px 5px 1px #11111123;
  text-align: center;
  padding: 20px;
  font-family:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  transition: all .4s ease;
  cursor: pointer;
}

.services-cards .card:hover{
  transform: translateY(-7px);
}

.services-cards .card h4{
  font-family: var(--font-2);
  color: #f2f2f2;
  font-size: 26px;
}

.services-cards .card p{
  font-size: 14px;
  color: #ffffff;
}

.services-cards .card img{
  width: 40%;
}

.services-cards .ui{
  background: var(--main-color);
  color: #fff;
}

.services-cards .ui p{
  color: #fff;
}

.services-cards .dev{
  background: #efc301;
  color: #48455a;
}

.services-cards .dev h4, .services-cards .dev p{
  color: #1c1b1d;
}

.services-cards .seo{
  background: #0180ef;
}

/* My skills Design */

.skills{
  width: 100%;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.skills-cards{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.skill-card{
  width: 150px;
  height: 150px;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  background: #ffffff;
  transition: all .4s ease;
  box-shadow: 1px 5px 5px 1px #11111123;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

.skill-card p{
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.css-img{
  padding: 10px;
  border-radius: 100px;
  background: #ffffff;
  width: 50%;
  height: 50%;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
}

.skill-card img{
  width: 100%;
  transition: all .4s ease;
  /* padding: 0px;
  border-radius: 100px;
  background: #ffffff; */
  
}

.skill-card p{
  font-family: var(--font-2);
}

.skill-card:hover{
  background: var(--main-color);
  transform: scale(105%);
  padding: 20px;
  color: #ffffff;
}


/* discuss Design */

.main-discuss{
  width: 100%;
  height: 70vh;
  margin-top: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discuss{
  width: 100%;
  height: 400px;
  background: #48455a;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-end;
  padding-bottom: 100px;
}

.discuss .first-card{
  width: 100%;
  height: 250px;
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discuss-card{
  width: 60%;
  height: 100%;
  border-radius: 22px;
  background: url(../images/discuss.jpg);
  background-size: cover;
  background-position: center;
}

.discuss-card .d-card{
  background: #00000061;
  backdrop-filter: blur(3px);
  width: 100%;
  height: 100%;
  border-radius: 15px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  color: #ffffff;
}

.d-card .h-p h4{
  font-family: var(--font-2);
  font-size: 40px;
  margin-bottom: 15px;
}

.d-card .h-p p{
  font-family: var(--font);
  font-size: 20px;
}

.d-card button{
  background: var(--main-color);
}


.p-c{
  width: 300px;
  height: 150px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  color: #ffffff;
}

.p-c img{
  width: 35%;
}

.p-c-content h2{
  font-family: var(--font-2);
  font-size: 45px;
  
}

.p-c-content p{
  font-family: var(--font);
  font-size: 20px;

}

/* portfolio Design */

.portfolio{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

.portfolio > p{
  font-family: var(--font);
  font-size: 18px;
}

.portfolio-projects{
  width: 90%;
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.portfolio-projects .project{
  width: 420px;
  height: 200px;
  border-radius: 10px;
  background: url(../images/meifoods-v2.png);
  background-position: center;
  background-size: cover;
  position: relative;
  transition: all .4s ease;
  box-shadow: 1px 5px 5px 1px #11111123;

}

.portfolio-projects .weather{
  background: url(../images/weather-app.png);
  background-position: center;
  background-size: cover;
}

.portfolio-projects .burger{
  background: url(../images/meifoods-v2-3.png);
  background-position: center;
  background-size: cover;
}

.project-info{
  width: 100%;
  height: 100%;
  background: #1c1b1d83;
  backdrop-filter: blur(5px);
  transform: scale(0);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transition: all .6s ease;
  border-radius: inherit;
  gap: 30px;

}

.project-info button{
  background: var(--main-color);
}

.project-info p{
  font-family: var(--font);
  font-size: 18px;
  color: #ffffff;
  padding-left: 8px;
  border-left: 3px solid var(--main-color);
}

.project:hover{
  .project-info{
    transform: scale(100%);
  }
}



/* Pricing Design */

.pricing{
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.pricing p{
  font-family: var(--font);
  font-size: 20px;
}

.pricing-cards{
  width: 80%;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.pricing-card{
  width: 300px;
  height: 480px;
  background: #474bff;
background: -webkit-linear-gradient(0deg, #474bff 0%, #bc48ff 100%);
background: linear-gradient(0deg, #474bff 0%, #bc48ff 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #ffffff;
  box-shadow: 1px 5px 5px 1px #11111123;


}

.title-p-card{
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 20px;
  width: 50%;
  justify-content: flex-start;
  
}

.title-p-card >p{
  font-size: 30px;
  text-transform: uppercase;
}

.price{
  width: 80%;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 20px;
  background: #ffffff;
  color: #bc48ff;
}

.price > h4{
  font-family: var(--font-2);
  font-size: 35px;
}

.p-serve{
  width: 100%;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.p-serve p{
  margin: 5px 0;
}

.start-now{
  background: transparent;
  border: 2px solid #ffffff;
  margin: 5px auto;
}

.basic{
  background: #356a6c;
background: -webkit-linear-gradient(0deg, #356a6c 0%, #1ce39d 100%);
background: linear-gradient(0deg, #356a6c 0%, #1ce39d 100%);
}

.basic .price{
  color:#356a6c ;
}

.standard{
  background: #f4399d;
background: -webkit-linear-gradient(0deg, #f4399d 0%, #f4b170 100%);
background: linear-gradient(0deg, #f4399d 0%, #f4b170 100%);

}

.standard .price{
  color: #f4399d;
}

.premium{
  background: #261d61;
background: -webkit-linear-gradient(0deg, #261d61 0%, #6595f3 100%);
background: linear-gradient(0deg, #261d61 0%, #6595f3 100%);

}

.premium .price{
  color: #261d61;
}



/* contact Design */

.contact{
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
}

.contact > p{
  font-family: var(--font);
  font-size: 20px;
}

.contact-cards{
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 40px;
}

.contact-card{
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  gap: 20px;
  box-shadow: 1px 5px 5px 1px #11111123;
  
}

.contact-card:hover{
  .contact-icon{
    background: var(--main-color);
    transform: translateY(-5px);
  }
}

.contact-icon{
  width: 45px;
  height: 45px;
  background: var(--bg-color);
  border-radius: 100px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  box-shadow: 1px 5px 5px 1px #11111123;
  transition: all .4s ease;
}

.contact-info{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.contact-info h4{
  font-family: var(--font-2);
  font-size: 20px;
  margin: 10px 0;
}

.contact-info p{
  font-family: var(--font);
  color: #676767;
}

.form-img{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding: 20px 150px;
}

.contact-form{
  width: 50%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.name-emil, .subject-file{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.contact-form input{
  width: 45%;
  height: 50px;
  border-radius: 100px;
  background: #dfdfdf;
  padding-left: 20px;
  border: none;
  outline: none;
}

.file{
  display: flex;
  align-items: center;
  width: 45%;
  height: 50px;
  background: #dfdfdf;
  border-radius: 100px;
}

.file input{
  width: 100%;
  height:fit-content ;
}

.contact-img{
  width: 47%;
}

.contact-img img{
  width: 80%;
}

.text-area{
  width: 100%;
  height: 200px;
  border-radius: 30px;
  padding: 20px;
  background: #dfdfdf;
  border: none;
  outline: none;
}

textarea::placeholder{
  font-size: 17px;
}

input::placeholder{
  font-size: 15px;
}

.contact-form button{
  background: var(--main-color);
}

footer{
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fbfbfb35;
  color: #1c1b1d;
  font-family: var(--font-2);
  border-top: 1px solid;
}


/* From Uiverse.io by satyamchaudharydev */ 
button {
    --primary-color: #0d1b3b;
    --secondary-color: #fff;
    --hover-color: #111;
    --arrow-width: 10px;
    --arrow-stroke: 2px;
    box-sizing: border-box;
    border: 0;
    border-radius: 20px;
    color: var(--secondary-color);
    padding: 1em 2em;
    background: var(--primary-color);
    display: flex;
    transition: 0.2s background;
    align-items: center;
    gap: 0.6em;
    font-weight: bold;
    cursor: pointer;
    transition: all .4s ease;
  }
  
  button .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  button .arrow {
    margin-top: 1px;
    width: var(--arrow-width);
    background: var(--primary-color);
    height: var(--arrow-stroke);
    position: relative;
    transition: 0.2s;
  }
  
  button .arrow::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: solid var(--secondary-color);
    border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
    display: inline-block;
    top: -3px;
    right: 3px;
    transition: 0.2s;
    padding: 3px;
    transform: rotate(-45deg);
  }
  
  button:hover {
    background-color: var(--bg-color);
    transform: translateY(-5px);
  }
  
  button:hover .arrow {
    background: var(--secondary-color);
  }
  
  button:hover .arrow:before {
    right: 0;
  }









  