* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Raleway', sans-serif !important;
    background: #1f1f38;
    color: #fff;
    line-height: 1.7;
    background-image: url(image/bg.png);
    /* overflow: hidden; */
}

/* Hero */

#hero {
    margin-top: 30px;
    padding-top: 20px;
}

#hero .h-1, 
#about h5,
#skill h5,
#project h5,
#contact h5 {
    font-size: 14px;
    font-weight: 300;
}

#hero .h-2,
#about h2,
#skill h2,
#project h2,
#contact h2 {
    font-weight: 500;
}

#hero .h-3 {
    font-size: 12px;
    color: #999;
}

#hero .hero-btn {
    margin-top: 25px;
}

#hero .hero-me {
    background: linear-gradient(#0B5ED7, transparent);
    width: 22rem;
    height: 30rem;
    border-radius: 12rem 12rem 0 0;
    margin: auto;
    overflow: hidden;
    margin-top: 4rem;
}

nav {
    background: rgba(0, 0, 0, 0.3);
    width: max-content;
    display: block;
    padding: 0.7rem 1.7rem;
    z-index: 1030;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem;
    position: fixed;
    gap: 0.8rem;
    border-radius: 3rem;
    backdrop-filter: blur(15px);
}

nav a {
    background: transparent;
    padding: 0.9rem;
    border-radius: 50%;
    color: #999;
    font-size: 1.1rem;
}

nav a:hover {
    background: rgba(0, 0, 0, 0.3);
}

nav a.active {
    background: #1f1f38;
    color: #fff;

}

/* About Us */

#about {
    margin-top: 80px !important;
    padding-top: 20px !important;
}

#about .about-me{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 2rem;
    background: linear-gradient(45deg, transparent, #0B5ED7, transparent);
    display: grid;
    place-items: center;
}

#about .about-img-me {
    background: linear-gradient(45deg, transparent, #0B5ED7, transparent);
    width: 100%;
    aspect-ratio: 1/1;
    place-items: center;
    display: grid;
    border-radius: 2rem;
    overflow: hidden !important;
    transform: rotate(10deg);
    transition: 1s;
}

#about .about-img-me:hover {
    transform: rotate(0);
}

#about .card {
    background: #2c2c6c;
    text-align: center;
    border-radius: 10px;
    padding: 30px 0;
}

#about .card:hover {
    background: transparent;
    border-color: rgba(77, 181, 255, 0.5);
    cursor: default;
}

#about .card i {
    color: #0B5ED7;
}

#about .card h6 {
    font-size: 0.95rem;
}

#about p {
    text-align: justify;
    margin: 2rem 0 2.6rem;
    color: #999;
}

/* Skill */

#skill {
    margin-top: 80px;
    padding-top: 20px;
}

#skill .card {
    background: #2c2c6c;
    padding: 40px 80px 0 80px;
    border-radius: 20px;
}

#skill .card:hover {
    background: transparent;
    border-color: rgba(77, 181, 255, 0.5);
    cursor: default;
}

#skill .card i {
    color: #0B5ED7 !important;
}

#skill .card h3 {
    margin-bottom: 2rem;
    color: #0B5ED7;
}

#skill .card p {
    margin: 0;
    padding: 0;
    color: #999;
}

/* Project */

#project {
    margin-top: 80px;
    padding-top: 20px;
}

#project .card {
    background: #2c2c6c;
}

#project .card .card-img {
    position: relative;
    width: 100%;
    padding-top: 70%;
}

#project .card .card-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

#project .card .card-body .list-project {
    cursor: pointer;
    width: 20%;
    height: 40px;
    object-fit: cover;
}

#project .card .card-body .active {
    opacity: 0.4;
}

#project .card .card-footer h6{
    color: #ddd;
    font-size: 14px;
    font-weight: 400;
}

/* Contact */

#contact {
    margin-top: 80px;
    padding-top: 20px;
    margin-bottom: 100px;
}

#contact .card{
    background-color: #2c2c6c;
    text-align: center;
    border-radius: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#contact .card:hover {
    background: transparent;
    border-color: rgba(77, 181, 255, 0.5);
    cursor: default;
}

#contact .card .icon {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #0B5ED7;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ddd;
}

#contact .card .icon:hover {
    background-color: #ddd;
    color: #0B5ED7;
}

#contact .card .icon i {
    font-size: 24px;
}


#contact .card p {
    font-size: 16px;
    font-weight: 300;
    margin: 0
}

#contact .card .text-title {
    font-size: 14px;
    font-weight: 200;
}
