*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: "Pixelify Sans", sans-serif;
    /* background-image: url('image/bg4.jpeg');
    background-size: cover;
    background-repeat: no-repeat; */
   
}
.header{
    background-color: #ffcccc;
    border: 3px dotted #ff8baad9;
    width: 100%;
    display: flex;
    position: sticky;
    top: 0;
    backdrop-filter: blur(3px);
    z-index: 100;
}
.header-left{
    width: 50%;
    height: 60px;
    line-height: 2;
    margin-left: 50px;
}
.header-left a{
    font-size: 30px;
    color: #d93a8ad9;
    text-decoration: none;
}
.header-left a:hover{
    text-decoration: underline;
}
.header-right{
    width: 50%;
    height: 60px;
    text-align: end;
    line-height: 3;
    font-size: 20px;
    margin-right: 50px;
}
.header-right a{
    padding-right: 30px;
    text-decoration: none;
    color: #d93a8ad9;
    font-weight: bold;
}
.header-right a:hover{
    text-decoration: underline;
}
/* description */
#description{
    height: 95vh;
    width: 100%;
    display: flex;
    background-color: rgba(0, 0, 0, 0.918);
}
.descript-left{
    padding: 15% 0%;
    padding-left: 7%;
    width: 50%;
    color: white;
}
.descript-left > h1{
    font-size: 37px;
}
.descript-left > p{
    font-size: 20px;
    margin-top: 14px;
    line-height: 25px;
}
.descript-left > button{
    margin-top: 25px;
    border: 1px solid ;
    background-color: #ffcccc;
    border-radius: 16px;
    font-size: 14px;
    font-family: "Pixelify Sans", sans-serif;
    width: 170px;
    height: 37px;
}
.descript-left > button:hover{
    background-color: #ff8baad9;
    color: white;
    cursor: pointer;
}
.descript-right > img{
    width: 550px;
    height: auto;
}
.descript-right{
    padding: 6% 0%;
    padding-left: 110px;
    width: 50%;
}


/* my-project */
#project{
    width: 100%;
    height: 100vh;
    display: flex;
}
.project-left > img{
    width: 400px;
    height: 500px;
}
.project-left{
    width: 30%;
    padding: 5% 0%;
    padding-left: 2.3%;
}
.project-right{
    width: 70%;
    padding: 5% 0%;
    padding-right: 2.3%;
    /* display: flex; */
    /* flex-wrap: wrap; */
}
.web-project{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}
picture > img{
    width: 380px;
    height: 230px;
}

.portfolio{
    border: 1px solid;
    border-color: white;
    box-shadow: 5px 8px 8px 5px rgba(0, 0, 0, 0.517);
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    transition: all 0.4s linear;
}
.portfolio:hover{
    transform: translateY(-10px);
}
.grade12-calculate{
    border: 1px solid;
    border-color: white;
    box-shadow: 5px 8px 8px 5px rgba(0, 0, 0, 0.517);
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    transition: all 0.4s linear;
}
.grade12-calculate:hover{
    transform: translateY(-10px);
}
.user-login{
    border: 1px solid;
    border-color: white;
    box-shadow: 5px 8px 8px 5px rgba(0, 0, 0, 0.517);
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    transition: all 0.4s linear;
}
.user-login:hover{
    transform: translateY(-10px);
}

/* contact */
#contact-part{
    width: 100%;
    height: 55vh;
    /* background-color: rgba(0, 0, 0, 0.918); */
}
#contact-part > h1{
    text-align: center;
    padding-top: 5%;
    font-size: 40px;
}
.icon{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    padding-top: 5%;
}
.icon > a > i{
    font-size: 40px;
    color: #d93a8ad9;
}
/* foot */
.footer{
    width: 100%;
    height: 60px;
    background-color: #ffcccc;
    border: 3px dotted #ff8baad9;
    text-align: center;
    font-size: 20px;
    color: #d93a8ad9;
}
/* ----------- Large Desktop (1200px and up) ----------- */
@media (min-width: 1200px) {
    .descript-left h1 {
      font-size: 40px;
    }
    .descript-left > h1 > marquee{
        scrollamount: 0;
    }
    .descript-right img {
      width: 550px;
    }
  }
  
  /* ----------- Desktop / Laptop (1024px to 1199px) ----------- */
  @media (max-width: 1199px) {
    .descript-left h1 {
      font-size: 35px;
    }
    .descript-left > h1 > marquee{
        scrollamount: 0;
    }
    .descript-right img {
      width: 500px;
    }
    picture > img {
      width: 350px;
    }
  }
  
  /* ----------- Tablet (768px to 1023px) ----------- */
  @media (max-width: 1023px) {
    .header {
      flex-direction: column;
      align-items: center;
      height: auto;
    }
  
    .header-left,
    .header-right {
      width: 100%;
      text-align: center;
      margin: 0;
    }
  
    .header-right {
      padding: 10px 0;
    }
  
    #description {
      flex-direction: column;
      height: auto;
      padding: 40px 0;
    }
  
    .descript-left,
    .descript-right {
      width: 100%;
      text-align: center;
      padding: 5% 5%;
    }
  
    .descript-right img {
      width: 350px;
      height: auto;
    }
  
    #project {
      flex-direction: column;
      height: auto;
    }
  
    .project-left,
    .project-right {
      width: 100%;
      text-align: center;
      padding: 5%;
    }
  
    .project-left img {
      width: 80%;
      height: auto;
    }
  
    picture > img {
      width: 90%;
      height: auto;
    }
  
    #contact-part {
      height: auto;
      padding-bottom: 30px;
    }
  
    .icon {
      flex-wrap: wrap;
      gap: 30px;
      padding-top: 30px;
    }
  
    .footer {
      font-size: 16px;
      height: auto;
      padding: 10px;
    }
  }
  
  /* ----------- Mobile Landscape (480px to 767px) ----------- */
  @media (max-width: 767px) {
    .descript-left h1 {
      font-size: 28px;
    }
    .descript-left > h1 > marquee{
        scrollamount: 0;
    }
    .descript-left p {
      font-size: 16px;
    }
  
    .descript-left button {
      font-size: 14px;
      width: 150px;
      height: 35px;
    }
  
    .descript-right img {
      width: 270px;
    }
  
    picture > img {
      width: 95%;
    }
  
    .icon i {
      font-size: 30px;
    }
  }
  
  /* ----------- Mobile Portrait (max-width: 479px) ----------- */
  @media (max-width: 479px) {
    .header-left a {
      font-size: 20px;
    }
  
    .header-right a {
      font-size: 14px;
      padding: 5px;
    }
  
    .descript-left h1 {
      font-size: 22px;
    }
    .descript-left > h1 > marquee{
        scrollamount: 0;
    }
  
    .descript-left p {
      font-size: 13px;
    }
  
    .descript-left button {
      font-size: 12px;
      width: 130px;
      height: 32px;
    }
  
    .descript-right img {
      width: 200px;
    }
  
    picture > img {
      width: 90%;
      height: auto;
    }
   #contact-part > h1 {
      font-size: 24px;
    }
    .footer {
      font-size: 13px;
    }
  }
  