@import url('https://fonts.googleapis.com/css2?family=Konkhmer+Sleokchher&family=Roboto&family=Ubuntu&display=swap');

* {
    margin: 0;
    padding: 0;
}

.heading {
    font-family: 'Ubuntu', sans-serif;
}

.nav > li > a {
    font-family: 'Konkhmer Sleokchher', cursive;
}

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.active {
    font-family: 'Ubuntu', sans-serif;
}

.nav {
    list-style-type: none;
}

.nav > li {
    display: inline-block;
    margin: 35px;
}

.nav > li > a {
    text-decoration: none;
    color: white;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: white;
  }
  
  .hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    z-index: 100;
}

.nav-transparent {
    background-color: rgba(0, 0, 0, 0);

}

.nav-colored {
    background-color: black;
}

.section  {
    height: 100vh;
    max-height: 100vh;
    background-color: black;
    color: white;
}

#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.text {
    z-index: 1;
    margin-top: 0px;
}

#home > .text {
    color: white;
}

.text > h1 {
    margin: 30px;
    font-size: 65px;
}

.text > p {
    margin: 30px 0px;
    font-size: 20px;
}

#work {
    height: 60px;
    width: 180px;
    background-color: black;
    border: 4px solid white;
    color: white;
    border-radius: 17px;
}

#work:hover {
    transition: 0.5s ease-in-out;
    color: black;
    background-color: white;
}

#about-me {
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-me > img {
    height: 419px;
    width: 304px;
}

#about-me > .text{
    width: 561px;
    margin-right: 350px;
    line-height: 26px;
    text-align: justify;
}

#special-text {
    letter-spacing: 3px;
    word-spacing: 2px;
    font-size: 17px;
}

#about-me > .text > p > span > a{
    color: white;
}

#drive {
    text-align: center;
    font-size: 25px;
    margin: 0 0 90px 20px;
}

#drive > span {
    color: red;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 2px;
}

#skills > h1{
    position: relative;
    top: 120px;
    text-align: center;
    font-size: 38px;
}


.box  {
    background-color: white;
    height: 110px;
    width: 110px;
    border-radius: 100px;
    margin-left: 80px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    top: 137px;;
    left: -130px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box > img {
    border-radius: 70px;
    height: 50px;
    width: 50px;
}

#js > img {
    height: 50px;
    width: 90px;
}

#web-dev {
    color: black;
    font-size: 40px;
}

.box:hover + .status > .progress{
    background-color: yellow;
    box-shadow: 0px 0px 6px 2px yellow;
}

.box:hover {
    cursor: pointer;
}


.inner {
    display: flex;
    flex-direction: row;
}

.status {
    background-color: aliceblue;
    height: 20px;
    width: 900px;
    position: relative;
    top: 40px;
    left: 80px;
}

.inner > .text {
    margin-top: 118px;
    position: relative;
    font-size: 26px;
    bottom: 85px;
    left: 122px;
}

.progress {
    background-color: rgb(234, 255, 114);
    height: 20px;
}

#inner-js > .status > .progress {
    width: 315px;
}

#inner-py > .status > .progress {
    width: 630px;
}

#inner-web-dev > .status > .progress {
    width: 360px;
}

#inner-c > .status > .progress {
    width: 585px;
}

.cards {
    height: 200px;
    width: 400px;
    background-color: black;
    margin: 20px 87px 50px 60px;
    border-radius: 5px;
}


.card-container {
    position: relative;
    top: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#my-works > h1 {
    position: relative;
    top: 120px;
    text-align: center;
    font-size: 40px;
}

.inner-card {
    height: 200px;
    width: 380px;
    margin: 10px;
    border: 2px solid white;
    border-radius: 4px;
    color: white;
}

.inner-card > p {
    margin-left: 10px;
    text-align: justify;
    width: 350px;
}

.inner-card > h3 {
    font-size: 24px;
    margin: 13px;
}

h3 > a {
    color: white;
}

.links > img {
    height: 33px;
    width: 33px;
}

.inner-contact {
    position: relative;
    top: 120px;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.inner-contact > h1 {
    font-size: 40px;
    margin-bottom: 100px;
}

.inner-inner-contact {
    height: 360px;
    width: 1000px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.links{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    height: 60px;
    width: 450px;
}

.inner-inner-contact > a {
    margin: 23px;
    color: white;
    text-decoration: none;
}

footer {
    position: relative;
    bottom: -200px;
    text-align: center;
    margin: 5px;
    font-size: 17px;
}


#background {
    position: absolute;
    height: 100vh;
    width: 99vw;
    z-index: 1;
}

.gradient {
    height: 100vh;
    position: absolute;
    z-index: 1;
    width: 99vw;
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgb(0, 0, 0));
}