@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@100..700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
*{
    font-family: "Exo 2", "sans-serif";
    color:white;
    font-size:1.1rem;
}

body{
    cursor:none;
    margin:0;
    /* background-image:url("noise-light.png"); */
    background:black;
}

#sparkle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: black;
    z-index: -1; /* always behind all content */
    pointer-events: none; /* doesn't block clicks */
}

p, h1{
    margin:0;
}

#bodyBg{
    /* opacity:0.7; */
    position:fixed;
    z-index:-1;
    width:100%;
    height:100dvh; /* dynamic view-height */
    top:0;
    left:0;
    object-fit:cover;
    object-position:right;
}

body::-webkit-scrollbar{
    background-color:transparent;
}

body::-webkit-scrollbar:hover{
    cursor:none;
}

body::-webkit-scrollbar-thumb:hover{
    cursor:none;
}

body::-webkit-scrollbar-thumb{
    background-color:coral;
    border-radius:10px;
}

a{
    cursor:none;
}

a::after{
    cursor:none;
}

.cursor-dot{
    height:10px;
    width:10px;
    background:coral;
    border-radius:100%;
}

.cursor-outline{
    height:30px;
    width:30px;
    background:transparent;
    border:1px solid white;
    border-radius:100%;
}

.cursor-dot,
.cursor-outline{
    position:fixed;
    top:0;
    left:0;
    transform:translate(-50%, -50%);
    pointer-events:none;
    z-index:9999;
}

/* header */

@keyframes headerAppear{
    from {transform:translateY(-100%);}
    to {transform:translateY(0);}
}

@keyframes headerDissappear{
    from {transform:translateY(0);}
    to {transform:translateY(-100%);}
}

@keyframes menuPopUp1{
    from {transform:rotate(45deg);}
    to {transform:rotate(0deg);}
}

@keyframes menuPopUp2{
    from {width:0;}
    to {width:100%;}
}

@keyframes menuPopUp3{
    from {transform:rotate(-45deg);}
    to {transform:rotate(0deg);}
}

@keyframes menuLine1{
    from {transform:rotate(0deg);}
    to {transform:rotate(45deg);}
}

@keyframes menuLine2{
    from {transform:rotate(0deg);}
    to {transform:rotate(-45deg);}
}

#header{
    position:fixed;
    display:flex;
    box-sizing:border-box;
    width:100vw;
    align-items:center;
    padding:30px 20px 20px 20px;
    z-index:998;
}

.desktop-header{
    justify-content:space-around;
    gap:20px;
    flex-wrap:wrap;
}
.mobile-actual-header{
    justify-content:space-between;
}

.desktop-header .menu{
    display:flex;
    gap:20px;
}
.mobile-actual-header .menu{
    display:none;
}

.mobile-actual-header .menuItem{
    font-size:24px;
}

.desktop-header .menuIcon{
    display:none;
}
.mobile-actual-header .menuIcon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.menuLine{
    width:35px;
    height:3px;
    background:white;
    border-radius:2px;
}

.mobile-actual-header #headerLogo{
    height:35px;
}

.xIcon{
    display:none;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:30px;
    min-height:30px;
}

.xLine{
    height:3px;
    width:35px;
    background:white;
    border-radius:2px;
}

#x1{
    position:absolute;
    transform:rotate(45deg);
    animation:menuLine1 1.5s forwards;
}

#x2{
    position:absolute;
    transform:rotate(-45deg);
    animation:menuLine2 1.5s forwards;
}

.down{
    animation:headerAppear .7s forwards;
}

.up{
    animation:headerDissappear .7s forwards;
}

.mobile-header img, .mobile-header .menuIcon{
    display:none;
}

.mobile-header .xIcon{
    display:flex;
}

.menuItem::after{
    display:block;
    content:"";
    background:rgb(255, 149, 110);
    margin-top:7px;
    width:0;
    height:2px;
    transition:all .4s ease-in-out;
}

.menuItem:hover, .menuItem:hover.menuItem *{
    color:rgb(255, 149, 110);
}

.menuItem:hover::after{
    width:100%;
}

#selectedMenuItem, #selectedMenuItem *{
    color:coral;
}

#selectedMenuItem::after{
    width:100%;
}

.langAndMenu{
    display:flex;
    align-items:center;
    gap:25px;
}
/* other */

.h{
    font-weight:700;
    font-size:2rem;
    letter-spacing:2px;
}

.h *{
    font-size:2rem;
}

.heading{
    font-size:1.5rem;
}

.glowP{
    text-shadow:0 0 5px coral;
}

.p{
    letter-spacing:1px;
}

#developer{
    text-shadow:0 0 7px coral;
}

/* content */

.content{
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:start;
    align-items:center;
    width:100%;
    min-height:100vh;
    /* background:rgba(0,0,0,0.6); */
    padding:0 30px 0 30px;
}

@keyframes opacity {
    from {opacity:0}
    to {opacity:1}
}

.section{
    box-sizing:border-box;
    min-height:100vh !important;
    padding-top:140px;
    animation:opacity 1s ease-in-out;
}

/* Section 1 */

#mainSec{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:60px;
}

#mainSecParent{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    /* gap:120px; */
    gap:50px;
}

#mainSec #mePic{
    filter:brightness(90%);
    width:60vw;
    max-width:450px;
    height:auto;
    transform:scaleX(-1);
    border-radius:0 0 20px 60px;
}

#mainSec .whoAmI{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:30px;
}

.whoAmI .h{
    width:100%;
    max-width:326px;
}

#devBr{
    display:none;
}

.meInfo{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.infoDiv{
    display:flex;
    align-items:center;
    gap:10px;
}

.infoDiv img{
    object-fit:contain;
}

.envelope{
    font-size:30px;
}

#sendEmail::after{
    content:"";
    display:block;
    background:white;
    height:2px;
    width:0;
    margin-top:7px;
    margin-left:auto;
    margin-right:auto;
    transition:all .4s ease-in-out;
}

#sendEmail:hover::after{
    width:95%;
}

@media screen and (max-width:1069px){
    .whoAmI{
        align-items:center;
    }
    .whoAmI .p{
        text-align:center;
    }
}
@media screen and (max-width:386px){
    .whoAmI .h{
        min-height:84px;
        text-align:center;
    }
    #devBr{
        display:block;
    }
}

/* button-mine */

.button-mine{
    color:coral;
    padding:10px 40px 10px 40px;
    border:2px solid coral;
    background:none;
    cursor:none;
    max-width:fit-content;
    transition:all .4s linear;
}

.button-mine:hover{
    background:coral;
    color:black;
}

/* section Contact */

.contactHeader{
    display:flex;
    width:100%;
    gap:20px;
    align-items:center;
}

.contactHr{
    height:2px;
    background:coral;
    width:100%;
}

.formFieldSet{
    box-sizing:border-box;
    padding:20px;
    border:2px solid coral;
    background:linear-gradient(to top, transparent, rgba(255, 127, 80, 0.6));
    width:100%;
    max-width:400px;
}

.formFieldSet legend{
    font-size:2rem;
    color:black;
    font-weight:700;
    -webkit-text-stroke: white 1px;
    letter-spacing:4px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

form{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:20px;
}

label{
    color:white;
    cursor:none;
}

input{
    box-sizing:border-box;
    width:100%;
    border:none;
    padding:0 10px 10px 10px;
    background:transparent;
    border-bottom:3px solid white;
}

input:focus{
    outline:none;
}

input:focus::placeholder{
    color:transparent;
}

input::placeholder{
    color:rgba(255, 255, 255, 0.6);
}

textarea::placeholder{
    color:rgba(255, 255, 255, 0.6);
}

textarea{
    box-sizing:border-box;
    width:100%;
    resize:none;
    background:transparent;
    border:2px solid white;
    padding:10px;
}

textarea::-webkit-scrollbar{
    background-color:transparent;
}

textarea::-webkit-scrollbar:hover{
    cursor:none;
}

textarea::-webkit-scrollbar-thumb:hover{
    cursor:none;
}

textarea::-webkit-scrollbar-thumb{
    background-color:coral;
}

textarea:focus{
    outline:none;
}

#submit{
    margin-left:auto;
    margin-right:auto;
}

#submit::before{
    border-radius:0;
}

#submit:hover::after{
    border-radius:0;
}

/* skills Section */

#skillsSec{
    display:none;
    flex-direction:column;
    width:100%;
    align-items:center;
    justify-content:start;
    gap:50px;
}

.overallSkills{
    display:grid;
    grid-template-columns:repeat(2, auto);
    gap:40px;
}

.overallSkill{
    /* background:#31363F; */
    box-sizing:border-box;
    border:2px solid white;
    display:flex;
    flex-direction:column;
    gap:20px;
    padding:25px;
}

.overallSkill .p{
    max-width:350px;
}

@keyframes loop1-1 {
    from {transform:translateX(0)}
    to {transform:translateX(-100%)}
}

@keyframes loop2-1 {
    from {transform:translateX(100%)}
    to {transform:translateX(0)}
}

@keyframes loop1-2 {
    from {transform:translateX(0)}
    to {transform:translateX(-1100px)}
}

@keyframes loop2-2 {
    from {transform:translateX(1100px)}
    to {transform:translateX(0)}
}

.logoLoop{
    margin:50px 0;
    position:relative;
    overflow:hidden;
    width:100%;
}

.logoLoopLogos{
    width:100%;
    display:flex;
    justify-content:space-around;
    gap:30px;
}

.logoLoopLogos i{
    transition:all .4s ease-in-out;
}

.logoLoopLogos i:hover{
    scale:0.9;
}

#logos1 {
    animation:loop1-1 15s linear infinite;
}

#logos2{
    position:absolute;
    top:0;
    left:0;
    animation:loop2-1 15s linear infinite;
}

.skillIcon{
    font-size:80px;
}

@media screen and (max-width:1130px){
    .logoLoopLogos{
        padding:0 15px;
    }
    #logos1{
        animation:loop1-2 15s linear infinite;
    }
    #logos2{
        animation:loop2-2 15s linear infinite;
    }
}

/* Section 2 */

#educationSec{
    display:none;
    flex-direction:column;
    align-items:center;
    gap:50px;
}

.education{
    box-sizing: border-box;
    display:flex;
    flex-direction:column;
    width:100%;
    max-width:600px;
    gap:30px;
}

.school{
    box-sizing:border-box;
    width:100%;
    display:flex;
    flex-direction:column;
    gap:20px;
    border-bottom:2px solid rgb(255, 149, 110);;
    padding-bottom:30px;
}

.titleAndDate{
    display:flex;
    justify-content:space-between;
    align-items:start;
    gap:10px;
}

.titleAndDate p{
    font-size:1rem;
}

.school .p{
    font-weight:bold;
}

.school p{
    text-wrap:nowrap;
    margin:0;
    background:#31363F;
    width:fit-content;
    min-width:fit-content;
    padding:12px;
    border-radius:30px;
}

/*Experience Section*/

#expSec{
    display:none;
    flex-direction:column;
    gap:50px;
}

.projects{
    display:grid;
    grid-template-columns:auto auto;
    justify-items:left;
    gap:40px;
}

.project{
    /* max-width:300px; */
    box-sizing:border-box;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    max-width:280px;
    height:280px;
    padding:20px;
    background:#31363F;
    transition:all .4s ease-in-out;
}

.project img{
    height:100%;
    width:100%;
    object-fit:cover;
    transition:all .4s ease-in-out;
}

@keyframes coverShow{
    from {opacity:0;}
    to {opacity:100%;}
}

.projectDiamond{
    position:absolute;
    height:18px;
    width:18px;
    transform:rotate(45deg);
    background-color:#31363F;
    right:-9px;
    top:30px;
}

.project::after{
    display:none;
    position:absolute;
    bottom:28px;
    left:28px;
    font-weight:500;
    animation:coverShow .4s forwards;
}

.project .imageCover{
    position:absolute;
    display:none;
    background:linear-gradient(to top, black, transparent);
    width:240px;
    height:240px;
    animation:coverShow .4s forwards;
}

.project:hover.project .imageCover{
    display:block;
}

.project:hover::after{
    display:block;
}

#twitter::after{
    content:"Twitter Clone";
}

#fakturiva::after{
    content:"Fakturiva";
}

#gdforum::after{
    content:"GD Forum";
}

#kolenehtenin::after{
    content:"Kole Nehtenin";
}

#portfolio2::after{
    content:"Portfolio";
}

#evroprint::after{
    content:"EvroPrint";
}

#portfolioPj::after{
    content:"Teo Kocev";
}

#uprize::after{
    content:"Uprize";
}

#expDesc{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.projectSide{
    display:flex;
    flex-direction:column;
    align-items:start;
    gap:40px;
}

.projectDesc{
    display:flex;
    align-items:start;
    justify-content:center;
    gap:20px;
    margin-top:20px;
}

.projectDesc .p{
    max-width:350px;
}

.bulletPoint{
    margin-top:5px;
    background:coral;
    border-radius:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:30px !important;
    min-width:30px !important;
    max-height:30px;
    max-width:30px;
    transition:all .4s ease-in-out;
}

.bulletPoint:hover{
    box-shadow:0 0 10px coral;
}

.bulletPoint:hover .bulletPointCenter{
    height:17px;
    width:17px;
}

.bulletPointCenter{
    background:black;
    border-radius:100%;
    height:15px;
    width:15px;
    transition:all .4s ease-in-out;
}

/* bar */

.langBar{
    box-sizing:border-box;
    width:90%;
    padding-left:50px;
}

.bar{
    display:flex;
    min-width:100%;
}

.htmlBar, .cssBar, .jsBar{
    height:10px;
}

.htmlBar{
    border-radius:5px 0 0 5px;
    background:white;
}

.cssBar{
    background:orange;
}

.jsBar{
    border-radius:0 5px 5px 0;
    background:yellow;
}

.percanteges{
    display:flex;
    justify-content:space-between;
}

.percanteges h4{
    margin:0;
    letter-spacing:1px;
    margin-top:20px;
}

/* percanteges */
#fakturiva1 .htmlBar{
    width:42%;
}
#fakturiva1 .cssBar{
    width:24%;
}
#fakturiva1 .jsBar{
    width:34%;
}

#gdforum1 .htmlBar{
    width:42%;
}
#gdforum1 .cssBar{
    width:24%;
}
#gdforum1 .jsBar{
    width:34%;
}

#kolenehtenin1 .htmlBar{
    width:42%;
}
#kolenehtenin1 .cssBar{
    width:24%;
}
#kolenehtenin1 .jsBar{
    width:34%;
}

#portfolio2_1 .htmlBar{
    width:39%;
}
#portfolio2_1 .cssBar{
    width:36%;
}
#portfolio2_1 .jsBar{
    width:25%;
}

#evroprint1 .htmlBar{
    width:34%;
}   

#evroprint1 .cssBar{
    width:58%;
}

#evroprint1 .jsBar{
    width:8%;
}

#twitter1 .htmlBar{
    width:5%;
}

#twitter1 .cssBar{
    width:5%;
}

#twitter1 .jsBar{
    width:95%;
}

#portfolioPj1 .htmlBar{
    width:69%;
}

#portfolioPj1 .cssBar{
    width:19%;
}

#portfolioPj1 .jsBar{
    width:10%;
}

#uprize1 .htmlBar{
    width:45%;
}

#uprize1 .cssBar{
    width:45%;
}

#uprize1 .jsBar{
    width:10%;
}

/* end percanteges */

/* footer */

.footerParent{
    width:100%;
    margin-top:50px;
}

.footer{
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    padding:20px 10px 20px 10px;
    width:100%;
    background:#31363F;
}

.footer img:hover{
    transform:scale(1.1);
}

.footer p{
    font-size:1rem;
}

/* mobile menu */

@keyframes menuPopUp{
    from {transform:translateY(-100vh);}
    to {transform:translateY(0);}
}

@keyframes menuSlideUp{
    from {transform:translateY(0);}
    to {transform:translateY(-100vh);}
}

.mobile-header{
    box-sizing:border-box;
    display:flex;
    height:100vh;
    width:100vw;
    /* background:#31363F; */
    background:rgba(0,0,0,0.5);
    backdrop-filter:blur(20px);
    position:fixed;
    align-items:center !important;
    justify-content:center !important;
    z-index:9998;
    animation:menuPopUp .7s forwards;
}

.mobile-header-slideup{
    animation:menuSlideUp .7s forwards;
}

.mobile-header .langAndMenu{
    flex-direction:column;
    gap:20px;
}

.mobile-header .menu{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

/* responsive layout --------------------------------------------- */

@media only screen and (max-width:840px){
    .projects{
        grid-template-columns:repeat(1, auto);
        justify-items:start;
        gap:20px;
    }
    .projectDiamond{
        top:unset;
        right:unset;
        bottom:-9px;
    }
    .projectSide{
        max-width:280px;
        margin-bottom:40px;
    }
    .langBar{
        padding-left:0;
        width:100%;
    }
    .projectDesc{
        flex-direction:column;
        align-items:center;
        margin-top:0;
    }
}

@media only screen and (max-width:768px){
    .arrow{
        display:none;
    }
    .cursor-dot, .cursor-outline{
        display:none;
    }
    body{
        cursor:default;
    }

    .footer img{
        height:25px;
    }

    /* content */
    *{
        /* font-size:16px; */
    }
    .section{
        padding-top:120px;
    }
    .h, .h *{
        /* font-size:30px; */
    }
    .heading{
        /* font-size:24px; */
    }
    #portfolioBtn{
        margin:0 auto;
    }
    .formFieldset{
        width:100%;
    }
    /* Skills Section */

    .overallSkills{
        grid-template-columns:repeat(1, auto);
    }
    .skills{
        grid-template-columns:repeat(1, auto);
    }
    #skillsHeader{
        order:0;    
    }
    .overallSkills{
        order:2;
    }
    .logoLoop{
        order:1;
    }

    /* Education Section */

    .education{
        grid-template-columns:repeat(1, auto);
    }
    .titleAndDate{
        flex-direction:column-reverse;
    }

    /* Portfolio Section */
    .project:hover.project .imageCover{
        display:none;
    }
    .project::after{
        display:block;
        text-shadow:0 0 10px black;
        margin-top:-30px !important;
    }
}