@font-face {
	font-family: "Minecraft Five";
	src: url("assets/fonts/MinecraftFive.ttf") format("truetype");
}

:root {
    --accent: #4ad8ff;
    --background: linear-gradient(#36d1e552, #0ba4bfad);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Minecraft Five';
    word-spacing: 0.2rem;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

body{
    background: var(--background);
}

::-webkit-scrollbar {
    display: none;
}

header {
    display: flex;
    position: fixed;
    width: calc(100% - 30px);
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
    padding: 24px;
    transition: 0.5s;
    z-index: 99999;
}

header .logo {
    content: url("assets/images/logo/full.png");
    height: 60px;
    color: #000;
}

header .menu {
    display: flex;
    list-style: none;
    transition: 0.3s;
}

header .menu li {
    margin:  0 15px;
    transition: 0.3s;
}

header .menu li a {
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: large;
    transition: 0.3s;
}

header .menu li a:hover {
    display: flex;
    list-style: none;
    text-shadow: #0000004f 2px 2px;
    cursor: pointer;
}

header .menu-button {
    color: white;
    font-size: 36px;
    transition: 0.3s;
    display: none;
}

header .menu-button:hover {
    cursor: pointer;
    text-shadow: #0000004f 2px 2px;
}

.mobile-menu {
    position: absolute;
    position: fixed;
    right: 20px;
    top: 105px;
    background: var(--background);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
    padding: 12px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9999;
}

.mobile-menu.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu li {
    list-style: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.mobile-menu a {
    text-decoration: none;
    color: white;
}

.mobile-menu a:hover {
    text-shadow: #0000004f 2px 2px;
}

#infos {
    height: 100vh;
    background:url("assets/images/background.png");
    background-position: fixed;
    background-size: cover;
    padding: 12px;
    transition: 0.5s;
    margin-bottom: 125px;
}

.container {
    height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: 0.5s;
}

#avatar {
    position: relative;
    height: 150px;
    bottom: -65px;
    left: -75px;
    z-index: 1;
    opacity: 0;
    transform: translateY(100px);
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

#logo {
    position: relative;
    height: 200px;
    z-index: 2;
}

.container:has(#logo:hover) #avatar {
    opacity: 1;
    transform: translateY(0);
}

.container a {
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 12px;
    margin-top:  20px;
    transition: 0.5s;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 1.5rem;
    cursor: pointer;
    background-color: white;
    color: var(--accent);
    border-radius: 5px;
    transition: background-color 0.4s ease;
}

.container a:hover {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.description {
    font-size: 28px;
    color: white;
    text-shadow: #0000004f 2px 2px;
    width: 50%;
    display: block;
    margin: 24px auto 175px;
}

#about {
    position: relative;
    scroll-margin-top: 110px;
}

.title-section {
    text-align: center;
    margin-top: 48px;
    text-transform: uppercase;
    color: white;
    text-shadow: #0000004f 3px 3px;
    font-size: 48px;
}

.name {
    display: inline;
    position: relative;
    width: 110px;
    top: 3px;
}

.icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 48px;
    gap: 76px;
}

.element {
    text-align: center;
}

.element img {
    filter: drop-shadow(#0000004f 3px 3px);
}

.element p {
    color: white;
    font-size: 24px;
    text-shadow: #0000004f 2px 2px;
}

.skin {
    position: absolute;
    bottom: 115px;
    left: 80%;
    width: 300px;
}

footer {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0e2c6334;
    text-align: center;
    padding: 24px 0;
    color: #fff;
    margin-top: 180px;
}

.socials {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.socials-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
}

.socials-group a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    text-shadow: #0000004f 2px 2px;
    color: white;
    text-decoration: none;
}

.socials-group i {
    font-size: 28px;
}

.straky {
    display: flex;
    flex-direction: column;
}

.straky p, .straky a {
    font-size: 18px;
    text-shadow: #0000004f 2px 2px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    color: white;
    text-decoration: none;
}

.straky a:hover, .socials-group span:hover {
    text-decoration: underline;
}

.straky img {
    filter: drop-shadow(#0000004f 2px 2px);
}

@media (max-width: 1600px) {
    .skin {
        left: 78%;
        width: 250px;
        z-index: -999;
    }
}

@media (max-width: 1200px) {
    .socials {
        gap: 12px;
    }

    .socials-group {
        flex-direction: column;
        gap: 12px;
    }

    .skin {
        bottom: 236px;
        left: 70%;
        width: 200px;
    }
}

@media (max-width: 900px) {
    header .menu-button {
        display: block;
    }

    header .menu {
        display: none;
    }

    #logo {
        height: 100px;
    }

    #avatar {
        height: 100px;
        top: 35px;
        left: -35px;
        transform: translateY(50px);
    }

    .container a {
        font-size: 1rem;
    }

    .title-section {
        font-size: 36px;
    }

    .description {
        width: 80%;
        font-size: 24px;
    }

    .name {
        width: 90px;
    }

    .skin {
        bottom: 459px;
        left: 65%;
    }

    .icons {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 48px;
    }
}

@media (max-width: 500px) {
    .skin {
        bottom: 459px;
        left: 60%;
        width: 150px;
    }
}

@media (max-width: 400px) {
    #avatar {
        height: 100px;
        transform: translateY(25px);
    }

    .container a {
        font-size: 0.8rem;
    }

    .title-section {
        font-size: 32px;
    }

    .description {
        width: 85%;
        font-size: 18px;
    }

    .name {
        width: 90px;
    }

    .element img {
        width: 100px;
    }

    .element p {
        font-size: 20px;
    }

    .skin {
        bottom: 455px;
        left: 50%;
    }

    .socials-group a, .straky p, .straky a {
        font-size: 16px;
    }
}

@media (max-width: 300px) {
    .logo {
        content: url("assets/images/logo/heart.png") !important;
    }

    #logo {
        height: 75px;
    }

    .title-section {
        font-size: 24px;
    }

    .name {
        width: 75px;
    }

    .element p {
        font-size: 18px;
    }

    .skin {
        left: 30%;
    }
}