:root {
    --textColor: rgb(0, 0, 0);
    --hoverColorText: rgb(100, 100, 100);
    --hoverColorBtn: rgb(0, 110, 228);
    --btnColor: rgb(0, 123, 255);
    --cardText: rgb(0, 0, 0);
    --cardColor1: rgb(255, 255, 255);
    --whiteText: rgb(255, 255, 255);
    --checked: rgb(103, 201, 247);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--cardColor1);
    color: var(--textColor);
}

.kontakt {
    text-align: center;
    padding: 50px 20px;
}

.kontakt h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.kontakt-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.kontakt-info, .kontakt-form {
    background-color: var(--cardColor1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    text-align: left;
}

.kontakt-info h2, .kontakt-form h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.kontakt-info p {
    margin: 10px 0;
    font-size: 1.1em;
}

.kontakt-form form {
    display: flex;
    flex-direction: column;
}

.kontakt-form input, .kontakt-form textarea {
    width: 97%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--checked);
    border-radius: 5px;
    font-size: 1em;
    resize: none;
    font-family: Arial, Helvetica, sans-serif;
}

.kontakt-form input:focus, .kontakt-form textarea:focus  {
    outline: none;
    border: 2px var(--checked) solid;
}

#sprava {
    padding-bottom: 10em;
    max-width: 97%;
}

.kontakt-form button {
    background-color: var(--btnColor);
    color: var(--whiteText);
    border: none;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.kontakt-form button:hover {
    background-color: var(--hoverColorBtn);
}

/* Notifikačný systém */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notification-box {
    background-color: var(--cardColor1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.notification-overlay.active .notification-box {
    transform: translateY(0);
}

.notification-content {
    padding: 2rem;
    text-align: center;
    color: var(--textColor);
}

.notification-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #27ae60;
    color: var(--whiteText);
    border-radius: 50%;
    font-size: 2rem;
    line-height: 60px;
    margin-bottom: 1rem;
}

.notification-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.notification-message {
    margin: 0;
    line-height: 1.5;
}

.notification-close-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--btnColor);
    color: var(--whiteText);
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.notification-close-btn:hover {
    background-color: var(--hoverColorBtn);
}

.notification-box.notification-success .notification-icon {
    background-color: #27ae60;
}

.notification-box.notification-error .notification-icon {
    background-color: #e74c3c;
}

.notification-box.notification-warning .notification-icon {
    background-color: #f39c12;
}