/* CSS/INDEX.CSS */
/* MAIN */



/* RESET */
* {margin: 0;padding: 0;}
*,*::before,*::after {box-sizing: border-box;}

html {
    background-color: #000; /* Sets the base canvas color to black */
}
body {
    overflow-x: hidden;
    background-color: #000;
    min-height: 100vh;
}

#background {
    min-height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    background-attachment: fixed; /* Keeps the background image immersive while scrolling */
    padding: 1rem 2rem 0 2rem;
    color: white;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    background-image: url("../assets/images/backgrounds/redshift.webp");
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* MENU */
.navbar {
    display: flex;
    justify-content: center;
    gap: 4.5rem;
    padding: 0 0 2rem 0;
    width: 100%;
    list-style: none;
    transition: all 0.5s ease-in-out;
}

.navbar li {
    flex: 1;
    max-width: 180px; /* Limits how wide the buttons get on large screens */
    text-align: center;
}

.nav_link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 2px solid white;
    background-size: 400% 400%;
    cursor: pointer;
}

/* HIDE ACTIVE */
.nav_link.active-bg {display: none;}
.nav_link:hover{font-size: 1.3rem;}

/* MOBILE MENU */
.hamburger {display: none;}

.bar {
    display: block;
    width: 35px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}




/* MAIN CONTAINER */
.main-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* LEFT COLUMN */
.left-column {
    flex: 0 0 50%; 
    height: 310px; 
    padding: 1.8rem;
    background-color: black;
    border: 2px solid whitesmoke;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

hr {
    height: 3px;
    margin: 10px auto 17px auto;
    background: whitesmoke;
}

.quote-container {padding: 1rem;}
#quote-author { font-style: italic; padding-top:1rem;}





/* RIGHT COLUMN */
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.music-container {
    background-color: black;
    border: 2px solid whitesmoke;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
    margin: 0;
    z-index: 10;
    max-width: 100%;
}

.music-img-container {
    position: relative;
    width: 110px;
}

.music-img-container::after {
    border: 2px solid whitesmoke;
    content: '';
    background-color: black;
    border-radius: 50%;
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, 50%);
}

.music-img-container img {
    border: 0.5px solid whitesmoke;
    border-radius: 50%;
    object-fit: cover;
    height: 110px;
    width: inherit;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: rotate 23s linear infinite;
    animation-play-state: paused;
}

.music-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.action-btn {
    background: none;
    border: 0;
    color: #dfdbdf;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    margin: 0 20px;
}

.action-btn.action-btn-big {
    color: #cdc2d0;
    font-size: 30px;
}

.music-container.play .music-img-container img {animation-play-state: running;}
.action-btn:focus {outline: 0;}

.music-info {
    background-color: black;    
    border: 2px solid whitesmoke;
    height: 127px;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    position: absolute;
    top: 0;
    left: -1.9px;
    width: 100.74%;
    padding: 20px 50px 1px 120px;
    opacity: 0%;
    transform: translateY(0%);
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
    z-index: 0;
}


.music-container.play .music-info {
    opacity: 1;
    transform: translateY(-80%);
}

.progress-container {
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    height: 4px;
    width: 100%;
}

.progress {
    background-color: yellowgreen;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}


/* BREATHING WORD */
.breathe-container {
    width: 100%;
    padding: 0.3rem 2rem;
    border: 2px solid whitesmoke;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 70px; 
}

/* RIGHT COLUMN END */

/* CIRCLES */
#circles {
    width: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.circle-container {
    margin: 0;
    padding: 0;
    height: 125px;
    width: 125px;
    animation: pulse 4s cubic-bezier(0.5, 0, 0.5, 1) alternate infinite;
}

.circle {
    height: 125px;
    width: 125px;
    border-radius: 50%;
    position: absolute;
    mix-blend-mode: screen;
    transform: translate(0, 0);
}
/* CIRCLES - END */




/* FOOTER */
footer p {
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
