/* font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.static-gradient,
.gradient-animation {
    position: fixed; /* Ensure they cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.static-gradient {
    background:
        radial-gradient(circle at bottom, transparent, 90%, rgba(0, 0, 0, 0.5)), /* Dark region at the top */
        radial-gradient(circle, #f1f1f1, #05ab75),
        aliceblue;
}

.gradient-animation {
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgb(255 255 255 / 0%), 75%, rgb(191 70 0 / 41%));
    mix-blend-mode: hard-light;
    pointer-events: none;
}

header {
    display: flex;
    flex-direction: column;
}

header .section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

header .section h1 {
    font-size: 3em;
    margin: 0;
    margin-top: 20px;
}

header .section h2 {
    font-size: 1.5em;
}

.mainbody {
    display: flex;
    flex: 1;
    justify-content: center;
    border: #05ab75;
    border-width:3px;
    border-style:solid;
    align-items:start;
}

.container {
    max-width: 800px;
    margin: 40px;
    padding: 60px;
    background: radial-gradient(circle at bottom, rgb(35 136 183 / 48%), #9db9778a);
    box-shadow: 10px 10px 40px rgb(0 0 0 / 62%);
    position: relative;
    z-index: 3;
    border-radius: 9px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    user-select:none;
}

.skill {
    background-color: #063b79;
    color: white;
    mix-blend-mode: darken;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px;
    transition: transform 0.3s;
}

.skill:hover {
    transform: scale(1.1);
}

.about {
    text-align: center;
    margin-top: 60px;
}

.about p {
    font-size: 1em;
    line-height: 1.7;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

.contact a {
    position: relative;
    display: inline-block;
    font-size: 2em;
    color: inherit;
    text-decoration: none;
}

.contact a .fa-icon {
    font-size: 100px; /* 80% of 500px */
    transition: color 0.3s;
}

.contact a .fa-wordpress { color: #21759b; }
.contact a .fa-codersrank { color: #e91e63; }
.contact a .fa-github { color: #333; }
.contact a .fa-gitlab { color: #ff9800; }

#svg-codersrank {
    width:100px;
    user-select:none;
}

#lbl-codersrank {
    font-size: 50%;
    text-align: center
}

.contact a .username {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    text-align: center;
}

.contact a:hover .username {
    opacity: 1;
}

.footer {
    height: 50px; /* Adjust the height as needed */
}
