* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial;
    color: black;
    background-image: radial-gradient(#c9b661, #dbcd8f);
}

.topnav {
    display: flex;
    justify-content: center;
    background-color: lightgray;
    align-items: center;
    text-shadow: 1px 1px 0px white;
}

.topnav a {
    color: black;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}

.bigpicture {
    background-image: url(background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.bigpicture img {
    width: 200px;
}

.bigpicture h1 {
    color: #f1f1f1;
    text-shadow: 2px 2px 2px black;
}


/* Column container */

.row {
    display: flex;
    flex: 1;
    flex-wrap: wrap-reverse;
    padding-top: 10px;
}

.picrow {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    padding-top: 10px;
}

.pic {
    display: flex;
    background: #f1f1f1;
    height: 300px;
    border: 1px black;
    box-shadow: 2px 2px 1px grey;
    margin: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

.pic:hover {
    transition: 0.3s;
    box-shadow: 3px 3px 2px black;
}

.pic img {
    height: 90%;
}

.column {
    flex: 1;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
    min-width: 300px;
}

.content {
    background-color: white;
    margin: 10px;
    padding: 10px;
    box-shadow: 10px 10px 5px grey;
}

.footer {
    width: 100%;
    background: lightgrey;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}


/* Modal Content */

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}


/* The Close Button */

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}


/* Hide the slides by default */

.mySlides {
    display: none;
    position: center;
    height: 70%;
    margin-top: 10%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-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;
    top: 0;
}


/* Caption text */

.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.preview {
    height: 10%;
    margin-bottom: 5%;
    display: flex;
    flex-direction: row;
    flex-flow: row;
    justify-content: left;
}

.preview img {
    height: 100%;
    margin: 10px;
}

img.demo {
    opacity: 0.6;
}

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

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media screen and (max-width: 700px) {
    .navbar {
        flex-direction: column;
    }
}