@import url('https://fonts.googleapis.com/css2?family=Micro+5&display=swap');

/* General Page Styling */
body {
    margin: 0;
    padding: 0;
    font-family: "Micro 5", sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}
/* Main Container */
.main {
    width: 100%;
    height: 100%;
    background: maroon;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Sunburst Background */
.main_inner__loading {
    position: relative;
    height: 100%;
    width: 100%;
    background-image: url('assets/pup-bg.png');
    background-size: cover;    
    background-position: center;
    background-repeat: no-repeat;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main_inner__loading .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    animation: spin 20s linear infinite;
}

.main_inner__loading .bg img {
    min-width: 150%;
    min-height: 150%;
    position: absolute;
}

/* Sound and Music Controls */
.options {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.options_sf, .options_bg {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.options_sf:hover, .options_bg:hover {
    /* background: rgba(255,255,255,0.4); */
}

.options_sf img, .options_bg img {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

/* Logo and Subtitle Styling */
.logo-container {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: scale_bounce_expo 1s forwards;
    transform: scale(0);
}

.logo-image {
    max-width: 60%;
    height: auto;
}

.subtitle {
    padding-top: 0;
    margin-top: 0;
    font-size: 36px;
    color: black;
    animation: scale_bounce_expo 1s 0.5s forwards;
    transform: scale(0);
}

/* Button Styling */
.start-button {
    position: relative;
    z-index: 10;
    margin-top: 10px;
}

.start-button button {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 15px 30px;
    font-size: 30px;
    background-color: #841818;
    border: 3px solid #060606;
    border-radius: 74.4949px;
    color: #FFF48B;
    cursor: pointer;
    font-weight: bold;
    width: 257px;
    height: 64px;
    font-family: 'Micro 5';
    font-style: normal;
    line-height: 64px;
    animation: pulse 1s 2s infinite;
    transition: all 0.3s ease;
}

.start-button button:hover {
    background-color: #E97777;
    color: #800000;
    transform: scale(1.05);
}

/* SVG Styles */
svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(139, 0, 0, 0.8) 100%);
    z-index: 3;
    pointer-events: none;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    text-align: center;
    gap: 20px;
    margin: 20px 0;
}

.decorative-image {
    position: absolute;
    z-index: 2;
    pointer-events: none; 
}

.upper-left {
    top: 5%;
    left: 5%;
    width: 15vmin; 
    height: auto;
    animation: float 4s ease-in-out infinite;
}

.lower-left {
    bottom: 5%;
    left: 5%;
    width: 20vmin; 
    height: auto;
    animation: float 4s ease-in-out infinite 1s;
}

.lower-right {
    bottom: 5%;
    right: 5%;
    width: 15vmin;
    height: auto;
    animation: float 4s ease-in-out infinite 2s;
}

.decorative-image img {
    width: 100%;
    height: auto;
    opacity: 0.8; 
    filter: brightness(0.9); 
}

.lower-left img{
    width: 300px;
    height: auto;
    opacity: 0.8; 
    filter: brightness(0.9); 
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    text-align: center;
    gap: 20px;
    margin: 20px 0;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 10;
}

/* Secondary Buttons (Help & About) */
.secondary-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.help-button, .about-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px 20px;
    font-size: 24px;
    background-color: #841818;
    border: 3px solid #060606;
    border-radius: 70px;
    color: #FFF48B;
    cursor: pointer;
    font-weight: bold;
    height: 50px;
    font-family: 'Micro 5';
    font-style: normal;
    transition: all 0.3s ease;
}

.help-button:hover, .about-button:hover {
    background-color: #E97777;
    color: #800000;
    transform: scale(1.05);
}

.help-button img, .about-button img {
    height: 36px;
    width: 24px;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scale_bounce_expo {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@font-face {
    font-family: "Pasta";
    src: url('your-font-path.woff2') format('woff2'),
         url('your-font-path.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Media Screen*/
@media screen and (max-width: 1024px) {
    .upper-left {
        width: 12vmin;
        top: 3%;
        left: 3%;
    }
    
    .lower-left {
        display: none;
    }
    
    .lower-right {
        width: 12vmin;
        bottom: 3%;
        right: 3%;
    }
}

@media screen and (max-width: 480px) {
    .upper-left {
        width: 12vmin;
        top: 3%;
        left: 3%;
    }
    
    .lower-left {
        display: none;
    }
    
    .lower-right {
        width: 12vmin;
        bottom: 3%;
        right: 3%;
    }
}