@font-face {
  font-family: 'Autography';
  src: url('../font/Autography.otf');
}
@font-face {
  font-family: 'Garet';
  src: url('../font/Garet-Book.otf');
}

h1, h2 {
  margin: 0;
  padding: 0;
}

.font-handwritten {
  font-family: 'Autography', serif;
  font-size: 30px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Cancun', 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  padding: 10px 100px;
  background: #eeeeee;
}

header {
  background-color: #333;
  background: rgb(51,51,51);
  background: radial-gradient(circle, rgba(51,51,51,1) 0%, rgba(66,66,66,1) 100%);
  color: #fff;
  padding: 20px;
  text-align: center;
  /* background: url("../img/400229.jpg"); */
}

header {
  font-family: 'Autography', serif;
}

header h1 {
  font-size: 100px;
}
header h2 {
  margin-top: -30px;
  font-size: 40px;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #444;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 20px 20px;
  margin: 0 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #555;
}

section {
  height: 100%;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #3b3b3b;
}

section h2 {
  margin: 10px 0px;
}

#home, #gallery-europa {
  margin-bottom: 50px;
}

#gallery {
  background-image: url('#');
}

#about {
  background-image: url('#');
}

section h2 {
  text-justify: distribute;
}

.mailadress {
  color:#eeeeee;
  text-decoration: none;
}

.gallery-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
  /* grid-template-columns: 1fr 1fr 1fr; */
  
  grid-template-columns: repeat(4, 1fr);
  /* grid-template-rows: repeat(1, 7vw); */
  gap: 10px;
  /* padding: 20px; */
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  align-self: center;
}

.gallery-grid img:hover {
  transform: scale(1.01);
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  justify-content: center; 
}

.footer-icons i {
  font-size: 24px;
  color: #fff;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}