@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Play&display=swap');


body {
    background-color: rgb(10, 10, 10);
    margin: 0;
    transition: transform 1s;
    overflow: hidden;
}

.wr {
    display: block;
}

.page {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: end;
}

a {
    text-decoration: none;
    color:inherit;
}

.c-logo {
    filter: brightness(0) invert(1);
    width: 200px;
}


.comp-container {
    margin: auto;
    display: flex;
    width: calc(100vw -8vw - 230px);
    justify-content: space-around;
    transform: translateX(-150px);
    flex-wrap: wrap;
    row-gap: 100px;
}

.comp-name {
    text-align: center;
    font-size: 60px;
    letter-spacing: 10px;
    margin: auto;
    color: white;
    text-transform: uppercase;
    font-family: 'Play', sans-serif;
}

.python {
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    letter-spacing: -1px;
    padding: 0 10px;
    background-size: 0% 100%;
    color: black;
    transition: background-size .6s, letter-spacing .4s;
}

.corner-comp {
    text-align: center;
    letter-spacing: 5px!important;
    font-family: 'Raleway', sans-serif!important;
}

.comp:nth-child(1), .comp:nth-child(2) {
    transform: translateY(-100px);
}

.comp:nth-child(3), .comp:nth-child(4) {
    transform: translateY(100px);
}

.project-container {
    width: 400px;
    height: 400px;
    border: 3px solid rgba(255, 255, 255, 0.589);
    background-color: rgb(11 11 11);;
    border-left: 3px solid #e6cd42;
    border-top: 3px solid #e6cd42;
    margin: auto;
    animation: float-p 3s ease-in-out infinite;
    transition: all .4s;
}

.project-container:hover {
    cursor: pointer;
    border: 3px solid rgb(255, 255, 255);
    border-bottom: 3px solid #e6cd42;
    border-right: 3px solid #e6cd42;
}

.flex-page {
    display: flex;
    width: 200vw;
    height: 100vh;
}



.bracket {
    display: none;
}

.active {
    display: inline;
}

.dev {
    margin-top: 60px;
    transition: margin-top 1s;
}

.contact-container {
    display:none;
    text-align: center;
    font-size: 60px;
    letter-spacing: 10px;
    margin: auto;
    color: white;
    text-transform: uppercase;
    font-family: 'Play', sans-serif;
    transform: translateX(-150px);
}

.email {
    font-size: 16px;
    letter-spacing: 1px;
}

.contact {
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    padding-left: 10px;
    letter-spacing: -1px;
    background-size: 0% 100%;
    transition: background-size .6s, letter-spacing .4s;
    margin: auto;
    width: fit-content;
    color: black;
}

.lang {
    font-size: 40px;
}

.bg {
    position: fixed;
    top:0;
    height: 110vh;
    width: 110vw;
    z-index: -100;
    opacity: 0.2;
    background-image: url("./images/bg.jpg");
    animation: float-mg 10s ease-in-out infinite;
}

.logo {
    filter: brightness(0) invert(1);
    width: 100px;
    animation: float 6s ease-in-out infinite;
}

.end {
    filter: brightness(0) invert(1);
    width: 80px;
    transition: all 1.5s;
}

.mindrop {
    filter: brightness(0) invert(1);
    width: 120px;
    opacity: 0.8;
}

.mindrop-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    margin: auto;
    transform: rotate(-45deg);
}

.mindrop-name {
    color: black;
    padding: 5px;
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .6s, letter-spacing .4s;
    font-weight: bold;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: 'Raleway', sans-serif;
}

.mindrop-description {
    text-align: center;
    color: white;
    padding: 5px;
    margin: 0 20px;
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .6s, letter-spacing .4s;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: 'Raleway', sans-serif;
}

.gold {
    color: #e6cd42;
}

.end-wrapper {
    margin-top: 20px;
}

.logo-wrapper {
    margin-bottom: 20px;
}

.side {
    position: fixed;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    right: 8vw;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.26);
    height: 100vh;
    width: 230px;
    box-sizing: border-box;
}

.appear {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 3vh 0;
    color: white;
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .2s, letter-spacing .4s;
}

.appear:hover {
    cursor: pointer;
    color: black;
    transition: background-size .4s, color .2s;
    background-size: 100% 100%!important;
}

.appear p {
    user-select: none;
    margin: 0;
    padding: 5px;
    text-align: center;
}

.menu-item {
    width: 100%;
    opacity: 0;
}

@keyframes float {
	0% {
		
		transform: translatey(0px);
	}
	50% {
		
		transform: translatey(-20px);
	}
	100% {
		
		transform: translatey(0px);
	}
}

@keyframes float-mg {
	0% {
		
		transform: translatey(0px);
	}
	50% {
		
		transform: translatey(-60px);
	}
	100% {
		
		transform: translatey(0px);
	}
}

@keyframes float-p {
	0% {
		transform: translatey(140px) rotate(45deg) translateX(-150px);
	}
	50% {
		
		transform: translatey(125px) rotate(45deg) translateX(-150px);
	}
	100% {
		
		transform: translatey(140px) rotate(45deg) translateX(-150px);
	}
}

@keyframes float-p-mobile {
	0% {
		transform: translatey(140px) rotate(45deg);
	}
	50% {
		
		transform: translatey(125px) rotate(45deg);
	}
	100% {
		
		transform: translatey(140px) rotate(45deg);
	}
}

@keyframes float-p-m {
	0% {
		transform: translatey(15px) rotate(45deg);
	}
	50% {
		
		transform: translatey(0px) rotate(45deg);
	}
	100% {
		
		transform: translatey(15px) rotate(45deg);
	}
}


.poste {
    text-align: center;
    font-size: 60px;
    letter-spacing: 10px;
    margin: auto;
    transform: translateX(-150px);
    color: white;
    text-transform: uppercase;
    font-family: 'Play', sans-serif;
}

.github {
    position: absolute;
    top: 10vw;
    left: 40vw;
    z-index: -10;
    overflow: hidden;
    width: 160vw;
    height: 200vh;
}

.key {
    text-align: center;
    font-size: 60px;
    letter-spacing: 5px;
    margin: auto;
    font-size: 20px;
    transform: translateX(-150px);
    color: white;
    text-transform: uppercase;
    font-family: 'Play', sans-serif;
    margin: auto;
    overflow-wrap: break-word;
    width: 50vw;
}

.nodejs-img {
    width: 130px;
    margin: auto;
    filter: brightness(0) invert(1);
}

.nodejs {
    margin-top: 40px;
}

.python-img {
    width: 45px;
    margin: auto;
    filter: brightness(0) invert(1);
}

.comp-sub {
    text-align: center;
    padding: 5px;
    margin: 0 20px;
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .6s, letter-spacing .4s;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: 'Raleway', sans-serif; 
}

.comp {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 10px;
    width: 40%;
    transition: transform 1s;
}

.sub-sub {
    letter-spacing: 5px;
    font-family: 'Raleway', sans-serif; 
    font-size: small;
    color: white;
    text-align: center;
    width: 60%;
    transform: translateY(-10px);
}


.back {
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    padding-left: 10px;
    letter-spacing: -1px;
    background-size: 0% 100%;
    transition: background-size .6s, letter-spacing .4s;
    margin: auto;
    width: min-content;
    color: black;
}

.top-right {
    cursor: pointer;
}

.glitch {
    cursor: pointer;
}

label {
    opacity: 0;
}

input {

    opacity: 1;
    position: absolute;

    z-index: 50000;

    transform: translateX(-500px);

    background-image: url("./images/key.png");
    background-size: contain;

    transition: all .5s;

    font-family: 'Raleway', sans-serif;
    border: none;
    color: white;
    background-color: rgba(110, 109, 109, 0.253);
    letter-spacing: 5px;
    padding: 5px;
    background-repeat: no-repeat;
    text-indent: 20px;
    top: 20vh;
    left: 1vw;
}


.top-left, .bottom-left, .top-right, .bottom-right {
    color: #e6cd42;
}

.top-left, .bottom-left {
    font-size: 16px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    text-transform: none;
}

.top-left, .top-right  {
    margin-bottom: 15px;
}

.top-right, .bottom-right {
    transform: rotate(180deg);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;

}

.flex-corner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.bottom-left {
    transform: rotate(0deg);
    margin-top: 15px;
}

.name {
    color: black;
    padding: 5px;
    position: absolute;
    background-image: linear-gradient(white, white);
    background-position: 100% 0%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .6s, letter-spacing .4s;
    bottom: 0;
    left: 0;
    font-weight: bold;
    margin: 80px 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: 'Raleway', sans-serif;
}

.glitch {
    text-align: center;
    color: #fff;
    margin: 0;
    line-height: 0;
    animation: glitch1 2.5s infinite;
}
.glitch:nth-child(2) {
    color: #67f3da;
    animation: glitch2 2.5s infinite;
}
.glitch:nth-child(3) {
    color: #f16f6f;
    animation: glitch3 2.5s infinite;
}
@keyframes glitch1 {
    0% {
        transform: none;
        opacity: 1;
    }
    7% {
        transform: skew(-0.5deg, -0.9deg);
        opacity: 0.75;
    }
    10% {
        transform: none;
        opacity: 1;
    }
    27% {
        transform: none;
        opacity: 1;
    }
    30% {
        transform: skew(0.8deg, -0.1deg);
        opacity: 0.75;
    }
    35% {
        transform: none;
        opacity: 1;
    }
    52% {
        transform: none;
        opacity: 1;
    }
    55% {
        transform: skew(-1deg, 0.2deg);
        opacity: 0.75;
    }
    50% {
        transform: none;
        opacity: 1;
    }
    72% {
        transform: none;
        opacity: 1;
    }
    75% {
        transform: skew(0.4deg, 1deg);
        opacity: 0.75;
    }
    80% {
        transform: none;
        opacity: 1;
    }
    100% {
        transform: none;
        opacity: 1;
    }
}
@keyframes glitch2 {
    0% {
        transform: none;
        opacity: 0.25;
    }
    7% {
        transform: translate(-2px, -3px);
        opacity: 0.5;
    }
    10% {
        transform: none;
        opacity: 0.25;
    }
    27% {
        transform: none;
        opacity: 0.25;
    }
    30% {
        transform: translate(-5px, -2px);
        opacity: 0.5;
    }
    35% {
        transform: none;
        opacity: 0.25;
    }
    52% {
        transform: none;
        opacity: 0.25;
    }
    55% {
        transform: translate(-5px, -1px);
        opacity: 0.5;
    }
    50% {
        transform: none;
        opacity: 0.25;
    }
    72% {
        transform: none;
        opacity: 0.25;
    }
    75% {
        transform: translate(-2px, -6px);
        opacity: 0.5;
    }
    80% {
        transform: none;
        opacity: 0.25;
    }
    100% {
        transform: none;
        opacity: 0.25;
    }
}
@keyframes glitch3 {
    0% {
        transform: none;
        opacity: 0.25;
    }
    7% {
        transform: translate(2px, 3px);
        opacity: 0.5;
    }
    10% {
        transform: none;
        opacity: 0.25;
    }
    27% {
        transform: none;
        opacity: 0.25;
    }
    30% {
        transform: translate(5px, 2px);
        opacity: 0.5;
    }
    35% {
        transform: none;
        opacity: 0.25;
    }
    52% {
        transform: none;
        opacity: 0.25;
    }
    55% {
        transform: translate(5px, 1px);
        opacity: 0.5;
    }
    50% {
        transform: none;
        opacity: 0.25;
    }
    72% {
        transform: none;
        opacity: 0.25;
    }
    75% {
        transform: translate(2px, 6px);
        opacity: 0.5;
    }
    80% {
        transform: none;
        opacity: 0.25;
    }
    100% {
        transform: none;
        opacity: 0.25;
    }
}

.wr {
    overflow: hidden;
}
.github {
    display: none;
}

@media only screen and (max-width: 1320px) {
    .comp-container {
        justify-content: center;
    }
    .github {
        display: none;
    }
    .wr {
        overflow: hidden;
    }
}

@media only screen and (max-width: 1000px) {
    .comp-container {
        justify-content: center;
    }
    .comp-name {
        font-size: 30px;
    }
    .github {
        display: none;
    }
}

@media only screen and (max-width: 800px) {

    .contact-container {
        transform: none;
        width: 100vw;
    }

    .side {
        top: 0;
        left: 0;
        flex-direction: row;
        align-items: center;
        width: 100vw;
        height: 150px;
    }

    .page {
        transition: all 1s;
    }

    .poste {
        transform: none;
    }

    .project-container {
        animation: float-p-mobile 3s ease-in-out infinite;
    }

    .comp-container {
        width: 100vw;
        transform: none;
    }

    .key {
        width: 100vw;
        padding: 30px;
        box-sizing: border-box;
        transform: none;
    }
}

@media only screen and (max-width: 650px) {

    .contact-container {
        transform: none;
        width: 100vw;
    }

    .contact {
        font-size: 40px;
    }

    .lang {
       font-size: 24px;
       margin-bottom: 50px;
    }

    .bg {
        opacity: 0.7;
    }

    .wr {
        overflow: hidden;
    }

    .github {
        top: 0;
        left: 0;
        z-index: -500;
        position: absolute;
        width: 600px;
        display: none;
    }

    .comp-name {
        letter-spacing: 0px;
    }

    .comp {
        width: 50%;
    }

    .page {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        position: relative;
    }

    .appear {
        padding: 1px;
        box-sizing: border-box;
    }
    
    .menu-item {
        font-size: 12px;
        letter-spacing: 0px;
        width: 100%;
        padding: 0px!important;
    }

    .project-container {
        width: 250px;
        height: 250px;
        animation: float-p-m 3s ease-in-out infinite;
    }

    .mindrop-description {
        font-size: 10px;
        letter-spacing: 1px;
        width: 100px;
    }

    .side {
        height: 100px;
        position: fixed;
        gap: 10px;
    }

    .back, .dev {
        font-size: 30px;
    }

    .sub-sub {
        display: none;
    }

    .comp-name {
        font-size: 25px;
    }

    .python-img {
        width: 40px;
    }

    .logo {
        width: 30px;
    }

    .end {
        width: 30px;
        display: none;
    }

    .bg {
        background-size: cover;
    }
}
