@font-face {
    font-family: 'CaskaydaMono';
    src: url('fonts/ABC Arizona/ABC Arizona Flare Variable/ABCArizonaFlareVariable-Trial.woff2') format('woff2');
    font-weight: 20; /* Light font weight */
    font-style: SemiLight;
}

/* General Styles */
body {
    margin: 0;
    font-family: 'CaskaydaMono', sans-serif;
    font-weight: 30; /* Ensure light font weight is applied */
    line-height: 1.5; /* Adjust line height for better spacing */
    background: url('media/back5.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    color: #e0e0e0;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
    transition: background-color 0.5s ease;
}

/* Button Styles */
#back-button, #play-audio {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #d1d1d1;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(44, 44, 44, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#back-button img {
    width: 20px;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1);
}

#back-button:hover, #play-audio:hover {
    background-color: rgb(53, 53, 53);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Glassmorphic Card */
.card, .footer-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 35px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 300px;
    text-align: center;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Profile Picture */
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Title and Subtitle */
h1 {
    font-size: 1.5em;
    color: #ffffff;
    margin: 15px 0;
    transition: color 0.3s ease;
}

h1:hover {
    color: #e0e0e0;
}

h2 {
    font-size: 1em;
    color: #d0d0d0;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

h2:hover {
    color: #d0d0d0;
    
}

h3 {
    font-size: 1em;
    color: #d0d0d0;
    margin-bottom: 2px;
}

h4 {
    color: #d0d0d0;
    margin-top: 20px;
    transition: color 0.3s ease;
}

h4:hover {
    color: #d0d0d0;
}

/* Links */
.links a {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    color: #d1d1d1;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 0;
    padding: 10px 20px;
    border-radius: 35px;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(44, 44, 44, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.footer-text {
    font-size: 0.8em;
    color: #d0d0d0;
    transition: color 0.3s ease;
    animation: fadeIn 1s ease-in-out;
}
.links a:hover {
    background: rgb(53, 53, 53);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out forwards;
}

/* Button Container */
.button-container {
    position: relative;
    display: inline-block;
}

#github-button {
    transition: width 0.3s;
}

#option1, #option2 {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.hidden {
    display: none;
}

/* JP Button */
.jp-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    transition: background 0.1s ease-in-out, transform 0.1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    animation: fadeIn 1s ease-in-out forwards;
}

.jp-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}
/* Audio Permission */
#audio-permission {
    animation: fadeIn 1s ease-in-out;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#audio-permission-button:hover {
    transform: scale(1.1);
}

#audio-permission.hide {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 2s ease, transform 2s ease;
}
/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;}
    to {
        opacity: 1;}}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;}
    to {
        transform: translateY(0);
        opacity: 1;}}

h1, h2, h4 {
    animation: fadeIn 1s ease-in-out;}

.profile-pic {
    animation: slideIn 1s ease-in-out;}
