/* Styles for laptop*/


.navbar {
    width:100vw; 
    display: flex;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    text-decoration: none;
    
    }
 
.navMenu{
    text-decoration: none;
}
.navMenu ul { 
    margin:0; 
    padding:0; 
}

.navMenu { 
    display:flex; 
    justify-content: space-around; 
    width: 100%; 
    top: 0;
    left: 0;
    z-index: 1000;
}

.navitem a {
    text-decoration: none;
}
.navitem { 
    list-style: none;
    color: white !important;;
    font-size: 20px;
}
.nav-link {
    color:white; 
}

.nav-link:hover{
    color:grey;
    scale: 1.1; 
}

* {
    font-family: "PT Sans", sans-serif;
    margin:0px; 
    padding:0px; 
    line-height:1.6; 

}


.intro {
    min-height: 95vh; 
    background-color:black;
    padding: 10px;
    display: flex; 
    border-bottom: 3px solid white;
    margin:20px; 
    align-items: center;


}

.IntroductionText { 
    color: white; 
    font-size: 1.4rem;
    padding:60px; 
    border-left: 3px solid white;
}

.introtitle { 
    min-width: 40vw; 
}

.intro h1 {
    font-size: 12vh;
    color: white;
    margin: 15px;



}

body { 
    font-family: "Gleego", serif;  
    font-size: 16px; 
    margin: 0; 
    padding:0; 
    background-color: black !important; 
    overflow-x:hidden; 
    
}

p a{
    color: #aad3ff;
}

p a:hover{
    color: #a89bff;
}



/* Centering the container, which will be the timeline */
#listContainerWrapper {
    display: flex;
    justify-content: center;
    align-items: center;

}

/* Style the unordered list to remove default padding and margin, and use flexbox */
#listContainer {
    list-style-type: none; 
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(1, auto);
    gap: 20px; 
    background-color: black; 
    Border-left: 15px white solid; 
    padding-left:5vw; 
    padding-top:10vh; 
    padding-bottom:10vh; 

}

/* creates the timeline box within our distinctive style*/ 

.timelinebox {
    list-style:none; 
    width:350px; 
    height:200px; 
    padding-bottom: 30px;
    padding-top: 30px;
    border:white solid 10px; 
    border-left: turquoise solid 20px;
    position: relative; 
    background-color: black; 
    color: white;
    border-radius: 3%;
    display:flex; 
    align-items: center;
    justify-content: center;

}
.timelinebox:hover { 
    scale:calc(1.05); 
}


.timelineTitle { 
    font-size: 25px; 
    font-style: bold;
    text-align:center;

}

/* the styles of this came from the W3 Schools Modal elements */ 
.mymodal {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}
/* When the modal is active (open) */
.mymodal.active {
    display: block; 
    justify-content: center;
    align-items: center;
}


.modalcontent {
    background-color: #fefefe;
    padding: 40px;
    border: 1px solid #888;
    min-width: 70vw; 
    max-width: 90vw;
    min-height: 70vh;
    max-height: 90vh;  
    overflow: auto;
    position: relative;
    align-items: center;
    justify-content: center;
}


.titleForModal {
    font-size: 24px; 
    font-weight: bold;
    margin-bottom: 20px; 
    text-align: center; 

}

.columndiv {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.column { 
    flex:50% 
}

/* The Close Button */
.closeBtn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeBtn:hover,
.closeBtn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
}



.results-container {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.result-item {
    margin-bottom: 10px;
}

.carousel-item img {
    width: 100%;
    height: auto; 
  }



.event {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.event img {
    max-width: 100%;
    height: auto;
}


/* adds the styles for the reverse button which sits above the rest of the page*/ 

.reversebutton { 
    position: fixed; 
    bottom: 0; 
    right:0; 
    z-index:100000; 
    height: 20px; 
    width: 40px;
    margin:30px; 
}


/* increases the size when hovers*/ 

.reversebutton:hover { 
    scale:calc(1.3);
    cursor:pointer; 
}


.timeLabel { 
    Display: flex; 
    align-items: center;
    justify-content: center;
    height: 100px; 
    width:100px; 
    border: 3px, white, solid; 
    color: black; 
    transform: translateX(-300px); 
    border-radius:10px; 
    background-color: white;


    

}

/* Media queries to create the site for tablets */


@media (max-width:600px) {
    html { 
        padding: 0;
        margin:0; 
    }
   
    .intro { 
        background-color:black;
        padding: 10px;
        display: flex; 
        flex-direction: column;
        border-bottom: 3px solid white;
        margin:20px; 
        align-items: center;
    
    
    }

    .intro h1 {
        font-size: 60px;
        padding-bottom: 6vh;
        border-bottom: white 3px solid; 
    }

    .IntroductionText { 
        border-left: none; 
    }
    
    
    
    #listContainer {
        list-style-type: none; 
        padding: 0;
        margin: 0;
        display: grid;
        gap: 10vh;
        align-items: center;
    
    }
    .modal {
        display: none; 
        position: fixed; 
        z-index: 1; 
        left: 0;
        top: 0;
        width: 100vw; 
        height: 100vh; 
        overflow: auto; 
        background-color: rgb(0,0,0); 
        background-color: rgba(0,0,0,0.4); 
    }

    .modalcontent {
        background-color: #fefefe;
        margin: 15% auto; 
        padding: 50px;
        border: 1px solid #888;
        display: flex; 
        flex-direction: column;
    
    }

    div.modalcontent {
        height: auto;
        position: relative;
        top: 2vh;
    }

    div.titleForModal, div.column.content-column{
        line-height: 1.2;
    }


 /* adapts the styles for when they are viewed in a smaller device */ 
    .timelinebox {
        list-style:none; 
        width: 200px; 
        height:100px; 
        padding-bottom: 30px;
        padding-top: 30px;
        border:white solid 10px; 
        border-left: turquoise solid 20px;
        position: relative; 
        background-color: black; 
        color: white;
        border-radius: 3%;
        display:flex; 
        align-items: center;
        justify-content: center;
    }

    /* moves the time label back into the centre */ 
    .timeLabel { 
            transform: none;
            margin-left:15px; 
            margin-bottom: none; 
            font-size: 0.3rem; 
            width:100px; 
            height: 50px; 

        }

    .timelineTitle { 
        font-size: 15px; 
    }

    .IntroductionText { 
        color: white; 
        font-size: 15px;
        padding:60px; 
    
    }

    .columndiv {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }
}


@media screen and (min-width: 1000px) and (max-width: 1400px) {
    .intro h1 {
        font-size: 5rem;
        padding-bottom: 6vh;
    }
    .timeLabel { 
        transform: none;
        margin-left:15px; 
        margin-bottom: none; 
    }
}


@media screen and (min-width: 600px) and (max-width: 1000px) {

    .intro { 
        background-color:black;
        padding: 10px;
        display: flex; 
        flex-direction: column;
        border-bottom: 3px solid white;
        margin:20px; 
        align-items: center;
        translate:none;
    
    
    };

    .intro h1 {
        font-size: 60px;
        padding-bottom: 6vh;
        border-bottom: white 3px solid; 
    }

    .IntroductionText { 
        border-left: none; 
    }

    .timeLabel { 
        transform: none;
        margin-left:15px; 
        margin-bottom: none; 
    }


    }


    /* creates custom styles for the Boostrap carousel*/ 
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none; 
    border: solid black; 
    border-width: 0 3px 3px 0;
    padding: 10px;
    display: inline-block;
}


.carousel-control-prev-icon {
    transform: rotate(135deg); 
}

.carousel-control-next-icon {
    transform: rotate(-45deg); 
}

.centredArrow {
    position: fixed; 
    font-size: 50px;
    bottom: 0; 
    left: 50%;        
    transform: translateX(-50%);  
    z-index:20;
    color: turquoise; 
  
}


/* styles the custom styles for the filter*/ 

#filterControls { 
    background: white;
    padding:10px; 
    border-radius: 10px; 

}

#filterControls h1 { 
    padding: 10px; 
    padding-bottom: 20px; 
}

#dropdown { 
    width:200px; 
    height: 400px; 
    cursor:pointer; 
    overflow: scroll; 
}

#dropdown .checkboxstyle { 
    position: relative; 
    margin-top: 15px; 
    height: 60px; 
    cursor: pointer;
    border-bottom: 1px black solid; 
    display: flex; 
    justify-content: center;
    transition: all ease-in-out 0.3s; 


}

.checkboxstyle:hover { 
    background: white;
    border-radius: 10px; 
}

.checkboxcontainer { 
    background:#aaa;
    border-radius: 20px; 
    padding: 10px; 
    padding-left: 10px; 
    display: none; 
    
  
}

#filterContainer { 
    display: flex; 
    flex-direction: row;
    gap: 10px; 
}

#downChevron { 
    color: black; 
    height: 15px; 
    width: 15px; 
    border-radius: 50%; 
    background: rgb(191, 191, 236);
    padding: 2px;

}



#anti-racism-box { 
    height: 5px;
    width: 5px; 
    background-color: turquoise;
}



#listContainer { 
    margin-top: 100px;
}


#labelsforTimeline{ 
    display:none; 
}

#hamburgerBtn { 
    color: white; 
}


.subheadingsection { 
    color: white; 
    font-size: 1.2rem; 
    margin: 15vw; 
    padding-bottom: 10vh;
}

.abouttextsection {

    font-size: 1.2rem; 
    border-bottom: solid white 5px; 
    padding-bottom: 10vh;
}

.card-container {
    perspective: 1000px;
  }
  
  .card {
    position: relative;
    width: 300px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .card:hover {
    transform: rotateY(180deg);
  }
  
  .card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    gap:10px; 
  }
  
  .card-front {
    background: #ffffff;
    color: #333;
  }
  
  .card-front .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }
  
  .card-back {
    background: black;
    color: #ffffff;
    transform: rotateY(180deg);
    text-align: center;
    border-radius: 10px;
  }
  
  .card-back h3 {
    margin-bottom: 10px;
  }

  .projectCards { 
    display:flex; 
    flex-direction: row;
    gap: 5vw; 
  }



  /* Centred arrows and the downchezrons for each page
  
  Arrivals 
  Anti-racism 
  Sports
  education 
  Historical figures 
  Police 
  Racial Discrimination 
  Riots 
  */


#downArrowArrivals{ 
color: yellow; 

}

#downArrowRacialDiscrimination{ 
    color: green; 
    
    }

#downArrowHistorical { 
    color: brown; 
}

#downArrowArts{ 
    color: blue; 
}

#downArrowEducation{
    color:lightpink;

}
#downArrowPolice{
    color:darkolivegreen; 
}

#downArrowRiots{
    color:purple; 
}

#downArrowSports{
    color:lightblue; 
}
