@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.kontakt {
    font-family: 'Anta', sans-serif;
    background-color: #0a0a0a;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    padding-bottom: 20px;
    padding-left: 2em;
    width: 100%;
    text-align: left;
    font-family: "Orbitron", sans-serif;
    font-size: 0.75em;
    opacity: 0.5;
}

body.kontakt::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(../img/backgroundsymbolshome.png);
    background-repeat: repeat;
    background-attachment: fixed;
    filter: blur(6px) brightness(0.2);
}

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px;
    z-index: 100;
    background-color: black;
}

.main-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/backgroundsymbolsinfo.png);
    background-repeat: repeat;
    background-size: 150px;
    filter: blur(4px) invert(100%);
    background-position: center;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 1) 100%);
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #00d4ff;
}

.main-nav a.active {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    font-weight: bold;
}

.contact-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px 20px;
}

.contact-card {
    width: 100%;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-card h1 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: #00d4ff;
    margin-bottom: 10px;
}

.contact-card p {
    text-align: center;
    margin-bottom: 30px;
    color: #ccc;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label,
.radio-label {
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #eee;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-family: 'Anta', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.form-group select option {
    background-color: #111;
    color: white;
}

.radio-options {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 5px;
}

.radio-options input[type="radio"] {
    accent-color: #00d4ff;
    transform: scale(1.2);
    margin-right: 5px;
    cursor: pointer;
}

.radio-options label {
    margin-bottom: 0;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background-color: transparent;
    color: white;
    font-family: 'Anta', sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #00d4ff;
    color: black;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transform: scale(1.02);
}

@media screen and (max-width: 1024px) {
    .contact-wrapper {
        padding: 90px 20px 30px 20px;
    }

    .contact-card {
        max-width: 80%;
        padding: 35px;
    }
}

@media screen and (max-width: 767px) {
    .main-nav {
        gap: 20px;
        padding: 10px;
    }

    .main-nav a {
        font-size: 1em;
    }

    .contact-card {
        max-width: 95%;
        padding: 30px;
    }

    .contact-card h1 {
        font-size: 1.8em;
    }

    .main-nav::before {
        background-size: 80px;
        filter: blur(2px) invert(100%);
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 1) 100%);
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 1) 100%);
    }
}

@media screen and (max-width: 480px) {
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 10px;
        padding: 5px;
    }

    .main-nav a {
        font-size: 0.9em;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-card h1 {
        font-size: 1.5em;
    }

    .radio-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-submit {
        font-size: 1em;
        padding: 12px;
    }
}