@font-face {
    font-family: minecraft;
    src: url(../fonts/Minecraft.woff);
}

@font-face {
  font-family: MinecraftSmall;
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/MinecraftSmall.otf);
}

.welkomtekst {
    font-family: minecraft;
    font-size: 30px;
    text-align: center;
    color: black;
}


body {
    background-color: white;
    text-align: center;
    
}

.topnav {
    overflow: hidden;
    background-color: #000000;
  }
  
  .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .topnav a.active {
    background-color: #129736;
    color: white;
  }

.menu {
    display: flex;
    gap: 20px;
}

.Button {
    border: solid #327c84 3px;
    border-radius: 20px;
    height:60px;
    width: 90px;
    margin: 10px;
    background-color: #3d97a1;
    color: white;
}

.logo {
    font-family: bodoni;
    font-size: 40px;
    font-style: normal;
    color: white;
}


.subchoise {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto;
    gap: 20px;
}

.options {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #6093f8;
    border: 2px solid #4a78d6;
    border-radius: 15px;
    padding: 20px 30px;
    transition: 0.2s ease;
}

.options:hover {
    background-color: #70a2ff;
}

.buttonsub {
    display: inline-block;
    height: 45px;
    width: 110px;
    margin: 10px;
    border: none;
    border-radius: 10px;
    background-color: white;
    color: #6093f8;
    font-family: minecraft;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}


.buttonsub:hover {
    background-color: #6093f8;
    color: white;
    transform: scale(1.05);
}

#minecraft-trailer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 750px; 
    margin: 80px auto;

    background-image: url('../minecraft/images/background1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}


#minecraft-trailer iframe {
    z-index: 2;
    border-radius: 20px;
    border: 1px solid black;

   
    transform: none;
}


.image-container {
    display: flex;
    gap: 300px;
    justify-content: center; 
    flex-wrap: wrap; 
  }
  
  .image-box {
    width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .image-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px #4383FF solid;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .image-box .caption {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #333;
    background-color: #6093f8;
    padding: 0 10px;
    border-radius: 0 0 10px 10px;
    font-family: minecraft;
  }
  
  .image-box:hover img {
    transform: scale(1.1);
  }
  
  .image-box:hover .caption {
    opacity: 1;
    max-height: 200px; 
    padding: 10px;
    font-family: minecraft;
  }

  main {
    flex: 1;
    padding: 20px;
}

footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 15px 0;
}

footer a {
    color: white; 
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}


