@font-face {
    font-family: 'OldEurope';
    src: url('./Old\ Europe.ttf') format('truetype'),
         url('./Old\ Europe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alagard';
    src: url('./alagard.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GothicPixles';
    src: url('./GothicPixels.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

body{
    background-image: url('./background.png');
    min-width: 425px;
}

#title{
    margin-top: 50px;
    color: red;
    font-family: 'GothicPixles', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    min-width: 425px;
}

#aboutthegame {
    margin-left: auto;
    margin-right: auto;
    padding-top: 1%;
    padding-bottom: 3%;
    border-top: 3px solid red;
    margin-top: 50px;
    max-width: 90%;
    color: yellow;
    font-family: 'Alagard', sans-serif;
    font-size: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; 
}

.image-container {
    width: 300px; 
    margin-right: 20px; 
}

.image-container img {
    width: 100%; 
    height: auto;
}

.text-container {
    flex: 1; 
    min-width: 200px; 
    order: 2; 
}

@media screen and (max-width: 720px) {
    .image-container {
        margin: 0 auto; 
        order: 1; 
    }
    
    .text-container {
        order: 2; 
    }
}

@media screen and (max-width: 480px) {
    .image-container {
        margin: 0 auto; 
        order: 1; 
    }
    
    .text-container {
        order: 2; 
    }
}










#bottom{
    
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1%;
    padding-bottom: 3%;
    border-top: 3px solid red;
    font-family: 'Alagard';
    color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    min-width: 425px;
    flex-wrap: wrap;
   
}
#bottom a {
    text-decoration: none;
    color: red;
    margin: 0 10px;
    white-space: nowrap; 
}
#bottom a:hover {
    text-decoration: underline; 
    color: yellow; 
}

.wrapper {
    width: 90%; 
    margin: 0 auto; 
    border-top: 3px solid red;
}

.pictures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1%;
    
}

.pictures img {
    width: calc(33.33% - 6px); 
    height: auto;
    margin: 3px; 
    box-sizing: border-box; 
}


@media screen and (max-width: 768px) {
    .pictures img {
        width: calc(50% - 6px); 
    }
}

@media screen and (max-width: 480px) {
    .pictures img {
        width: calc(100% - 6px); 
    }
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically */
    margin-top: 1px; /* Adjust margin as needed */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
    height: 0;
    overflow: hidden;
  }
  
  .video-container iframe {
    position: absolute;
    top: 50%; /* Center horizontally */
    left: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust centering */
    width: 90%;
    height: 90%;
  }

  #loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: none; /* Initially hidden */
}

#content {
    display: none; /* Initially hidden */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}