:root{
    --black:#000;
    --pinkBackground:#FFF2ED;
    --purpleButton:#532980;
    --purpleHighlight: #A737FF;
    --pinkHighlight: #FF94D8;
    --white:#FFF;
    --grey:#707070;
    --fontgrey:#3c3838;
    --movie1:url("art-assets/12-angry-men-british-movie-poster.jpg");
    --movie2:url("art-assets/a-nightmare-on-elm-street-movie-poster (1).jpg"); 
    --movie3:url("art-assets/aladdin-movie-poster (2).jpg"); 
    --movie4:url("art-assets/beauty-and-the-beast-fposter-gallery-1.jpg");
    --movie5:url("art-assets/carrie-dvd-movie-cover.jpg");
    --movie6:url("art-assets/cleopatra-italian-movie-poster.jpg"); 
    --movie7:url("art-assets/aladdin-movie-poster (1).jpg"); 
    --movie8:url("art-assets/drishyam-indian-movie-poster.jpg");
    --movie9:url("art-assets/fantastic-four-movie-poster.jpg");
    --movie10:url("art-assets/psycho-movie-poster.jpg"); 
    --movie11:url("art-assets/scarface-movie-poster.jpg");  
    --movie12:url("art-assets/shaft-movie-poster.jpg"); 
    --movie13:url("art-assets/the-lion-king-movie-poster.jpg");  
    --blog1:url("art-assets/Group 24.png");
    --blog2:url("art-assets/Group 25.png");
    --blog3:url("art-assets/Group 28.png");
    --blog4:url("art-assets/Group 29.png");
    --blog5:url("art-assets/Group 30.png");
}

body{
    height: 100vh;
    width: 100vw;
    background-color: var(--pinkBackground);
    /* font-family: 'Lato', sans-serif; */
    /* overflow: hidden; */
    /* font-family: 'Abril Fatface'; */
    /* font-family: 'Roboto', sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:var(--fontgrey);
}

h1{
    font-size: 60px;
    text-align: center;
    float: inline-start;
    /* font-family: 'Abril Fatface', cursive; */
    font-family: 'Aboreto', cursive;
    /* font-family: 'Lato', sans-serif;  */
    color: var(--black);
}

h2, h3{
   font-family: 'Aboreto', cursive;
   color: var(--black);
}

a{
    text-decoration: none;
    color: var(--black);
}

p{
    font-size: 22px;
}

/* #region Home Page */

#index-div{
   display: grid;
   /* grid-template-columns: 20% 20% 20% 20% 20%; */
   gap: 50px; 
   /* s */
   /* margin-top: 120px; */
    width: 90%;
    margin: auto;
}

#index-div h1{
    font-size: 100px;
}

#text-section{
    grid-column-start: 1;
    grid-column-end: 2;
    margin-top: 150px;
    /* grid-row-start: 1;
    grid-row-end: 3; */
}

#text-section p{
    font-size: 18px;
}

#emph-text{
    font-size: 28px !important;
    /* color: var(--pinkHighlight); */
    color: #493543;
}

#image-section{
    grid-column-start: 3;
    grid-column-end: 5;
    /* grid-row-start: 4;
    grid-row-end: 5; */
    margin-top: 150px;
    margin-left: 20px;
    /* min-width: 400px; */
    display: grid;
    gap: 10px;
    grid-auto-rows: 85px;
    grid-auto-columns: 85px;
    
}

#image-section div{
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.2s;
}

#image-section div:hover{
    transform: scale(1.5);
}

/* #endregion */

/* #region movie Posters */

#img1{
    background-color: var(--white);
    grid-column: 1/3;
    grid-row: 1/3;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--grey);
    background-image: var(--movie1);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img2 {
    background-color: var(--white);
    grid-column: 5/6;
    grid-row: 1/3;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie2);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img3 {
    background-color: var(--white);
    grid-column: 7/8;
    grid-row: 1/2;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie13);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img4 {
    background-color: var(--white); 
    grid-column: 9/11;
    grid-row: 1/2;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie11);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

#img5 {
    background-color: var(--white);
    grid-column: 3/4;
    grid-row: 3/4;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--grey);
    background-image: var(--movie3);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img6 {
    background-color: var(--white);
    grid-column: 8/10;
    grid-row: 3/4;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie12);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
}

#img7 {
    background-color: var(--white);
    grid-column: 1/2;
    grid-row: 4/5;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie8);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img8 {
    background-color: var(--white);
    grid-column: 5/7;
    grid-row: 4/6;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie5);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img9 {
    background-color: var(--white);
    grid-column: 8/9;
    grid-row: 5/6;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie7);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img10 {
    background-color: var(--white);
    grid-column: 10/11;
    grid-row: 4/6;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie4);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img11 {
    background-color: var(--white);
    grid-column: 2/4;
    grid-row: 6/8;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--white);
    background-image: var(--movie6);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#img12 {
    background-color: var(--white);
    grid-column: 6/8;
    grid-row: 7/8;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie9);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

#img13 {
    background-color: var(--white);
    grid-column: 10/11;
    grid-row: 7/8;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--black);
    background-image: var(--movie10);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* #endregion */

/* #region Footer */

#top-divider{
    /* color: var(--purpleButton); */
    width: 100%;
    height: 3px;
    /* background-color: var(--purpleButton); */
    background-color: var(--pinkHighlight);
    grid-column-start: 1;
    grid-column-end: 5;
    
}

#horizontal-divider{
    width: 3px;
    height: 100%;
    background-color: var(--pinkHighlight);
    margin: auto;
    grid-column-start: 3;
    margin-top: 7px;
    margin-bottom: 7px;
}

#lhs{
    grid-column-start: 1;
    grid-column-end: 2;
    margin-left: 30px;
    margin-bottom: 20px;
}

#lhs p{
    font-family: 'Aboreto', cursive;
    color: var(--black);
}

footer{
    display: grid;
    margin-top: 30px;
    margin-bottom: 30px;
    /* padding-left: 10px;
    padding-right: 10px; */
}

#quote{
      grid-column-start: 4;
    grid-column-end: 5;
}
/* #endregion */

/* #region Navigation */
nav{
float: right;
/* background-color: #532980; */
width: 100vw;
position: absolute;
top: 0;
}

.underline{
    width: inherit;
    height: 5.5px;
    background-color: var(--pinkHighlight);
}

#nav-list{
    float: right;
    margin-left: 40px;
    
}

#nav-list li{
    display: inline-block;
    margin-right: 40px;
    margin-top: 10px;
    
}

#nav-list li a{
    text-decoration: none;
    color: var(--fontgrey);
    font-size: 30px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#data-vis{
    margin: 20px;
    text-decoration: none;
    color: var(--white) !important;
    font-size: 40px;
}

#data-vis-button{
background-color: var(--purpleButton);
border-radius: 20px;
text-align: center;
width: fit-content;
float: right;
/* top: -140; */

}

#check{
display: none;
}

.burger-button{
    font-size: 3px;
    color: var(--pinkHighlight);
    float: right;
    margin-right: 40px;
    line-height: 100px;
    cursor: pointer;
    display: none;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 4000,
        'GRAD' 0,
        'opsz' 48
}


/* #endregion */

/* #region Data Art */

#data-art-video{
    width: 100%;
    max-width: 100vh;
    height: 60vh;
    grid-column-start: 2;
    grid-column-end: 5; 
    grid-row-start: 2;
    grid-row-end: 5; 
}

#design-toggle-art{
    margin: auto;
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    height: 65px;
    border-color: var(--pinkHighlight);
    display: flex;
    flex-direction: row;
    padding: 5px;
    text-align: center;
    font-size: 30px;
    justify-content: center;
    grid-column-start: 2;
    font-family: 'Aboreto', cursive;
    color: var(--black);
}

#design-toggle-art2{
    margin: auto;
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    height: 65px;
    border-color: var(--pinkHighlight);
    display: flex;
    flex-direction: row;
    padding: 5px;
    text-align: center;
    font-size: 30px;
    justify-content: center;
    font-family: 'Aboreto', cursive;
    color: var(--black);
   
}

#selected-art{
    background-color: var(--pinkHighlight);
    border-radius: 15px;
    padding: 10px;
}

#unselected-art{
    border-radius: 15px;
    padding: 10px;
}


#unselected-art a{
    text-decoration: none;
    color: var(--black);
}


#info-box{
    border: var(--black);
    border-style: solid;
    border-width: 1.5px;
   max-width: fit-content;
    grid-column-start: 1;
    grid-row-start: 3;
    padding: 15px;
    border-radius: 15px;
    border-color: var(--pinkHighlight);
}

#code-link{
    color: var(--purpleHighlight);
    text-decoration: underline;
}

#main-content{
    display: grid;
    gap: 50px; 
    width: 90%;
    margin: auto;
    margin-top: 125px;
}

#main-content h1{
    margin-top: 100px;
    grid-column-start: 1;
    grid-column-end: 5; 
}

#game-container{
    display: grid;
    gap: 50px;
    margin-top: 100px; 
}

#rules-container{
    grid-column-start: 1;
    grid-column-end: 2; 
    background-color: var(--pinkBackground);
    border-style: solid;
    border-radius: 15px;
    border-width: 1px;
    padding: 10px;
    grid-column-start: 1;
    grid-column-end: 2;
    border-color: var(--pinkHighlight);
}

#play-area{
    grid-column-start: 2;
    grid-column-end: 5; 
    background-color: #FFF;
    border-style: solid;
    border-radius: 15px;
    border-width: 1px;
    padding: 10px;
    text-align: center;
    grid-column-start: 2;
    grid-column-end: 5;
    border-color: var(--pinkHighlight);
}

#play-area h3{
    color: #c8164c;
    font-size: 30px;
}

.film-selections{
    border-color: #c867a5;
    border-radius: 8px;
    background: var(--white);
}

#scoreboard{
    grid-column-start: 5;
    grid-column-end: 8; 
    background-color: var(--pinkBackground);
    border-style: solid;
    border-radius: 15px;
    border-width: 1px;
    padding: 10px;
    grid-column-start:5;
    grid-column-end: 6;
    border-color: var(--pinkHighlight);
}

#enter-input{
    background: var(--purpleButton);
    width: 25px;
    height: 25px;
    margin: auto;
    border-radius: 5px;
    margin-top: 20px;
}

#diff{
    /* margin: auto; */
    align-self: center;
    margin-top: 20px;
}

.slider-container{
    width: 100%;
    margin-top: 20px;
}

.slider{
    appearance: none;
    width: 100%;
    height: 10px;
    background: #e4d0dc;
    outline: none;
    opacity: 0.7;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
}

.slider:hover{
    opacity: 1;
}

.slider::-webkit-slider-thumb{
    appearance: none;
    width: 25px;
    height: 25px;
    background: #efc4df;
    cursor: pointer;
    border-radius: 15px;
    border-color: #c867a5;
    border-style: solid;
}

.slider::-moz-range-thumb{
    width: 25px;
    height: 25px;
    background: #04AA6d;
    cursor: pointer;
}

#buttons-container{
   margin-top: 20px;
   padding: 20px; 
   display: flex;
   align-content: space-between;
   align-items: center;
}

/* #endregion */

/* #region Data Visualisation */

#main-section {
    display:grid;
    gap:10px;
    margin: 20px;
    margin-top: 80px;
}

#main-section h1{
    text-align: center;
    grid-column: 2/5;
    /* margin-top: 20px; */
}

#legend-section{
    grid-column: 1/2;
    
}

#original-circle{
    width: 25px;
    background-color: #69b3a2;
    height: 25px;
    border-radius: 15px;
    border-color: var(--black);
    border-style: solid;
    border-width: 2px;
    margin: 5px;
}

#remake-circle{
    width: 25px;
    background-color: #88CCF1;
    height: 25px;
    border-radius: 15px;
    border-color: var(--black);
    border-style: solid;
    border-width: 2px;
    margin: 5px;
}

.key-section{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#graph-section{
    grid-column: 2/5;
}

#graph{
    background-color: var(--white);
    height:600px;
    width: inherit;
    border-radius: 5px;
    border-color: var(--grey);
    border-style: solid;
    border-width: 1px;
    margin-right: 30px;
    margin-left: 30px;
}

.graph-dividers{
    height: 2px;
    background-color: var(--pinkHighlight);
    opacity: 0.75;
}

#graph2 {
    background-color: var(--white);
    height: 600px;
    width: inherit;
    border-radius: 5px;
    border-color: var(--grey);
    border-style: solid;
    border-width: 1px;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
}

#interactive-graph{
    background-color: var(--white);
    height: 600px;
    width: inherit;
    border-radius: 5px;
    border-color: var(--grey);
    border-style: solid;
    border-width: 1px;
    margin-right: 30px;
    margin-left: 30px;
}

#graph-section h2{
    text-align: center;
}

#legend{
    background-color: var(--white);
    height: 200px;
    width: inherit;
    border-radius: 5px;
    border-color: var(--grey);
    border-style: solid;
    border-width: 1px;
    text-align: center;
    font-size: 25px;
    padding: 10px;
    min-width: 250px;
    margin-top: 14px;
}

#variable-container{
    background-color: var(--pinkHighlight);
    min-height: 150px;
    width: inherit;
    border-radius: 5px;
    border-color: var(--purpleButton);
    border-style: solid;
    border-width: 1px;
    text-align: center;
    font-size: 25px;
    margin-top: 20px;
    /* padding: 2.5px; */
}

.variable-drop{
background-color: var(--grey);
    height: 50px;
    width: inherit;
    border-radius: 5px;
    border-color: var(--grey);
    border-style: solid;
    border-width: 1px;
    text-align: center;
    font-size: 25px;
    margin: 20px;
}
/* #endregion */

/* #region Blogs */

.blog-cards{
    max-width: 85vw;
    margin: auto;
    background-color: var(--white);
    border-style:solid;
    border-width: 0.5px;
    border-color: var(--pinkHighlight);
    border-radius: 15px;
    padding: 20px;
    display: grid;
    grid-auto-columns: 24%;
    gap: 10px;
    box-shadow: 1.5px 1.5px 5px var(--pinkHighlight);
    margin-top: 30px;
}

.blog-text{
    grid-column: 1/4;
    width: inherit;
}



.blog-image {
    grid-column: 4/5;
    width: inherit;
    /* background-color: var(--white);
    border-style: solid;
    border-width: 0.5px;
    border-color: var(--grey); */
    border-radius: 15px;
}

#blog-post-main{
    padding: 20px;
    width: 70%;
    margin: auto;
    margin-top: 60px;
}

#blog-post-main h2{
    text-align: center;
}

#blog-main{
    margin-top: 60px;
    padding-top: 20px;
    /* position: absolute; */
    justify-content: center;
    align-items: center;
    align-content: center;
}

.next-buttons{
    background-color: var(--pinkBackground);
    margin-left: 35px;
    margin-right: 35px;
    border-radius: 10px;
    border-color: var(--pinkHighlight);
}

#nex{
    float: right;
}

.next-buttons:hover{
    background-color: var(--pinkHighlight);
}

#blog1{
    background-image: var(--blog1) ;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#blog2{
    background-image: var(--blog2) ;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#blog3{
    background-image: var(--blog3) ;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#blog4{
    background-image: var(--blog4) ;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#blog5{
    background-image: var(--blog5) ;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* #endregion */

/* #region Design Page */
#design-toggle{
    width: fit-content;
    /* background-color: var(--white); */
    margin: auto;
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    height: 65px;
    border-color: var(--pinkHighlight);
    display: flex;
    flex-direction: row;
    padding: 5px;
    text-align: center;
    font-size: 30px;
    justify-content: center;
    font-family: 'Aboreto', cursive;
    color: var(--black);
}


#design-main{
    margin-top: 130px;
    position: absolute;
    width: 100%;
}

#selected{
    /* width: 50%; */
    background-color: var(--pinkHighlight);
    border-radius: 15px;
    padding: 10px; 
}

#unselected{
    padding: 10px; 
}


#unselected a{
    text-decoration: none;
    color: var(--black);
}

.design-container{
    display:flex;
    flex-direction: row;
    padding: 20px;
    margin-top: 40px;
    /* height: 70%; */
}

.design-image{
    width: 60%;
    height: 60vh;
    /* background-color: var(--white); */
    margin-left: 20px;
    margin-right: 20px;
}

.design-image img{
    /* max-width: 100%; */
    max-height: 100%;
    width:100%;
    object-fit: contain;
}

.design-divider{
    /* height: 100%; */
    width: 2.5px;
    background-color: var(--black);
    margin-left: 20px;
    margin-right: 20px;
}

.design-text-container{
    max-width: 30%;
    margin-left: 20px;
    margin-right: 20px;
}

.design-text-container h2{
    text-align: center;
}

.design-text-container p {
    font-size: 20px;
}

/* #endregion */

/* #region MediaQuery */

@media(max-width:800px){
    .burger-button{
        display: block;
    }

    nav{
        z-index: 5;
    }

    #nav-list{
        width: 100%;
        background-color: var(--pinkBackground);
        height: 100vh;
        text-align: center;
        top:60px;
        transition: all 1s;
        display: none;
        /* z-index: 2; */
    }

    #nav-list li {
        display: block;
        padding: 30px 0;
    }

    #nav-list li a {
        font-size: 25px;
        color: var(--black);
        
    }

    #check:checked~ul{
        right:0;
        display: block;
    }

    .underline {
        display: none;
    }

    .active{
        background-color: var(--purpleHighlight);
        padding: 20px;
        border-radius: 20px;
        color: var(--white)!important;
    }

    #design-main{
        z-index: -1;
    }

    #image-section {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-auto-rows: 85px;
        grid-auto-columns: auto;
    }

    #design-toggle {
        font-size: 20px;
    }

    #data-art-video{
        width: 100%;
        height: 60vh;
        grid-column-start: 1;
        grid-column-end: 5; 
    }

    #info-box{
        max-width: fit-content;
        grid-column-start: 2;
        grid-row-start: 5;
    }

    #rules-container{
       grid-row-start: 3;
       grid-column-start: 1;
        grid-column-end: 6;
    }

    #play-area{
        grid-column-start: 1;
        grid-column-end: 6; 
    }

    #scoreboard{
       grid-row-start: 2;
       grid-column-start: 1;
        grid-column-end: 6;
    }

    .design-container{
        /* display:flex; */
        flex-direction: column;
        width: 100%;
    }

    .design-image {
        width:100%;
        height: auto;
    }

    .design-divider {
        height: 2.5px;
        width: 100%;
    }

    .design-text-container {
        max-width: 100%;
    }

    #legend-section{
        display: none;
    }
}

/* #endregion */

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  /* border: none; Remove borders */
  outline: none; /* Remove outline */
  background-color: var(--pinkBackground);
  color: var(--black);/* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 30px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  border-color: var(--pinkHighlight);
}

#myBtn:hover {
  background-color: var(--pinkHighlight); /* Add a dark-grey background on hover */
}