/*  Author:  Neonila Mashlai - xmashl00 */
/*  Date:  2024-04-26 */

body, html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
    font-family: 'Spectral', serif;
    font-size: 16px;
    color: black;
    background-image: url('images/bg/bg.webp');
}

body {
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

header {
    background-image: url("images/bg/header_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 93vh;
    margin:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

header a {
    text-decoration: none;
    align-self: flex-start;
}

header h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

header h1:hover::after {
    transform: scaleX(1);
}

h1 {
    color: #333;
    align-self: flex-start;
    padding-left: 15vw;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 54px;
}

nav {
    display:block;
    align-self: center;
    top: 0;
    width: 100%;
    height: 7vh;
}

.nav-container {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
}

.humburger{
    display: none;
}

.humburger i {
    font-size: 50px;
    color: black;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 1);
}

.nav-active {
    display: block;
    background-color: rgba(255, 255, 255, 0.8);
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.5s ease-in-out;

}

nav ul {
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    height: 7vh;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
    align-content: center;
}

nav a {
    text-decoration: none;
    color: black;
    font-size: 24px;
    display: block;
    height: 60%;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

.active-link::after {
    transform: scaleX(1);
}

section {
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
}

h2 {
    text-align: center;
    font-size: 32px;
}

ul {
    padding-left: 20px;
}

#biography {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    border: 3px solid black;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.bio-sidebar {
    flex: 1;
    margin-right: 10px;
    padding: 10px;
    background-color: rgba(240, 248, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-left: 10px;
}

.timeline {
    flex: 3;
}

.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.active, .collapsible:hover {
    background-color: rgba(124, 156, 122, 0.647);
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding-top: 10px;
}

.timeline-event {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 
.timeline-event h3 {
    font-size: 20px;
    color: #444;
    margin-bottom: 5px;
}

.timeline-event p {
    font-size: 16px;
}


.timeline-event:nth-child(odd) {
    left: 0;
}

.timeline-event:nth-child(even) {
    left: 20px;
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -30px;
    background-color: #333;
    height: 2px;
    width: 30px;
}

.timeline-event:nth-child(odd)::before {
    left: -30px;
}

.timeline-event:nth-child(even)::before {
    left: auto;
    right: -30px;
}

.timeline-event:nth-child(odd) {
    border-right: 2px solid #333;
    border-left: none;
}

.timeline-event:nth-child(even) {
    border-left: 2px solid #333;
    border-right: none;
}

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

.section-item, .timeline-event {
    animation: fadeIn 1s ease-out;
}

#discography{
    background-color: white;
    width: 70%;
    margin: 30px auto;
    padding: 20px;
    font-family: 'Spectral';
    margin: 0 auto;
    align-items: center;
    z-index: 1;
    border-radius: 10px;
    border: 3px solid black;
    margin-top: 5vh;
}

#discography .section-item img {
    width: 30vw;
    display: inline;
    float:left;
    margin-right: 20px;
    object-fit: contain;
    height: 50vh;
}

#discography .section-content {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  row-gap: 0;
}

#discography .section-item:after {
    content: "";
    display: table;
    clear: both;
}
  
#discography .section-item {
    margin-top: 10px;
    border-top: 2px dotted black;
    padding-top: 20px;
}
  
#discography .section-item p {
    text-align: justify;
    font-size: 1.3em;
    margin-top: 0px;
    width: 50%;
    float: right;
    top: -40vh;
    margin-top:10px;
    margin-right: 3%;
}
  
#discography .section-item h3{
    margin: 0;
    text-align: center;
    vertical-align: top;
    font-size: 1.5em;
}

#discography .section-item h3:hover {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

#discography .section-content div:nth-child(2) img,
#discography .section-content div:nth-child(4) img,
#discography .section-content div:nth-child(6) img{
    width: 40%;
    display: inline;
    float:right;
    margin-right: 20px;
}
  
#discography .section-content div:nth-child(2) h3,
#discography .section-content div:nth-child(4) h3,
#discography .section-content div:nth-child(6) h3{
    vertical-align: top;
    text-align:center;
}

.section-item:hover {
    background-color: rgba(124, 156, 122, 0.647);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.section-item a{
    text-decoration: none;
    color: inherit;
    display: block;
}

#awards {
    background-color: #f2f2f2;
    width: 70%;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    border: 3px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-image: url("images/bg/awards_bg.png");
    background-size:cover;
}

#awards h2 {
    margin-bottom: 20px;
    width: 100%;
}

.timeline-container {
    position: relative;
    padding-left: 30px;
    border-left: 4px solid #333;
    width:80%;
    margin:0 auto;
}

.timeline-block {
    margin-bottom: 20px;
    padding-left: 20px;
    display: flex;
    align-items: center;
}

.timeline-dot {
    width: 15px;
    height: 15px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    left: -9.5px;
}

.timeline-block h3 {
    margin: 0;
    font-size: 24px;
    color: #444;
}

.timeline-block p {
    margin: 0;
    padding-left: 10px;
    font-size: 24px;
    color: black;
}

img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    background-color: white;
    width: 70%;
    margin: 0 auto;
    border-left: 3px solid black;
    border-right: 3px solid black;
}

.carousel {
    position: relative;
    width: 90%;
    height: 250px;
    margin: 20px auto;
    overflow: hidden;
}

.carousel-content {
    display: flex;
    transition: width .9s;
    height: 250px;
}

#gallery h2 {
    margin-bottom: 20px;
    width: 100%;
}

.gallery-image {
    z-index: 150;
    transition: left .9s cubic-bezier(.47,.13,.15,.89);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
    color: white;
    font-size: 24px;
    transition: 0.6s;
    position: absolute;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.8);
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 999;
}

.gallery-image:hover {
    transform: scale(1.10);
    transition: transform 0.6s;
    z-index: 200;
}

.gallery-image img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 16px;
}

footer {
    background: linear-gradient(to right, #0a2e38, #2a4158);
    color: white;
    text-align: center;
    padding: 20px 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

footer a {
    color: #0af;
    text-decoration: none;
    padding: 8px 15px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

footer a:hover, footer a:focus {
    color: #fff;
    background-color: rgba(255,255,255,0.2);
}

footer i {
    margin-right: 8px;
}

footer p, footer ul li {
    font-size: 16px;
}

footer p {
    margin: 5px 0;
}

footer .copyright {
    font-size: 14px;
    opacity: 0.75;
}

@media only screen and (max-width: 575px) {
    header {
        height: 100vh;
    }

    h1 {
        font-size: 36px;
    }

    nav ul {
        display: none;
    }

    .humburger {
        display: block;
        position: fixed;
        justify-content: center;
        top: 0;
        right: 0;
        padding-right: 10px;
        align-self: center;
        cursor: pointer;
    }

    .nav-container {
        position: fixed;
        background-color: rgba(255, 255, 255, 1);
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9998;
    }

    .nav-container ul {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }

    .nav-container ul li {
        margin: 10px 0;
    }

    .nav-container ul li a {
        font-size: 24px;
        height: auto;
    }

    #discography .section-item img {
        width: 100%;
        display: block;
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
        height: auto;
    }

    #discography .section-item h3,
    #discography .section-item p {
        width: 100%;
        float: none;
    }

    #discography .section-content div:nth-child(6) img,
    #discography .section-content div:nth-child(4) img,
    #discography .section-content div:nth-child(2) img {
        float: none;
        width: 100%;
    }

    #biography {
        flex-direction: column;
    }

    .bio-sidebar {
        margin-bottom: 15px;
    }

}

@media only screen and (max-width: 768px) and (min-width: 576px) {
    #discography .section-item img {
        width: 100%;
        display: block;
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
        height: auto;
    }

    #discography .section-item h3,
    #discography .section-item p {
        width: 100%;
        float: none;
    }

    #discography .section-content div:nth-child(6) img,
    #discography .section-content div:nth-child(4) img,
    #discography .section-content div:nth-child(2) img {
        float: none;
        width: 100%;
    }

    #biography {
        flex-direction: column;
    }

    .bio-sidebar {
        margin-bottom: 15px;
    }

}
