* {
    box-sizing: border-box;
}

html {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #333333;
}

.freckle-face-regular {
    font-family: "Freckle Face", system-ui;
    font-weight: 400;
    font-style: normal;
}

.rubik-gemstones-regular {
  font-family: "Rubik Gemstones", system-ui;
  font-weight: 400;
  font-style: normal;
}

h1 {
    margin: 0;
    font-family: "Freckle Face", sans-serif;
    font-size: 75px;
}

h2 {
    margin: 10px;
    font-family: "Freckle Face", sans-serif;
    font-size: 50px;
}

h3 {
    margin: 10px;
    font-family: "Freckle Face", sans-serif;
    font-size: 50px;
}

#container {
    background-color: #d5d5d5;
    width: 100%;
    margin: 0 auto;
}

header {
    background-image: url("/img/assets/banner.png");
    background-repeat: no-repeat;
    background-position: 0% 25%;
    background-size: cover;
    width: 100%;
    height: 150px;
    background-color: cadetblue;
    font-size: 135px;
    font-family: "Rubik Gemstones", system-ui;
    text-align: center;
}

header a {
    color: black;
    text-decoration-line: none;
}

nav {
    width: 100%;
    text-align: center;
    font-size: large;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333333;
    display: flex;
    justify-content: center;
}

nav ul li a {
    display: block;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #111111;
}

main {
    background-image: url("https://geoledgy.neocities.org/img/assets/GraphPaperBG.png");
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 20px;
}

.content {
    margin: 0 auto;
    width: 75%;
}

.filter {
    float: left;
    color: #ffffff;
    text-align: center;
    display: none;
}

.show {
    display: block;
}

#buttoncontainer {
    display: flex;
    padding: 5px;
    justify-content: center;
}

/* Style the buttons */
.btn {
    margin-right: 10px;
    padding: 10px 20px;
    border: solid 2px;
    outline: none;
    background-color: #f1f1f1;
    font-size: 18px;
    cursor: pointer;
}

.btn:hover {
    background-color: #43cdd1;
}

.btn.active {
    background-color: #666;
    color: white;
    font-weight: bold;
    border-color: black;
}

#gallery {
    margin-top: 10px;
    display: block;
}

#gallery.columns {
    columns: 50px 4;
    gap: 10px;
    max-width: 100%;
}

#gallery.columns2 {
    columns: 25px 3;
    gap: 10px;
    max-width: 100%;
}

.thumbnail {
    margin: 0 auto;
    width: 50%;
}

#gallery img {
    margin: 0 auto 10px auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery img:hover {
    cursor: pointer;
    background-blend-mode: lighten;
    transition: 0.3s ease-in-out;
}

.overlay {
    position: relative;
}

.overlay2 {
    margin-bottom: 10px;
    height: 300px;
    position: relative;
    border: solid 2px;
}

img {
    display: block;
}

.hover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #34ada4b0;
}

.overlay:hover .hover {
    opacity: 1;
}

.text {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: 20px;
    text-align: center;
}

/* Create five equal columns that sits next to each other 
.column {
  flex: 20%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns 
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other 
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
*/

footer {
    padding: 10px;
    height: auto;
    text-align: center;
    background-color: #333333;
    color: white;
    clear: left;
}

footer a {
    color: white;
}

footer p {
    margin: 0;
}

.mobile {
    display: none;
}

details {
    background-color: #333333;
}

summary {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    justify-content: space-between;
}

@media (max-width: 1000px) {
    .mobile {
        display: block;
    }

    .mobilehide {
        display: none;
    }

    .content {
        width: 95%;
    }

    nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }

    nav ul li {
        width: 100%;
        text-align: left;
    }

    #buttoncontainer {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        justify-content: center;
    }

    /* Style the buttons */
    .btn {
        margin-top: 10px;
        margin-right: 10px;
        border: none;
        outline: none;
        padding: 10px 15px;
        background-color: #f1f1f1;
        cursor: pointer;
    }

    #gallery.columns {
        columns: 50px 2;
        gap: 10px;
        max-width: 100%;
    }

    #gallery.columns2 {
        columns: 50px 2;
        gap: 10px;
        max-width: 100%;
    }

    .hover {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        transition: 0.5s ease;
        background-color: #34ada499;
    }

    .text {
        position: absolute;
        top: 45%;
        font-size: 16px;
    }
}
