* {
    box-sizing: border-box
}
body {
    background-color: #131415;
    color: white;
    font-family: "Comic Sans MS", sans-serif;
    text-align: center;
}

body.light {
    background-color: white;
    color: #131415;
    font-family: "Comic Sans MS", sans-serif;
    text-align: center;
}

body.light .active {
    background-color: darkred;
}

body.light .btn {
    background-color: darkred;
}

body.light .btn:hover{
    background-color: red;
}

body.light #social-media {
    background-color: #131415;
    color: white;
}

body.light #darkmode-button {
    color: white;
    background-color: #131415;
}

body.light #profilepicture-header{
    border: 3px dotted darkred;
}

body.light #navbut{
    background: darkred;
}

#navbut{
    background: darkblue;
}

#social-media {
    background: black;
    color: white;
    position: fixed;
    height: 100px;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
}

#sc-ueber {
    margin-bottom: 5px;
    margin-top: 5px;
}

#yt-button {
    font-size: 20px;
    cursor: pointer;
    border-radius: 30%;
    border: none;
}

#ttv-button {
    font-size: 20px;
    cursor: pointer;
    border-radius: 30%;
    border: none;
}

#insta-button {
    font-size: 20px;
    cursor: pointer;
    border-radius: 30%;
    border: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "🌙";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider:before {
    content: "🌞";
    background-color: #131415;
}

input:checked + .slider {
    background-color: grey;
}

input:focus + .slider {
    box-shadow: 0 0 1px grey;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.button {
    opacity: 0.6;
    transition: 0.3s opacity ease-in-out;
    width: 40px;
    height: 40px;
    text-align: center;
}

.button:hover {
    opacity: 1
}


#profilepicture-header {
    border-radius: 100rem;
    display: block;
    margin: auto;
    width: 20rem;
    border: 3px dotted darkblue;
    padding: 0.5rem;
}

#gallery {
    --l: calc(100vw / var(--n-cols));
    --hl: calc(.5 * var(--l));
    --ri: calc(.5 * 1.73205 * var(--l));
    box-sizing: border-box;
    display: grid;
    place-content: center;
    grid-template: repeat(var(--n-rows), var(--l))/repeat(var(--n-cols), var(--ri));
    grid-gap: var(--hl) 0;
    overflow: hidden;
    margin: 0;
    height: 500px;
}

@media (orientation: landscape) {
    #gallery {
        --l: calc(100vh / (var(--n-rows) + 3));
    }
}

.hex-cell {
    overflow: hidden;
    grid-column-end: span 2;
    margin: calc(-1 * var(--hl)) 0;
    transform: scale(0.95);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

#gallery img {
    --hl: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(calc(1 + .2 * var(--hl)));
    filter: brightness(calc(.6 * (1 + var(--hl))));
    transition: .7s;
}

#gallery img:hover {
    --hl: 1;
}

a {
    text-decoration: none;
}

#darkmode-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 150px;
    height: 85px;
    background: gray;
    border-radius: 5%;
}

.flex-container {
    display:flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.flex-item {
    width: 50%;
}

.flex-item img {
    width: 100%;
    border-radius: 2rem;
}

@media only screen and (max-width: 800px) {
    .flex-item {
        width: 90%;
    }
}

.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    border-radius: 10%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    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;
}
.prev{
    left: 0;
}

/* 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 {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 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;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px
    }
}

.button {
    opacity: 0.6;
    transition: 0.3s opacity ease-in-out;
    width: 80px;
    height: 30px;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    border-radius: 10%;
    border: none;
    margin-bottom: 10px;
    margin-top: 10px;
}

.button:hover {
    opacity: 1
}

#header {
    background-color: black;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
}

body {
    background-color: #131415;
    color: white;
    font-family: "Comic Sans MS", sans-serif;
    text-align: center;
}

body.light {
    background-color: white;
    color: #131415;
    font-family: "Comic Sans MS", sans-serif;
    text-align: center;
}

.navbar {
    overflow: hidden;
    background-color: #333;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

body.light #navbut{
    background: darkred;
}


#navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

#navbar li {
    float: left;
}

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

#navbar li a:hover {
    background: #111;
}

.active {
    background-color: darkblue;
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-bottom: 8px;
    margin-top: 8px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "🌙";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    font-family: "Comic Sans MS";
}

input:checked + .slider:before {
    content: "🌞";
    background-color: #131415;
    font-family: "Comic Sans MS";
}

input:checked + .slider {
    background-color: grey;
}

input:focus + .slider {
    box-shadow: 0 0 1px grey;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.button {
    opacity: 0.6;
    transition: 0.3s opacity ease-in-out;
    width: 40px;
    height: 40px;
    text-align: center;
}

.button:hover {
    opacity: 1
}

.btn {
    background-color: darkblue;
    border: none;
    color: white;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 20px;
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: blue;
}