@import url(variables.css);
@import url(fonts.css);

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100dvh;
    
    background-image: url(../images/main-bg.png);
    background-position: center;
    background-size: cover;

    
}

footer{
    width: 100%;
    height: fit-content;
    padding-block: 30px;
    background: var(--dark-purple);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

footer .footer-line{
    color: var(--second-text-color);
    font-weight: 500;
}
footer .footer-line:first-child{
    color: var(--first-text-color);
}

footer .footer-line i{
    color: var(--red);
}


section{
    width: 100%;
    min-height: 100dvh;
}


#home{
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;

    /* display: none; */
}

#home .logo{
    width: 280px;
    height: 280px;
    border-radius: 50%;
    transition: all 1s;
}



#home .title{
    color: var(--first-text-color);
    font-weight:600;
    font-size: 35px;
    transition: all 1s;
}

#home .subtitle{
    color: var(--second-text-color);
    font-weight: 400;
    font-size: 23px;
    transition: all 1s;
}

#home .icons{
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 25px;
    margin-block: 15px;
}

#home .icons a{
    color: var(--first-text-color);
    cursor: pointer;
}

#home .icons a:hover{
    opacity: 0.4;
}

#home .btn{
    background-color:var(--second-text-color);
    color: var(--first-text-color);
    border: none;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 20px;
    border-radius: 10px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

#home .btn:hover{
    transform: scale(1.05);

}

.custom-cursor{
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 149, 28, 0.72);
    border-radius: 50%;
    position: fixed;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
    transition: all cubic-bezier(0.215, 0.610, 0.355, 1) 0s;
    box-shadow: 0px 0px 10px 1px rgba(255, 149, 28, 0.72);
    pointer-events: none;
}

.custom-cursor .point{
    width: 5px;
    height: 5px;
    background-color: var(--second-text-color);
    border-radius: 50%;
    pointer-events: none;
}

#canvas{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100dvh;
    z-index: -1;
}

section#skills{
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 100px;
    /* background: red; */
    padding-block: 30px;
}

.skills-part{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.skills-part .cards{
    width: 90%;
    max-width: 1000px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 60px;
}

.skills-part .title {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    color: var(--first-text-color);
}

.skills-part .cards .card{
    position: relative;
    width: 160px;
    height: 160px;
    background-color: var(--second-text-color);
    box-shadow: 0px 0px 0px 10px var(--dark-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.skills-part .cards .card:hover{
    box-shadow: 
                0px 0px 10px 10px var(--dark-purple);

}

.skills-part .cards .card-icon{
    width: 60%;
}

.skills-part .cards .card-name-small,
.skills-part .cards .card-name-normal{
    position: absolute;
    background-color: var(--dark-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--second-text-color);

    box-shadow: 0px 0px 10px 0px var(--dark-purple);
}

.skills-part .cards .card-name-small{
    top: -30px;
    left: -30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
}

.skills-part .cards .card-name-normal{
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    padding-inline: 10px;
    bottom: 160px;
    /* left: 50%;
    transform: translateX(-50%); */
}

.skills-part .cards .card.inactive{
    filter:saturate(10%);
}


@media screen and (max-width: 500px) {
    .skills-part .cards .card{
        position: relative;
        width: 100px;
        height: 100px;
        background-color: var(--second-text-color);
        box-shadow: 0px 0px 0px 7px var(--dark-purple);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }

    .skills-part .cards .card-name-small{
        position: absolute;
        top: -30px;
        left: -30px;
        background-color: var(--dark-purple);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 19px;
        color: var(--second-text-color);
        font-weight: bold;
    }

    .skills-part .cards .card-name-normal{
        position: absolute;
        background-color: var(--dark-purple);
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--second-text-color);
        font-weight: bold;
        padding-inline: 10px;
        bottom: 100px;
    }
}

section#projects{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#projects .title{
    font-size: 25px;
    font-weight: 500;
    color: var(--first-text-color);
}

#projects .cards{
    width: 100%;
    max-width: 1000px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-block: 30px;
}

#projects .cards .card{
    width: 360px;
    height: 170px;
    background-color: var(--dark-purple);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 1s;
}

#projects .cards .card.inactive{
    filter:saturate(10%);
}

#projects .cards .card:hover{
    transform: scale(1.04);
}

#projects .cards .card-top-bar{
    width: 100%;
    min-height: 45px;
    background-color: var(--light-purple);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#projects .cards .card-top-bar-start{
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#projects .cards .card-top-bar-start .card-top-bar-circle{
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: red;
}
#projects .cards .card-top-bar-start .card-top-bar-circle:nth-child(1){
    background-color: var(--red);
    margin-left: 12px;
}

#projects .cards .card-top-bar-start .card-top-bar-circle:nth-child(2){
    background-color: var(--yellow);
}

#projects .cards .card-top-bar-start .card-top-bar-circle:nth-child(3){
    background-color: var(--green);
}


#projects .cards .card-top-bar-end{
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#projects .cards .card-top-bar-end .card-top-bar-status{
    color: var(--first-text-color);
    padding: 4px 10px;
    border-radius: 5px;
    margin-right: 12px;
}

#projects .cards .card-content{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#projects .cards .card-content .card-content-left{
    display: flex;
    align-items: center;
    justify-content: center;
}

#projects .cards .card-content .card-content-left .card-icon{
    width: 80px;
    padding: 10px;
}

#projects .cards .card-content .card-content-right{
    display: flex;
    flex-direction: column;
    justify-content: center;

}

#projects .cards .card-content .card-content-right .card-title{
    font-size: 20px;
    font-weight:500;
    padding: 10px;
    color: var(--second-text-color);
}

#projects .cards .card-content .card-content-right .card-desc{
    font-size: 15px;
    font-weight:400;
    padding: 0px 10px;
    color: var(--first-text-color);
}