html {
  scroll-behavior: smooth;
}

@font-face {
    font-family: 'ColaKind';
    src: url('fonts/ColaKind.woff') format('woff')
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Aurora';
    src: url('fonts/AURORA-PRO.woff') format('woff');
}

@font-face {
    font-family: 'GoodGame';
    src: url('fonts/GoodGameRegular.woff') format('woff');
}

@font-face {
    font-family: 'Boxiest';
    src: url('fonts/Boxiest-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Whatka';
    src: url('fonts/Whatka.woff') format('woff');
}

@font-face {
    font-family: 'Maxhild';
    src: url('fonts/Maxhild-Regular.woff') format('woff');
}

body {
    margin: 0;
    background-color: #fff;
    font-family: 'Poppins';
}


/* header */
.header {
    width: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.header-content {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-top: 20px;
    border-radius: 35px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo a {
    color: #4f95ff;
    text-decoration: none;
    margin-left: 20px;
    font-family: 'ColaKind';
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.logo a:hover {
    color: #345f9f;
}

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

.navbar a {
    color: #333;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.navbar a:hover {
    color: #4f95ff;
    border-radius: 5px;
}

.contact-header a {
    background-color: #4f95ff;
    color: #fff;
    padding: 8px 15px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-header a:hover {
    background-color: #345f9f;
    color: #fff;

}

.contact-header a.active {
    background-color: #345f9f;
    color: #fff;
}
/* header end */

/* decor */
.decor .left {
    left: 0;
}

.decor .right {
    right: 0;
}

.decor img {
    position: absolute;
}

.decor img.left {
    top: 900px;
    z-index: 0;
    width: 350px;
}

.decor img.right {
    top: 20px;
    z-index: 0;
    width: 350px;
}
/* decor end */

/* home */
#home {
    position: relative;
    z-index: 1;
    padding: 170px 150px 120px 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home .content {
    display: flex;
    flex-direction: column;
}

#home .content h1 {
    color: #4f95ff;
    font-size: 50px;
    font-family: 'ColaKind';
    margin: 0;
}

#home .content p {
    font-size: 18px;
    margin-bottom: 20px;
}

#home .content a {
    display: inline-block;
    width: fit-content;
    padding: 10px 15px;
    margin-bottom: 5px;
    text-decoration: none;
    color: #fff;
    background-color: #4f95ff;
    border-radius: 20px;
    box-shadow: 0 5px 0 #345f9f;
}

#home .content a:active {
    margin-top: 5px;
    margin-bottom: 0;
    box-shadow: none;
}

#home .profile-mobile {
    display: none;
}

#home img {
    width: 300px;
    border-radius: 50%;
}
/* home end */

/* about */
#about {
    position: relative;
    z-index: 1;
    padding: 120px 0 120px 0;
    display: flex;
    justify-content: space-around;
}

#about .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about .content h2 {
    color: #4f95ff;
    font-size: 70px;
    font-family: 'Boxiest';
    text-shadow: -2px 3px 0 #000;
    margin: 0 0 40px 0;
}

#about .content p {
    max-width: 700px;
    font-size: 18px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
/* about end */

/* skills */
#skills {
    position: relative;
    z-index: 1;
    padding: 120px 100px 120px 100px;
    display: flex;
    justify-content: center;
    text-align: center;
}

#skills .content h2 {
    color: #4f95ff;
    font-size: 70px;
    font-family: 'Boxiest';
    text-shadow: -2px 3px 0 #000;
    margin: 0 0 40px 0;
}

#skills .content .skills-list {
    display: flex;
    text-align: left;
    gap: 200px;
}

#skills .content .skills-list h3 {
    margin: 0;
}

#skills .content .skills-list p {
    margin: 0;
}
/* skills end */

/* projects */
#projects {
    position: relative;
    z-index: 1;
    padding: 120px 100px 120px 100px;
    display: flex;
    justify-content: center;
}

#projects .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#projects .content h2 {
    color: #4f95ff;
    font-size: 70px;
    font-family: 'Boxiest';
    text-shadow: -2px 3px 0 #000;
    margin: 0 0 40px 0;
}

#projects .content .list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

#projects .content .list .item {
    min-width: 400px;
    padding: 20px;
    border: 1px solid #a5a5a5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

#projects .content .list .item .main {
    display: flex;
    flex-direction: column;
}

#projects .content .list .item .main a {
    color: #4f95ff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

#projects .content .list .item .main a:hover {
    text-decoration: underline;
}

#projects .content .list .item .main p {
    margin-top: 2px;
    font-size: 12px;
}

#projects .content .list .item .language {
    display: flex;
    flex-direction: column;
}

#projects .content .list .item .language .group {
    display: flex;
    align-items: center;
    gap: 5px;
}

#projects .content .list .item .language .group .dot {
    width: 5px;
    height: 5px;
    background-color: #353535;
    border-radius: 50%;
}

#projects .content .list .item .language .group span {
    color: #353535;
    font-size: 12px;
}
/* projects end */

/* contact */
#contact {
    position: relative;
    z-index: 1;
    padding: 120px 100px 120px 100px;
    display: flex;
    justify-content: center;
}

#contact .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact .content h2 {
    color: #4f95ff;
    font-size: 70px;
    font-family: 'Boxiest';
    text-shadow: -2px 3px 0 #000;
    margin: 0 0 40px 0;
}

#contact .content .list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

#contact .content .list .item {
    min-width: 400px;
    padding: 20px;
    border: 1px solid #a5a5a5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

#contact .content .list .item .main {
    display: flex;
    align-items: center;
    gap: 5px;
}

#contact .content .list .item .main img {
    height: 20px;
    width: auto;
}

#contact .content .list .item .main span {
    font-size: 18px;
    font-weight: bold;
}

#contact .content .list .item .profile {
    display: flex;
    flex-direction: column;
}

#contact .content .list .item .profile .group {
    display: flex;
    align-items: center;
    gap: 5px;
}

#contact .content .list .item .profile .group .dot {
    width: 5px;
    height: 5px;
    background-color: #333;
    border-radius: 50%;
}

#contact .content .list .item .profile .group a {
    color: #333;
    font-size: 12px;
    font-weight: 550;
    text-decoration: none;
}

#contact .content .list .item .profile .group a:hover {
    text-decoration: underline;
}
/* contact end */

/* responsive */
@media screen and (max-width: 768px) {
    /* header */
    .logo a {
        font-size: 20px;
    }

    .navbar a {
        font-size: 12px;
    }

    .contact-header {
        padding: 10px 15px;
        font-size: 10px;
    }

    .contact-header a {
        padding: 10px 15px;
        font-size: 10px;
    }
    /* header end */

    /* decor */
    .decor img.right,
    .decor img.left {
        width: 200px;
    }

    .decor img.left {
        top: 1200px;
    }
    /* decor end */

    /* home */
    #home {
        flex-direction: column;
        padding: 200px 0 140px 0;
    }

    #home .content {
        align-items: center;
    }

    #home .content h1 {
        font-size: 30px;
        text-align: center;
        margin-bottom: 0;
    }

    #home .content p {
        text-align: center;
    }

    #home .profile-mobile {
        display: block;
        margin-bottom: 20px;
    }

    #home .profile {
        display: none;
    }

    #home img {
        width: 100px;
    }
    /* home end */

    /* about */
    #about {
        padding: 140px 0 140px 0;
    }

    #about .content h2 {
        font-size: 35px;
    }

    #about .content p {
        max-width: 80%;
        font-size: 15px;
    }
    /* about end */

    /* skills */
    #skills {
        padding: 140px 0 140px 0;
    }

    #skills .content h2 {
        font-size: 35px;
    }

    #skills .content .skills-list {
        flex-direction: column;
        gap: 20px;
    }

    #skills .content .skills-list .skills-group h3 {
        font-size: 15px;
    }

    #skills .content .skills-list .skills-group p {
        font-size: 15px;
    }
    /* skills end */

    /* projects */
    #projects {
        padding: 140px 0 140px 0;
    }

    #projects .content h2 {
        font-size: 35px;
    }

    #projects .content .list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    #projects .content .list .item .main a {
        font-size: 13px;
    }

    #projects .content .list .item .main p {
        font-size: 10px;
    }
    
    #projects .content .list .item .language .group span {
        font-size: 10px;
    }

    #contact {
        padding: 140px 0 140px 0;
    }

    #contact .content h2 {
        font-size: 35px;
    }

    #contact .content .list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #contact .content .list .item .main img {
        height: 18px;
    }

    #contact .content .list .item .main span {
        font-size: 16px;
    }

    #contact .content .list .item .profile .group a {
        font-size: 10px;
    }
    /* projects end */
}
/* responsive end */