@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;
}

#bottom {
    background-color: black;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1%;
    padding-bottom: 3%;
    border-top: 3px solid red;
    font-family: 'Alagard';
    color: red;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    min-width: 425px;
}

#bottom a {
    text-decoration: none;
    color: red;
    margin: 0 10px;
    white-space: nowrap;
}

#bottom a:hover {
    text-decoration: underline;
    color: yellow;
}

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

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

.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); 
    }
}

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

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

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

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

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

#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); }
}

#ilustartiontext {
    width: 80%;
    padding-top: 1%;
    max-width: 90%;
    color: yellow;
    font-family: 'Alagard', sans-serif;
    font-size: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; 
}

@media screen and (max-width: 768px) {
    #bottom {
        font-size: 18px;
        padding-left: 5%;
        padding-right: 5%;
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    #bottom {
        font-size: 16px;
        padding-left: 5%;
        padding-right: 5%;
        width: 95%;
    }
}
