:root {
  --font-color: #343434;
  --bg-color: #fff;
}

[data-theme="dark"] {
  --font-color: white;
  --bg-color: #343434;
}
h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2em;
  font-weight: lighter;
  margin-bottom: -0.3em;
  margin-top: 0cm;
}



h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  font-size: 1.3em;
  margin-top: 0%;
  margin: bottom 0;
  float: right;
}

.colorist{
  position:absolute;
  margin-top: 4.3em;

}

a {
  color: var(--font-color);
  text-decoration: none;
}
a:hover {
  color: grey;
}
header {
  height: 3.5em;
}
.title {
  width: 200px;    
  float: left;
}
.title:hover {
  color: var(--font-color);
}
.button {
  width: max-content;
  float: right;
  margin-top: 0px;
}
.menu {
  position: absolute;
  right:10%;
  margin-top: 4.3em;
}
hr {
  width: 100%;
  margin-top: 3em;
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
  width: 80%;
  min-height: 100vh;
  padding: 50px;
  margin: auto;
  margin-top: 0;
}

section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5%;
    align-items: center;
    justify-content: center;
    margin-top: 4.5%;
    margin-bottom: 5%;
}

img {
    height: 100%;
    width: 19.5%;
    object-fit: cover;
    margin-bottom:0.5%;
}
  
  
  /* Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: var(--bg-color);
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: var(--bg-color);
    margin: auto;
    margin-top: 5vh;
    padding: 0;
    width: 50%;
    max-width: 1200px;
    height: max-content;
    align-items: center;
    justify-content: center;
  }
  
  /* Close Button */
  .close {
    color: var(--font-color);
    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;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: var(--font-color);
    font-weight: bold;
    font-size: 25px;
  }
  
  .next {
    right: -50px;
  }
  .prev {
    left: -50px;
  }
  
  .next:hover
  .prev:hover {
    color: grey;
    text-decoration: none;
    cursor: pointer;
  }
  
  img.hover {
    transition: 0.3s;
  }
  
  .hover:hover {
    background-color: var(--bg-color);
    opacity: 0.6;
  }

.video {
  margin-top: 7%;
  margin-bottom: 10%;
  width: 100%;
  height: 50vh;
}


iframe {
  height: 50vh;
  width: 100%;
  align-items: center;
  justify-content: center;
}

body::-webkit-scrollbar {
    display: none;
}
.modal::-webkit-scrollbar {
  display: none;
}

input[type=checkbox]{
  height: 0;
width: 0;
  visibility: hidden;
}
label {
  cursor: pointer;
  text-indent: -9999px;
  width: 1em;
  height: 1em;
  background: var(--font-color);
  float: right;
  border-radius: 100px;
  position:relative
}

@media only screen and (max-device-width: 480px) {
  html {
    width: 100%;
  }
  section {
    display: flex;
    gap: 1%;
    align-items: center;
    justify-content: center;
    margin-top: 7%;
    margin-bottom: 10%;
}

img {
  height: 100%;
  width: 32.6%;
  object-fit: cover;
  margin-bottom:0.5%;
}

.modal-content {
  position: relative;
  margin: auto;
  margin-top: 10vh;
  padding: 0;
  width: 82%;
  height: max-content;
  align-items: center;
  justify-content: center;
}
body {
  min-width: 90%;
  padding: 1%;
  padding-top: 4%;
}
html {
  width: 100%;
}
.menu {
  position: absolute;
  right:5%;
  margin-top: 4.3em;
}
h2 {
  font-size: 1.2em;
}
.video {
  display: flex;
  margin-top: 10%;
  margin-bottom: 8%;
  width: 100%;
  height: fit-content;
  align-items: center;
  justify-content: center;
}
iframe {
  width: 100%;
  height: 35vh;
}
.next {
  right: -35px;
}
.prev {
  left: -35px;
}
.prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 56%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: var(--font-color);
    font-weight: bold;
    font-size: 25px;
  }
  body {
    height: max-content;
  }

}


  

