@font-face {
    font-family: "Ubuntu Medium";
    src: url("resources/font/Ubuntu-Medium.ttf");
}

body {
    background-color: black;
    background-image: url("resources/img/bg.gif");
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Times New Roman', Times, serif;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: url("resources/img/bg.gif") no-repeat center center;
    background-size: cover;
    filter: blur(6px);
    z-index: -1;
    overflow: hidden;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.name {
    color: white;
    opacity: 90%;
    font-family: "Ubuntu Medium", sans-serif;
    font-size: 150px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
}

.name::after {
    content: "";
    display: block;
    width: 540px;
    height: 2px;
    opacity: 90%;
    background: linear-gradient(to right, rgba(107, 123, 23, 0), rgb(255, 255, 255), rgba(107, 123, 23, 0));
    margin: 0 auto;
}

.links {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.link-icon {
    display: inline-flex;
    margin-top: -1.5rem;
    height: 6rem;
    width: 6rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    flex-direction: column;
    text-decoration: none;
}

.link-icon img {
    transition: transform 0.3s ease;
}

.icon-text {
    margin-top: 0.5rem;
    font-size: 20px;
    color: white;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    bottom: -20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
}

.link-icon:hover img {
    transform: scale(1.1);
}

.link-icon:hover .icon-text {
    opacity: 1;
    transform: translateY(0);
}