@font-face {
    font-family: 'Audiowide';
    src: url('/static/fonts/audiowide.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: #fff;
}
.centered-container {
    display: flex;
    justify-content: top;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 90px;
    opacity: 0;
}
.centered-container.loaded {
    animation: fadeInSlideUp 1s forwards;
}
.rounded-image {
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    object-fit: cover;
    align-items: center;
    text-align: center;
    width: 280px;
    height: 280px;
}
.info {
    font-weight: bold;
    font-size: 30px;
    font-family: Audiowide;
}
.profile-image {
    width: 100%;
    height: auto;
}
.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.get-resume-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    background: linear-gradient(90deg, #007BFF, #00d4ff);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Audiowide;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.get-resume-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}
.get-resume-button:hover:before {
    left: 100%;
}
.get-resume-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.6);
}
.icon-button-linkedin,
.icon-button-github,
.icon-button-mail {
    transition: transform 0.3s ease;
}
.icon-button-linkedin:hover,
.icon-button-github:hover,
.icon-button-mail:hover {
    transform: scale(1.1);
}
.contact-image {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    padding: 14px 20px;
    font-family: Audiowide;
    transition: background-color 0.3s, color 0.3s;
}
.navbar .center {
    color: inherit;
    font-size: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.navbar .menu {
    display: flex;
    gap: 20px;
    margin-left: auto;
    align-items: center;
}
.navbar .menu a {
    color: inherit;
    text-decoration: none;
    padding: 8px 16px;
    position: relative;
    transition: color 0.4s ease;
}
.navbar .menu a:hover {
    color: #ff9800;
}
.navbar .menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #ff9800;
    transition: width 0.4s ease, bottom 0.4s ease;
}
.navbar .menu a:hover::after {
    width: 100%;
    bottom: 0;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-content a:hover {
    background-color: #333;
    color: #ff9800;
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
footer {
    text-align: center;
    background: black;
    color: white;
    width: 100%;
    height: 70px;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px 0;
    font-family: 'Audiowide', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
}
.source-code-text {
    text-decoration: none;
    color: inherit;
    margin-left: 10px;
    padding: 8px 16px;
    position: relative;
    transition: color 0.4s ease;
}
.source-code-text:hover {
    color: #ff9800;
}
.source-code-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #ff9800;
    transition: width 0.4s ease, bottom 0.4s ease;
}
.source-code-text:hover::after {
    width: 100%;
    bottom: 0;
}
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid #333;
    border-top-color: transparent;
    animation: spin 2s linear infinite;
}

@media (max-width: 768px) {
    .navbar .center {
        display: none;
    }
    footer{
        display: none;
    }
    .button-container{
        display: none;
    }
    .navbar .menu{
        margin-right: 22%;
    }
}
