.page-home {
    background-image: url('../images/background.jpg');
    background-repeat: no-repeat;
    background-color: #cccccc;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.page-home {
    padding-top: 40px;
}

.page-home h2 {
    color: black;
    font-family: 'Veteran Typewriter';
    font-size: 350%;
    text-align: center;
    margin-bottom: 10px;
}

.page-home h3 {
    color: black;
    font-family: 'Veteran Typewriter';
    font-size: 200%;
    text-align: center;
}

.page-home b {
    color: black;
    font-family: 'Veteran Typewriter';
    font-size: 120%;
    text-align: left;
    margin-left: 100px;
}

.page-home .info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 700px;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    margin: auto;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.95;
}

.page-home .missionInfo {
    font-size: 130%;
    font-family: 'Special Elite';
    border-radius: 8px;
    margin-top: auto;
    margin-bottom: auto;
}

.page-home .weather {
    font-family: 'Special Elite';
    font-size: 110%;
    color: black;
}

.page-home .met-container {
    background-image: url('../images/paper_file_texture.png');
    background-size: cover;
    background-position: centre;
    margin-top: 50px;
    padding: 40px;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    opacity: 0.95;
}

.page-home .airForceButtons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.page-home .alliedButton {
    width: 400px;
    height: 400px;
    border: none;
    border-radius: 20px;
    background: url('../images/AAF_logo.png') no-repeat center/contain;
    opacity: 0.8;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-home .axisButton {
    width: 400px;
    height: 400px;
    border: none;
    border-radius: 20px;
    background: url('../images/Luftwaffe_Logo.png') no-repeat center/contain;
    opacity: 0.8;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-home .infoButtons {
    width: 220px;
    height: 90px;
    border: none;
    border-radius: 10px;
    background: white;
    color: black;
    font-family: 'Special Elite';
    font-size: 165%;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding-top: 10px;
}

.page-home .info-text {
    margin-top: 15px;
    font-family: 'Special Elite';
    color: black;
    font-size: 100%;
    line-height: 1.5;
    text-align: left;
}

.page-home .infoSection h2 {
    margin-top: 0;
    margin-bottom: 40px;
}

.page-home .downloadSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    font-size: 95%;
}

.page-home .downloadButtons {
    width: 220px;
    height: 80px;
    border: none;
    border-radius: 10px;
    background: #222;
    color: white;
    font-family: 'Special Elite';
    font-size: 150%;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding-top: 4px;
}

.page-home .registration-form {
    font-family: 'Special Elite';
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 120%;
}

.page-home .registration-form input,
.page-home .registration-form select {
    font-family: 'Special Elite';
    padding: 10px;
    font-size: 100%;
    border-radius: 6px;
    border: 1px solid #888;
}

.page-home .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-home .registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.page-home .registration-modal.hidden {
    display: none;
}

.page-home .registration-modal-content {
    background: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    font-family: 'Special Elite';
}

.page-home .registration-button {
    width: auto;
    height: 25px;
    border: none;
    border-radius: 5px;
    background: white;
    color: black;
    font-family: 'Special Elite';
    font-size: 90%;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding-top: 5px;
}

.page-home #loginButtonContainer {
    position: absolute;
    top: 20px;
    right: 20px;
}

.page-home #loginButton {
    background-color: #222;
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.85;
    transition: 0.2s;
}

.page-home #loginButton:hover {
    opacity: 1;
    transform: scale(1.05);
}

.page-home .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.page-home .modal.show {
    display: flex;
}

.page-home .modal-content {
    position: relative;
    background: rgba(255,255,255,0.85);
    padding: 25px;
    border-radius: 8px;
    width: 320px;
    text-align: center;
    font-family: 'Special Elite';
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.page-home .sign-in-title {
    margin-top: 5px;
    margin-bottom: 12px;
}

.page-home .login-form input {
    width: 90%;
    padding: 10px;
    margin: 8px 0 14px 0;
    background-color: white;
    border: 1px solid #888;
    border-radius: 6px;
    font-family: 'Special Elite';
    font-size: 100%;
    color: black;
}

.page-home .login-form button {
    width: 95%;
    padding: 12px;
    margin-top: 14px;
    background-color: #222;
    border: none;
    border-radius: 6px;
    color: white;
    font-family: 'Special Elite';
    font-size: 110%;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-home .login-form button:hover {
    opacity: 1;
    transform: scale(1.03);
}

.page-home .close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    font-family: 'Special Elite';
    cursor: pointer;
    color: black;
    opacity: 0.75;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-home .close:hover {
    opacity: 1;
    transform: scale(1.25);
}