/*GLOBAL STYLE*/
body{
    background-color: #171517;
}
header{
    position:relative;
}
nav{
    display: flex;
    justify-content: center;
}
a{
    text-decoration: none;
}
p{
    color:white;
    font-family: Arial, Helvetica, sans-serif;
}
/*MENU PAGE*/

.menu-text{
    font-size: 20px;
    text-align: center;
    font-style: italic;
    text-decoration: none;
    margin: 0px;
    margin-top: -40px;
}
#logo{
    width: 180px;
    height: auto;
    position: relative;
    margin-top: -15px;
}
.menu-div{
    position: relative;
}
.menu-stagelight{
    position: absolute;
    width: 260px;
    top: -5px;
    left: -20px;
    z-index: 1;
}
#contemporary-glow{
    position: absolute;
    width: 260px;
    top: 40px;
    left: -10px;
    z-index: 1;
    opacity:0;
}
#ballet-glow{
    position: absolute;
    width: 260px;
    top: 30px;
    left: -10px;
    z-index: 1;
    opacity:0;
}
#jazz-glow{
    position: absolute;
    width: 260px;
    top: 30px;
    left: -10px;
    z-index: 1;
    opacity:0;
}
.menu-glow{
    position: absolute;
    width: 260px;
    top: 20px;
    left: 0px;
    z-index: 1;
    opacity:0;
}
.menu-img{
    position: relative;
    width: 200px;
    height: auto;
    z-index: 2;
    transition:.3s;
}
.menu-img:hover ~#contemporary-glow{
    opacity: 1;
}
.menu-img:hover ~ #ballet-glow{
    opacity: 1;
}
.menu-img:hover ~ #jazz-glow{
    opacity: 1;
}
.menu-img:hover ~ .menu-glow{
    opacity:1;
}

main{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: -60px;
}
#column-2{
    margin-top: 100px;
    margin-left: 10px;
}

/*SUB PAGES*/
.subpage-menu{
    display:flex;
    justify-content: space-between;
    margin: 20px;
    
}
i{
    padding-top: 40px;
}
#desktop-page-title{
    display: none;
}
.page-title{
    font-size: 70px;
    font-weight: bold;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 0px;
}
.subpage-main{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}
iframe{
    width: 358px;
    height: 162px;
    padding-bottom: 10px;
}

.first-box-p{
    font-size: 20px;
}
/*History section*/
.history-title{
    color:white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: right;
    font-size: 45px;
}
#mid-1970s{
    margin-bottom: 100px;
}
.year{
   margin-bottom: 125px;
   margin-left: 0px;
   text-align: left;
}
.timeline{
    margin-left: 20px;
}
.timeline-card{
    margin-left: 10px;
    margin-top: 20px;
}
.card{
    width: 250px;
    height: 130px;
    background-color: #FFC0C0;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
}
.timeline-box{
  display: flex;
}
.card-img{
    width: 80px;
    height: 80px;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}
.desktop-timeline-text{
    display: none;
}
.timeline-titles{
    width: 140px;
    height: auto;
    margin-top: 20px;
    margin-left: 10px;
    margin-bottom: 0px;
    color:black;
    font-weight: bold;
}
.source{
    font-size: 13px;
}
/*Music section*/
.music-title{
    color:white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    font-size: 45px; 
}
.music-box-text{
    font-size: 20px;
}
/*Big names section*/
.bignames-title{
    color:white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: right;
    font-size: 45px; 
}
.bignames-box p{
    font-size: 20px;
    text-align: right;
}
.navigation{
    margin-top: 100px;
    margin-left: auto;
    margin-bottom: 0px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100px;
    height: 40px;
    background-color: #9151D1 ;
    border-radius: 10px;
}
.navigation p{
    color:#FFC0C0;
}
/*carousel*/
.container {
    width: 320px;
    height: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #C2BCFF;
    background-color: #C2BCFF;
    overflow: scroll;
    position: relative;
}
.y-mandatory {
    scroll-snap-type: y mandatory;
}

.element {
    width: 320px; 
    height: 300px;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}
.y-scroll .element {
    margin-bottom: 10px;
  }  
/*adjustment for Jazz page*/
#year1940s-1950s{
    margin-bottom: 85px;
}
#early-1900s{
    margin-bottom: 105px;
}
/*adjustment for Tap page*/
#mid-1800s{
    margin-bottom: 105px;
}
#year-1920s{
    margin-bottom: 120px;
}
#year1920s-1940s{
    margin-bottom: 85px;
}
#navigation-contemporary{
    margin-top: 100px;
    margin-left: auto;
    margin-bottom: 0px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 200px;
    height: 40px;
    background-color: #9151D1 ;
    border-radius: 10px;
}
#navigation-contemporary p{
    color:#FFC0C0;
}
/*adjustment for Ballet page*/
#year1400s-1500s{
    margin-bottom: 90px;
}
.timestamp-ballet{
    margin-bottom: 85px;
}
/*THE HAMBURGER MENU*/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #C2BCFF;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    }

    .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    color: #9151D1;
    display: block;
    transition: 0.3s;
    }

    .sidenav a:hover {
    color: #f1f1f1;
    }

    .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    }
    @media screen and (min-width:1024px){
        /*Menu page*/
        #logo{
            width:220px;
            height: auto;
        }
        
        main{
            display: grid;
            grid-template-rows: 1fr 1fr;
            grid-template-columns: 1fr;
            margin-top: 10%;
            margin-bottom: 10%;
        }
        #column-1{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 80px;
        }
        #column-2{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 80px;
            margin-top: 20px;
        }
       .menu-img{
        width: 250px;
        height: auto;
       }
       .menu-stagelight{
        width: 310px;
        height: auto;
       }
       .menu-text{
        font-size: 28px;
       }
       #menu-text-jazz{
        margin-left: -30px;
       }
       /*subpages*/
       .timeline-titles{
        width: 390px;
        height: auto;
       }
       #desktop-page-title{
        display:block;
        margin-top: 20px;
        font-size: 70px;
       font-weight: bold;
       text-align: left;
       margin-bottom: 0px;
       }
       #phone-contemporary-title{
        display: none;
    }
       iframe{
        display: block;
        margin: auto;
        width: 500px;
        height: 226px;
        padding-bottom: 10px;
       }
       .timeline-box{
        display: flex;
        justify-content: center;
       }
       .card{
        width: 500px;
        height: 130px;
       }
       .container {
        width: 920px;
        height: 320px;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        margin-bottom: 0px;
        overflow: hidden;
        border: 2px solid #C2BCFF;
        background-color: #C2BCFF;
        position: relative;
    }
    .wrapper{
        display: flex;
        justify-content: center;
    }
    .y-scroll .element{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .desktop-timeline-text{
        display: block;
        width: 390px;
        margin-top: 5px;
        margin-left: 10px;
        margin-bottom: 20px;
        color: black;
        font-size: 12px;
        font-weight:100
    }
}
    @media screen and (min-width:1336px){
        main{
            margin-top: -8%;
            margin-bottom: 10%;
        }
        #column-1{
            gap: 120px;
        }
        #column-2{
            gap: 120px
        }
    }
