
@font-face {
    src: url(PuristaMedium.ttf);
    font-style: normal;
    font-weight:600;
}

html, body, * {
    padding: 0;
    margin: 0;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

* {
	-webkit-font-smoothing: antialiased;
}

body {
    background: url(background.jfif);
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: -1000;

    background-color: lighten(#ff02dd, 100000000000000%);
}

body::after {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-image: inherit; 
    background-size: inherit;
    background-position: inherit;
    pointer-events: none;
    filter: blur(20px) brightness(1.5) saturate(2);
    opacity: 0;
    z-index: -1;
    
    animation: backgroundGlow 4s infinite alternate ease-in-out;
}



.hr-shadow-drop {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    border-top-width: 1px;
    border-top: 1px solid #ffffff;
    width: 25rem;
    border-image: linear-gradient(45deg, #00000000, #ffffffff, #00000000) 1;
}

.centerer {
    align-self: center;
    padding: 0;
    margin: 0;
    width: 60vw;
    background-color: #29292988;
    justify-content: center;
    align-items: center;
    justify-items: center;
    display: flex;
    flex-direction: column;
    border: 1px solid #adabc457;
    border-radius: 25px;
    box-shadow: 0px 1px #ffffff88;
    color: #fff;
    min-width:min-content;
}

.main {
    width: 100%;
}

.main .headbox {
    background-color: #8888883a;
    background-position: 70% 30%;
    position: relative;
    height: 50px;
    border-top: 0px solid;
    border-top-right-radius: 25px; 
    border-top-left-radius: 25px; 
    border-bottom: 1px solid grey;
    overflow: hidden;
    width: 100%;
    margin-bottom: 1rem;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mainheader{
	position: absolute;
	top: -10%; right: 0; left: 0; bottom: 0;
	height: 100%;
	display: flex;
  	align-items: center;
  	justify-content: center;
}

.two-row {
    display: grid;
    grid-template-columns: repeat(2, 3fr);
}

.three-row {
    display: grid;
    grid-template-columns: repeat(3, 3fr);
}


li {
    list-style: none;
    margin: 0.5rem 0.5rem;
    border: 1px solid #fff;
    border-radius: 1rem;
    padding: 0.5rem 0.5rem;
    letter-spacing: 0.2rem;
    font-weight: 300;
}

li:hover {
    background-color: #8888882d;
    transition: background-color 1s;
}

.title {
    font-family: nos;
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: #fff;
}

a:hover{
    color: #de44e4;
    transition: color 1s;
    cursor: pointer;
}

p:hover {
    cursor: default;
}

li:hover {
    cursor: default;
}

.maintext{
	position: absolute;
	top: -45%; right: 0; left: 0; bottom: 0;
	height: 100%;
	display: flex;
  	align-items: center;
  	justify-content: center;
}

.text { 
    font-family: nos;
	font-size: 2rem;
    font-weight: normal; 
    font-style: normal;
	text-transform: uppercase;
	letter-spacing: 1vw;
	color: transparent;
    width: 100%;
	text-align: center;
	mix-blend-mode: screen;
}

.one {
	text-shadow: 0 0.1vw 0.05vw #6858F2;
}

.two {
	text-shadow: 0 0 0.1vw #FFFFFF;
	animation: text-2 0.5s infinite;
}

@keyframes text-2 {
	0% {
		transform: scale(1) translate(0, 0) skew(0deg);
	}
	7% {
		transform:  scale(1) translate(0, 0) skew(0deg);
	}
	8% { 
		transform:  scale(1.2) translate(-20px, 30px) skew(0deg);
	}
	11% { 
		transform:  scale(1.2) translate(-20px, 30px) skew(0deg);
	}
	12% {
		transform:  scale(0) translate(0,0) skew(0deg);
	}
	29% { 
		transform: skew(-50deg);
	}
	32% { 
		transform: skew(0deg);
	}
	41% {
		transform: skew(0deg);
	}
	67% {
		transform:  scale(1) translate(0, 0) skew(0deg);
	}
	68% { 
		transform:  scale(1.2) translate(50px, 35px) skew(0deg);
	}
	71% { 
		transform:  scale(1.2) translate(50px, 35px) skew(0deg);
	}
	72% {
		transform:  scale(0) translate(0,0) skew(0deg);
	}
	100% {
		transform: skew(0deg);
	}
}

.glitch {
    font-family: nos;
	font-size: 4vw;
    font-weight: normal; 
    font-style: normal;
	text-transform: uppercase;
	letter-spacing: 1vw;
	color: #888888;
    width: 100%;
	text-align: center;
	mix-blend-mode: screen;
    text-shadow: 0 0.1vw 0.05vw #6858F2
}


#fader {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    z-index: 9999;
    animation: none;
    animation-fill-mode: forwards;
    cursor: pointer;
}

#clickcenter {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

#clickcenter p {
    font-size: 2rem;
    animation: blink 1s infinite;
}

#clickcenter span {
    font-size: 1rem;
}

@keyframes blink {
    0% {opacity: 1;}
    50% {opacity: 0.5;}
    100% {opacity: 1;}
}


.project-holder {
    width: 20rem;
    height: 20vh;
    background-image: linear-gradient(45deg, rgba(255, 0, 106), #af6de6);
    border-radius: 1rem;
    padding: 0.5rem;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.project-holder p {
    letter-spacing: 0.2rem;
}

.project-title {
    font-size: 2rem;
    text-transform: uppercase;
}

.lang {
    border: 1px solid #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.cpp {
    color: #1f1768;
}

.c {
    color: #55d6f7;
}

.csharp {
    color: #8af598;
}

.python {
    color: #ebee4c;
}

.project-end {
    border-top: 1px solid #fff;
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: space-evenly;
    justify-items: space;
    align-items: center;
}

.projects {
    gap: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 3fr);
}

@keyframes backgroundGlow {
    from {
        opacity: 0.2;
        transform: scale(1.0);
    }
    to {
        opacity: 0.7;
        transform: scale(1.05);
    }
}



@media (max-width: 667px) {
    .projects {
        grid-template-columns: repeat(1, 1fr);
    }

    .three-row {
        grid-template-columns: repeat(2, 1fr);
    }


    .title {
        font-size: 1.2rem;
    }

    li {
        font-size: 0.8rem;
    }
}