* {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing:border-box
}

/* Adjust margins and padding */
html, body {
    margin: 0;
    padding: 0;
    background: #404040;
    color: #ffffff;
}

/* Navbar */
.nav {
    position: absolute;
    top: 0;
    z-index: 100;
    height: 50px;
    width: 100%;
    padding: 0 20px;
    background: #0375c0;
    box-shadow: 0 0 5px #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.nav img {
    height: 40px;
    border-radius: 50%;
}

@media(max-width: 500px) {
    .nav img {
        display: none;
    }
}

.nav a {
    display: inline-block;
    line-height: 50px;
    text-decoration: none;
    padding: 0 20px;
    color: #ffffff;
    transition: color 0.2s ease-in-out;
}

.nav a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    height: max-content;
    max-height: calc(100vh - 150px);
    overflow: hidden;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    min-height: calc(100vh / 2);
    object-fit: cover;
    object-position: center;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
/* 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);
}
/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0;
    right: 0;
}
/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: #717171;
}
/* The dot container */
.dotContainer {
    position: absolute;
    bottom: 5px;
    width: 100%;
}
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

#site-content {
    width: 100%;
    padding: 20px;
}

#site-content .section {
    padding: 10px;
    width: 100%;
    display: flex;
}

#site-content .section img {
    max-width: 20%;
    max-height: 250px;
    height: auto; 
    width: 100%;
    margin-right: 20px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

@media(max-width: 1000px) {
    #site-content .section {
        flex-flow: column;
    }

    #site-content .section * {
        width: 100%!important;
        max-width: 100%!important;
    }

    #site-content .section img {
        max-height: 300px;
        margin: 0 0 20px 0;
    }
}

#site-content .section div {
    display: flex;
    flex-flow: column;
    width: 100%;
}

#site-content .section div h2 {
    margin: 0 0 20px 0;
    padding: 10px;
    background-color: yellow;
    color: #404040;
    border-radius: 10px;
}

#site-content .section div p {
    padding: 10px;
    background-color: white;
    color: #404040;
    border-radius: 10px;
    margin: 0;
    flex-grow: 1;
}