/* General Reset */
:root {
    --backgroud-color: rgb(10, 57, 129);
    --primary-color: rgb(31, 80, 154);
    --text-color:rgb(212, 235, 248);
    --additional-color: rgb(227, 142, 73);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Josefin Sans", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* Full-screen Background Video */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:  rgb(10, 57, 129, 0.4);
    z-index: 1;
}

/* Language Selection */
.language-selection {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.language-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 25px;
    width: 300px;
    background-color: var(--backgroud-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
a {
    text-decoration: none;
    color: inherit; /* Inherit color from the button */
}
.language-button:hover {
    transform: scale(1.05);
    background-color:  rgba(10, 57, 129, 0.8);
}
.language-abbreviation {
    width: 20%;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-right: 15px;
    color: var(--additional-color);
}
.language-text {
    width: 60%;
    text-align: left;
    color: var(--additional-color);
}
.arrow {
    width: 20%;
    text-align: center;
    font-size: 22px;
    color: var(--additional-color);
}
/* COOKIE */
.cookie-popup {
    font-size: 0.8rem;
    position: fixed;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    background-color: var(--backgroud-color);
    color: var(--text-color);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    z-index: 1000;
  }
  .cookie-popup.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
  .cookie-popup p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--additional-color);
  }
  .cookie-popup button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .accept-button {
    background-color: var(--additional-color);
    color: var(--backgroud-color);
  }
  .accept-button:hover {
    background-color: var(--text-color); 
}
  .decline-button {
    background-color: var(--primary-color);
    color: var(--text-color);
  }
  .decline-button:hover {
    background-color: var(--text-color); 
    color: var(--backgroud-color);
}
/* Responsive Design */
@media (max-width: 768px) {
    .language-selection {
        gap: 15px;
    }
    .language-button {
        width: 100%;
        padding: 12px 20px;
    }
    .language-abbreviation {
        font-size: 24px;
    }
    .language-text {
        font-size: 20px;
    }
    .arrow {
        font-size: 18px;
        margin-left: 32px;
    }
    .cookie-popup {
        width: 80%;
      }
}