ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li.sp {
    float: right;
}

li a:hover,
li a:active {
    background-color: #111;
    color: white;
}

body {
    margin: 0;
    padding: 0;
    background-color: #cbb9a8;
    font-family: monospace;
    color: #111;
    font-size: large;
}

.active {
    background-color: #60483e;
}

.link {
    text-decoration: none;
    color: darkred;
}

.link:hover,
.link:active {
    background: none;
    color: red;
    cursor: pointer;
}

.center {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 45%;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to bottom right, #a3907c, #cbb9a8, #ede4da);
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.container {
    padding: 2px 16px;
}

/* Slideshow container */
.slideshow-container {
    max-width: 50%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
    text-align: 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;
    background-color: rgba(0, 0, 0, 0.1);
}

/* 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);
}

/* Caption text */
.text {
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

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

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #a3907c;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: darkred;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

.mySlides img {
    max-width: 95%;
    max-height: 60%;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

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

    li,
    li.sp {
        float: none;
    }

    .card {
        width: 300px;
    }

    .slideshow-container {
        max-width: 95%;
    }

    .mySlides img {
        max-width: 95%;
        max-height: 95%;
    }
}