* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
}


body {
    font-family: 'Inter';
    font-size: 1.6rem;
    background-color: #F6F6F6;
    color: #333;

    user-select: none;
}

.bg-img {
    height: 100vh;
    width: 100vw;

    /*  need big resolution image for higher resolution screens
        if crossed over the image size (resolution)
    */
    background: url('imgs/background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(4px);
}

#snowCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.main {
    height: 100vh;
    width: 100vw;

    position: absolute;
    z-index: 100;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav {
    margin-top: 30px;

    width: 450px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    font-size: 1.4rem;
    color: #255471;
    background-color: hsla(0, 0%, 95%, 0.75);
    border-radius: 50px;
}

.nav__item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#id-audio {
    position: absolute;
    top: 20px;
    right: 30px;

    width: 55px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: none;
    border-radius: 100%;
    background: rgba(242, 242, 242, 0.65);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

#id-audio svg {
    width: 30px;
    height: 30px;
}

.sections {
    position: relative;
    top: 40%;
    transform: translateY(-50%);

    height: 500px;
    width: 900px;

    display: flex;
    flex-direction: column;
    gap: 50px;

    padding-right: 3px;
    overflow: auto;
}

.sections::-webkit-scrollbar {
    /* Target the entire scrollbar */
    width: 4px;
    height: 4px;
}

.sections::-webkit-scrollbar-thumb {
    /* The scrollbar thumb (the draggable part) */
    background: #376580;
    border-radius: 7px;
}

.sections::-webkit-scrollbar-track {
    /* The scrollbar track (the area behind the thumb) */
    background: #F2F2F2;
    /* Light gray background */
    border-radius: 10px;
}

.sections::-webkit-scrollbar-thumb:hover {
    /* Change thumb color on hover */
    background: hsla(202, 40%, 36%, 0.6);
}

.section__item {
    flex-shrink: 0;

    min-height: 500px;
    width: 100%;

    display: flex;
    justify-content: center;

    border-radius: 30px;
    background-color: hsla(0, 0%, 95%, 0.60);
}

#home {
    align-items: center;
    gap: 250px;
}

.home__content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.content__greet {
    font-size: 28px;
    color: #255471;
}

.content__name {
    margin-top: -10px;
    font-size: 30px;
    color: #255471;
    font-weight: 600;
}

.content__title {
    color: #576B77;
    font-weight: 300;
}

.content__icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.content__icon svg {
    width: 30px;
    height: 30px;
}

.home__profile img {
    width: 125px;
    height: 125px;

    border-radius: 100%;
    border: 3px solid #274659;
    box-shadow: 4px 9px 40px 4px rgba(39, 70, 89, 0.6);
}

#skills,
#projects,
#certificates {
    padding: 40px 0px;

    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.skills__title,
.projects__title,
.certificates__title {
    padding-bottom: 25px;

    font-weight: 800;
    font-size: 22px;
    color: #255471;
}

.skills__frontend,
.skills__backend {
    padding-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.skill__icon svg {
    width: 50px;
    height: 50px;
}

.skills__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.skill__title {
    color: #576B77;
}

.project__item {
    margin-bottom: 20px;
    width: 650px;
    padding: 8px;

    display: flex;
    flex-direction: column;

    border: 2px solid rgba(19, 47, 64, 0.75);
    box-shadow: 1px 1px 7px 2px rgba(0, 0, 0, 0.25);
    border-radius: 11px;
}

.project__img {
    height: 300px;

    background: url(project_img.png);
    border-radius: 11px;
}

.project__desc {
    padding: 10px 25px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project__desc>div {
    display: flex;
    justify-content: space-between;
}

.project__desc > div:last-child {
    align-items: center;
}

.project__title {
    font-weight: 600;
    font-size: 22px;
    color: #255471;
}

.project__date {
    font-size: 15px;
    color: #576B77;
}

.project__date>span {
    font-weight: 700;
}

.project__info {
    display: flex;

    color: #576B77;
    font-size: 16px;
}

.project__link {
    display: flex;
    gap: 15px;
}

.project__link a {
    height: 32px;
    padding: 6px 17px;

    display: flex;
    gap: 5px;

    text-decoration: none;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 1.4rem;

    color: #F2F2F2;
    background: #306585;
    border: none;
    border-radius: 45px;
}

.project__link--icon svg {
    width: 18px;
    height: 18px;
}

.project__stack {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project__stack svg {
    height: 28px;
    width: 28px;
}

.certificate__item {
    margin-bottom: 25px;
    width: 400px;
    padding: 25px 40px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    border: 2px solid rgba(19, 47, 64, 0.75);
    box-shadow: 1px 1px 7px 2px rgba(0, 0, 0, 0.25);
    border-radius: 11px;
}

.certificate__title {
    font-weight: 600;
    font-size: 24px;

    color: #255471;
}

.certificate__info {
    font-size: 15px;
    color: #576B77;
}

.certificate__info span {
    font-weight: 600;
}

.certificate__link {
    display: flex;
    justify-content: center;
}

.certificate__item a {
    padding: 5px 17px;

    display: flex;
    gap: 5px;

    color: #F2F2F2;
    background: #306585;
    border: none;
    border-radius: 45px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
}

.certificate__item a svg {
    width: 18px;
    height: 18px;
}