@import url('https://fonts.googleapis.com/css2?family=Poppins: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&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: linear-gradient(to bottom right, #322a65 1%, #000000 70%, #1a1636, #322a65);
    color: #ededed;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.navbar a{
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: 0.3s;
}

.navbar a:hover, .navbar a.active{
    color: #9081F6;
    animation: goyang 1.5s ease-in-out infinite;
}

.logo{
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}

.home{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10% 0;
}

.home-content{
    max-width: 600px;
}

.home-content h2{
    font-size: 30px;
    font-weight: 600;
}

.home-content .btn-box{
    width: 345px;
    height: 50px;
    background-color: antiquewhite;
}

.home-img img{
    margin-left: 100px;
    margin-bottom: 50px;
    max-width: 300px;
    mask-image: linear-gradient(to top, rgba(1, 1, 1, 0) 5%, rgba(1, 1, 1, 1) 50%);
    -webkit-mask-image: linear-gradient(to top, rgba(1, 1, 1, 0) 5%, rgba(1, 1, 1, 1) 50%);
}

.socmed a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #9081F6;
    border-radius: 50%;
    font-size: 20px;
    color: #9081F6;
    text-decoration: none;
    margin: 20px 0 25px 0;
    margin-inline-end: 10px;
    transition: 0.5 ease;
}

.cv{
    display:inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    background: transparent;
    border: 2px solid #9081F6;
    color: #fff;
    transition: 0.5 ease;
}

.socmed a:hover{
    background: #9081F6;
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 0 20px #483c91;
    animation: goyang 1.5s ease-in-out infinite;
}

.cv:hover{
    background: #9081F6;
    transform: scale(1.1);
    box-shadow: 0 0 20px #483c91;
    color: #fff;
    animation: goyang 1.5s ease-in-out infinite;
}

#typing-text {
    font-size: 4.5em;
    border-right: 3px solid black;
    color: #9081F6;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    from,
    to {
        border-color: black;
    }
    50% {
        border-color: white;
    }
}

.about{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10% 0;
    margin-bottom: 0;
}

.about-content h3{
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
}

.about-content h1{
    text-align: center;
    margin: 20px;
    font-size: 50px;
}

.about-content p{
    text-align: justify;
    margin: 20px;
}

@keyframes goyang {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.project-container {
    display: flex;
    justify-content: space-around;
}

.project {
    margin: 10px 30px;
    border-bottom: 10px solid #483c91;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ededed;
}

.project-title {
    color: #fff;
    font-weight: bold;
}

.skill-container {
    text-align: center;
    padding: 5px;
}

.skill-title {
    text-align: center;
    font-size: 30px;
    margin-top: 80px;
    margin-bottom: 70px;
}

.skills-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.skill-item {
    box-shadow: 0 0 3px #ededed;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
}

.skill-item h4{
    color: #483c91;
}

.skill-item img {
    width: 200px;
    height: 180px;
    object-fit: cover;
}

.work-container {
    text-align: center;
    padding: 5px;
}

.work-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 70px;
}

.work-detail{
    margin: 10px auto 30px auto;
    border-bottom: 10px solid #483c91;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ededed;
    width: 50%;
    transition: transform 0.3s ease;
}

.work-detail:hover {
    transform: scale(1.05);
  }

.work-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.work-item {
    box-shadow: 0 0 3px #ededed;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
}

.work-item h4{
    color: #483c91;
}

.work-item img {
    width: 200px;
    height: 180px;
    object-fit: cover;
}

.organization-container {
    text-align: center;
    padding: 5px;
}

.organization-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
    margin-top: 80px;
}

.organization-detail-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.organization-detail{
    flex: 0 0 35%;
    max-width: 450px;
    margin: 10px auto 30px auto;
    border-bottom: 10px solid #483c91;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ededed;
    width: 50%;
    transition: transform 0.3s ease;
}

.organization-detail:hover {
    transform: scale(1.05);
}

.organization-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.organization-item {
    box-shadow: 0 0 3px #ededed;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
}

.organization-item h4{
    color: #483c91;
}

#my-project {
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
    margin-top: 130px;
}

.article {
    max-width: 100%;
}

.article-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 70px;
}

.certificates-container {
    text-align: center;
    padding: 5px;
    position: relative;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
}

.certificates-title {
    text-align: center;
    margin-bottom: 70px;
}

.certificates-name {
    text-align: center;
}

.certificates-detail{
    margin: 10px auto 30px auto;
    border-bottom: 10px solid #483c91;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ededed;
    width: 50%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.certificates-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.certificates-item {
    box-shadow: 0 0 3px #ededed;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
}

.certificates-item h4{
    color: #483c91;
}

.certificates-item img {
    width: 200px;
    height: 180px;
    object-fit: cover;
}

.certificates-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #483c91;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}
  
.prev {
    left: 0;
}

.next {
    right: 0;
}

.projects-container {
    text-align: center;
    padding: 5px;
}

.projects {
    color: #fff;
    font-weight: bold;
    margin-top: 125px;
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
}

.projects-title {
    color: #fff;
    font-weight: bold;
}

.projects-detail-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.projects-detail{
    flex: 0 0 35%;
    max-width: 450px;
    margin: 10px auto 30px auto;
    border-bottom: 10px solid #483c91;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ededed;
    width: 50%;
    transition: transform 0.3s ease;
}

.projects-detail:hover {
    transform: scale(1.05);
}

.projects-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.projects-item {
    box-shadow: 0 0 3px #ededed;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
}

.projects-item h4{
    color: #483c91;
}

.contact {
    text-align: center;
    padding: 5px;
}

.contact-title {
    color: #fff;
    font-weight: bold;
    margin-top: 125px;
    text-align: center;
    font-size: 30px;
    margin-bottom: 5px;
}

.home-contact{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10% 0;
    margin-bottom: 30px;
}

.contact-container {
    max-width: 800px; /* sebelumnya 600px */
    width: 100%; 
    margin: 0 auto;
    padding: 20px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: white;
  }
  
  .contact-container h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .contact-container form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-container label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .contact-container input,
  .contact-container textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
    background-color: #f2f2f2;
    color: #000;
  }
  
  .contact-container button {
    padding: 10px;
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .contact-container button:hover {
    background-color: #574fd6;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: white;
    color: black;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
  }
  
  .close-button {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
  }
  