@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

#anim {
    max-width: 800px;
    margin: 0 auto;
}

body {
    background-color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.language-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.language-btn:hover {
    background-color: #eee;
    color:#000;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .modal-content {
        margin: 50% auto;
    }
}

/* Media query for mobile devices */
@media (min-width: 601px) and (max-width: 820px) {
    .modal-content {
        margin: 60% auto;
    }
}  