html, body {
    background-color: rgb(255, 250, 250);
    position: relative;
    margin: 0;
    height: 100%;
    padding: 0;
    scroll-behavior: smooth;
    padding-top: 0;
}


.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    pointer-events: none;
}


header {
    font-family: Times New Roman;
    background-color: rgb(31, 73, 89, 0.8);
    color: white;
    padding: 1px 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
    pointer-events: auto;
}


header.hide {
    transform: translateY(-100%);
}


h1 a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.navbar {
    display: flex;
    flex: 1;
    align-items: center;
}


.menu {
    display: flex;
    list-style: none;
    flex: 1;
    justify-content: center;
    margin: 0;
    gap: 38px;
}


nav ul li a {
    text-decoration: none;
    color: rgb(218, 239, 232);
    font-size: 25px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}


nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    bottom: -4px;
    height: 2px;
    background-color: rgb(218, 239, 232);
    transition: width 0.4s ease-in-out;
}


nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}


.contact {
    display: flex;
    list-style: none;
    margin-left: 320px;
}


.embla__wrapper {
    position: relative;
    overflow: hidden;
}


.typed-overlay {
    position: absolute;
    top: 35%;
    text-align: center;
    font-family: monospace;
    width: 100vw;
    color: white;
    font-size: 50px;
}


.embla {
    overflow: hidden;
    width: 100vw;
}


.embla__container {
    display: flex;
    transition: transform 1.0s ease-in-out;
}


.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    height: 980px;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}


.embla__slide img.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transform: translateY(-100px);
    transition: transform 0.2s ease-out;
    will-change: transform;
}


.CV {
    margin: auto;
    text-align: center;
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    font-size: 25px;
    border-radius: 35px;
    background-color: rgb(1, 20, 37);
    padding: 20px;
    width: 175px;
}


.cv-box {
    text-decoration: none;
    color: whitesmoke;
}


.edu-head h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    text-align: center;
    color: rgb(92, 124, 137);
}


.education {
    position: relative;
    margin: auto;
    width: 900px;
    height: 390px;
    box-shadow: 0 4px 10px rgb(1, 20, 37, 0.2);
}


.logo-makara {
    position: absolute;
    top: 40px;
    left: 100px;
    scale: 2.5;
}


.logo-sman3 {
    position: absolute;
    height: 100px;
    width: 100px;
    top: 200px;
    left: 65px;
}


.uni {
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    position: absolute;
    font-size: 30px;
    top: 15px;
    left: 180px;
}


.uni-ex {
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    position: absolute;
    list-style-type: none;
    font-size: 23px;
    font-weight: 150;
    top: 25px;
    left: 140px;
}


.hi-sch {
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    position: absolute;
    font-size: 30px;
    top: 210px;
    left: 180px;
}


.sch-ex {
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    position: absolute;
    list-style-type: none;
    font-size: 23px;
    font-weight: 150;
    top: 220px;
    left: 140px;
}


.pro-head h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    text-align: center;
    color: rgb(92, 124, 137);
}


.project {
    position: relative;
    border: 5px solid rgb(31, 73, 89);
    border-radius: 5px;
    margin: auto;
    width: 1000px;
    height: 400px;
}


.embla2 {
  max-width: 900px;
  margin: auto;
}


.embla2__viewport {
  overflow: hidden;
  width: 100%;
}


.embla2__container {
  display: flex;
}


.slide__project1 {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.project1 {
    position: relative;
    margin: auto;
    width: 900px;
    height: 400px;
    background-color: rgb(1, 20, 37);
}


.pro_head1 {
    position: absolute;
    top: 75px;
    left:350px;
    color: white;
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    font-size: 30px;
}


.project1_photo {
    margin-top: 75px;
    margin-left: 50px;
    height: 250px;
}


.pro_desc1 {
    position: absolute;
    top: 130px;
    left: 350px;
    width: 500px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    font-size: 20px;
    text-align: justify;
}


.pro1_c_logo {
    position: absolute;
    height: 50px;
    right: 20px;
    bottom: 20px;
}


.slide__project2 {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.project2 {
    position: relative;
    margin: auto;
    width: 900px;
    height: 400px;
    background-color: rgb(92, 124, 137);
}


.pro_head2 {
    position: absolute;
    top: 75px;
    left:450px;
    color: white;
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    font-size: 30px;
}


.project2_photo {
    margin-top: 75px;
    margin-left: 30px;
    width: 400px;
}


.pro_desc2 {
    position: absolute;
    top: 130px;
    left: 450px;
    width: 400px;
    color: rgba(255, 255, 255, 0.95);
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    font-size: 20px;
    text-align: justify;
}


.js_logo {
    position: absolute;
    height: 50px;
    right: 20px;
    bottom: 20px;
}


.css_logo {
    position: absolute;
    height: 50px;
    right: 90px;
    bottom: 20px;
}


.html_logo {
    position: absolute;
    height: 50px;
    right: 160px;
    bottom: 20px;
}


.slide__project3 {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.project3 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: auto;
    width: 900px;
    height: 400px;
    background-color: rgb(1, 20, 37);
}


.pro_desc3 {
    font-family: "Gill Sans", "Segoe UI", Calibri, sans-serif;
    color: rgb(255, 255, 255);
    font-size: 45px;
    font-weight: lighter;
    font-style: italic;
}


.nav-wrapper {
    position: relative;
    display: flex;
    top: 15px;
    justify-content: space-between;
    align-items: center;
}


.embla2__prev,
.embla2__next {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.5s ease;
}


.embla2__prev img,
.embla2__next img {
    width: 60px;
    height: 60px;
}


.embla2__prev:hover ,
.embla2__next:hover {
    background: rgb(1, 20, 37);
}


.embla2__prev:hover img,
.embla2__next:hover img {
    filter: invert(1);
}


.car-head h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    text-align: center;
    color: rgb(92, 124, 137);
}


.career {
    font-size: 50px;
    color: rgb(36, 36, 36);
    font-family: 'Times New Roman', Times, serif;
    font-weight: 550;
    font-style: italic;
    text-align: center;
}


.spacer {
    height: 200px;
}


.spacer1 {
    height: 50px;
}


footer {
    bottom: 0;
    font-family: Sans-serif;
    background-color: rgb(1, 20, 37);
    color: white;
    font-size: 20px;
    width: 100%;
    padding-top: 1px;
    padding-bottom: 5px;
}


.footer-container h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
    margin-left: 20px;
    margin-bottom: 60px;
}


.footer-container ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin-left: 20px;
    gap: 30px;
}


.footer-container ul li a {
    font-size: 25px;
    color: rgb(218, 239, 232);
    text-decoration: none;
    transition: text-decoration-color 0.5s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
}


.footer-container ul li a:hover {
    color: rgba(218, 239, 232, 1);
    text-decoration-color: rgba(218, 239, 232);
}


.footer-container p {
    color: white;
    font-size: 15px;
    text-align: center;
}