/* Style the main content */
.main {
    margin-left: auto;
    margin-right: auto;
    /* Same as the width of the sidenav */
    padding: 0px 10px;
    width: 60%;   
}

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

h1{
    font-size: 3em;
    text-align: center;
}

h1 img {
    height: 0.8em;
}

container img {
    vertical-align:top;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
}

/* Hide the images by default */
.mySlides {
    display: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1%;
    width: 60%;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 16%;
    width: auto;
    padding: 2%;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 100%;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    text-align: center;
}


/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
    font-size: 15x;
    font-size: 2vw;
    text-align: center;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* 5 columns side by side */
.column {
    float: left;
    width: 16.6%;
    object-fit: fill;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Scale width for smaller screen */
    .main {
        width: 90%;
    }

    /* Place the timelime to the left */
    h1{
        font-size: 1.6em;
    }

    /* Place the timelime to the left */
    .mySlides {
        display: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1%;
        width:65%;
    }

    /* Next & previous buttons */
    .prev,
    .next {
        cursor: pointer;
        position: absolute;
        top: 20%;
        width: auto;
        padding: 1%;
        margin-top: -50px;
        color: white;
        font-weight: bold;
        font-size: 80%;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
        background-color: rgba(0, 0, 0, 0.3);
        /*display: none;*/
    }

    /* Container for image text */
    .caption-container {
        text-align: center;
        background-color: #222;
        padding: 2px 16px;
        color: white;
        font-size: 15x;
        font-size: 4vw;
        text-align: center;
    }
}
  