/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: DM sans, sans-serif;
    font-weight: 100;
    cursor: crosshair;
    color: #4babb4;
    overflow: hidden;
    background-color: #0f2224;
}

#container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.split-section {
    width: 100%;
    height: 50%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.split-section h2{
    position: absolute;
}
.split-section, #profile-image, #profile-image-left {
    transition: transform 0.5s ease; /* Match transition speed and timing function */
    /* Other existing styles */
}
#swirlCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it's in the background */
}


#programming {
    top: 0;
    border-bottom: 1px solid #4babb4;
    background: radial-gradient(circle at center bottom, #0f2224 0%,#0f2224 58%,  #4babb4  60%,#0f2224 63%, #0f2224 100%);
}


#music {
    bottom: 0;
    border-top: 1px solid #4babb4;
    background: radial-gradient(circle at center top,#0f2224 0%, #0f2224 58%, #4babb4  60%, #0f2224 63%,#0f2224 100%);
}



/* When programming is active, slide sections */
#programming.active {
    transform: translateY(-100%); /* Slide up */
}

#music.active {
    transform: translateY(100%); /* Slide down */
}


#profile-image.active {
    transform: translateX(100%) translateY(-50%);
}

#profile-image-left.active {
    transform: translateX(-100%) translateY(-50%); 
}

.split-section h2 {
    margin: 0;
    font-size: 2em;
}
.profile-pic, .contact-info {
    transition: opacity 0.5s ease-in-out;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.contact-info {
    position: absolute;
    top: 30.8%; /* Adjust as needed */
    left: 30%; /* Adjust as needed */
    width: 45%; /* Adjust as needed */
    color: white;
    text-wrap:wrap;
}



/* Keyframes for the pulse effect */
@keyframes pulse {
    0% {
        background-color: rgba(255, 255, 255, 0);

    }
    50% {
        background-color: rgba(255, 255, 255, 0.2); /* Soft pulse color */
    }
    100% {
        background-color: rgba(255, 255, 255, 0);

    }
}
.music-content{
    width: 100%;
    height: auto;
}

.content iframe  {
    width: 100%; /* Set the width to 100% of its container */
    height: 1000px;
    border: none; /* Removes the border */
}

#dynamic-iframe {
    width: 100%;
    height: 100%; /* Adjust as needed */
    border: none;
    overflow: auto; 
}


@keyframes flash {
    0% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.split-section:hover {
    animation: pulse 1s ease-out;
}

/* Styling for the text inside the split sections to make it more noticeable during the pulse */
.split-section h2 {
    transition: color 0.3s ease;
}

.split-section:hover h2 {
    color: white; 
    font-size: 34px;
    
}


#profile-image {
    position: fixed;
    width: 200px; /* Adjust the size as needed */
    height: 200px; /* Adjust height for buttons */
    overflow: hidden;
    border-radius: 50% 0 0 50%; /* Rounded on the left, flat on the right */
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    justify-content: flex-end; 
    
}

#profile-image-left {
    position: fixed;
    width: 200px; /* Same as the right-side section */
    height: 200px;
    overflow: hidden;
    border-radius: 0 50% 50% 0; /* Rounded on the right, flat on the left */
    top: 50%;
    left: 0; /* Position to the left */
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#profile-image,#profile-image-left{
    border: 1px solid #4babb4;
    background: transparent;
}

.image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 75%; /* Adjust as needed */
    height: auto;
    border-radius: 50% 5% 5% 50%; /* Circular image */
    margin-top: 41px;
    filter: grayscale(100%);
}

#back-button {
    position: absolute;
    top: 25px;
    left: 20px;
    display: none; /* Initially hidden */
    background: none; /* No background */
    border: none; /* No border */
    color: white; /* Text color, can be adjusted */
    font-size: 32px; /* Adjust the size as needed */
    font-weight: bold;
    cursor: pointer; 
    transition: color 0.3s ease;
}

#back-button::before {
    content: '\2190'; 

}

#back-button:hover {
    color: #4EC9B0;


}
.logo{
    height: 40%;
    background-color:#0f2224;
    font-size: 24px;
    font-weight: bold;
}

.logo{
    transition: color 0.3s ease;
}

.logo:hover{
    color: white;
}

#profile-image button:hover,#profile-image-left button:hover {
    background-color: #555;
}

/* Mirrored Image Area on the Left */




.split-section.active .content, .music-content{
    top: 0; /* Show the content */
}


/* Reverse Slide Animations */
.reverse-slide-up {
    transform: translateY(0%);
    transition: transform .5s ease-out;
}

.reverse-slide-down {
    transform: translateY(0%);
    transition: transform .5s ease-out;
}

.reverse-slide-right {
    transform: translateX(0%) translateY(-50%);
    transition: transform 1s ease-out;
}

.reverse-slide-left {
    transform: translateX(0%) translateY(-50%);
    transition: transform 1s ease-out;
}


/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    #container {
        flex-direction: column;
    }

    .split-section h2 {
        font-size: 1.5em;
    }

    #profile-image, #profile-image-left{
        width: 150px;
        height: 150px;
    }
    
        #profile-image{
        margin-right:1px;
    }
}


@media only screen and (max-width: 600px) {
    /* Styles for mobile devices */
    #scroll-up-button, #scroll-down-button {
        /* Example styling for mobile */
        padding: 10px;
        font-size: 16px;
    }

    #dynamic-iframe {
        overflow: auto; 
        width: 100%;

    }
    .image-container img {
  
        margin-top: 30px;

    }

    .logo{

        font-size: 20px;
    }
}
