:root {
    overscroll-behavior: none;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: linear-gradient(-45deg, #89c2d9, #468faf, #014f86, #013a63);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100dvh;
    font-family: sans-serif;
    margin: 0;

    position: relative;
    perspective: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

h1 {
    margin: auto;
}

a {
    margin: auto auto;
    color: white;
    text-decoration: none;
}

a:hover {
    color: white;
    text-decoration: underline;
}

a img {
    width: 50px;
    height: auto;
    transition: all 0.5s;
}

a:hover img {
    transform: scale(1.2);
}

.name {
    padding-bottom: 40px;
}

.profile-img {
    margin-top: 30px;
    margin-bottom: 20px;
}

.profile-img img {
    width: 45%;
    height: auto;
    transform: rotate(-60deg);
}

.main-container {
    position: absolute;
    width: 300px;
    color: white;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.05s linear;

    border-radius: 0.8em;
    padding: 10px;
    padding-bottom: 20px;
    box-shadow: 0 2.8px 2.2px rgba(1, 42, 74, 0.02),
    0 6.7px 5.3px rgba(1, 42, 74, 0.028), 0 12.5px 10px rgba(1, 42, 74, 0.035),
    0 22.3px 17.9px rgba(1, 42, 74, 0.042), 0 41.8px 33.4px rgba(1, 42, 74, 0.05),
    0 100px 80px rgba(01, 42, 74, 0.07);

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);  /* This will produce the blur */
    border: 2px solid rgba(255, 255, 255, 0.1);

    user-select: none;
    -webkit-user-select: none; /* for Safari */
    -ms-user-select: none;     /* for old Edge/IE */
}

.contact-info-link {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-inline: 20px;
}

.contact-info {
    padding-top: 10px;
    display: inline-flex;
    flex-direction: column;
}

.contact-info div {
    display: flex;
    margin-top: 10px;
}

.contact-info img {
    padding-right: 10px;
}

.contact-info a {
    font-size: medium;
}
