.contact-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 50px;
    margin-bottom: 90px;
}

.contact-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 20px;
}

.contact-data p {
    max-width: 500px;
    font-size: 18px;
    margin-bottom: 50px;
    color: #dfe2e8;
    line-height: 1.5;
}

.contact-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-lines {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 26px;
}

.contact-lines span {
    margin: 10px 0px 10px 0px;
    color: #1e7a8c;
}

.contact-form {
    width: 80%;
    padding-left: 80px;
}

.form-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #dfe2e8;
    font-weight: bold;
}

.form-item label {
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: 18px;
}

.form-item input {
    height: 30px;
    border: 2px solid #222222;
    font-size: 16px;
    padding: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-item textarea {
    border: 2px solid #222222;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-item input:focus {
    outline: none;
    border: 2px solid #0ea0bd;
}

.form-item input:focus {
    outline: none;
    border: 2px solid #0ea0bd;
}

.form-item textarea:focus {
    outline: none;
    border: 2px solid #0ea0bd;
}

.hours-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px;
}

.hours-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hours-info p {
    max-width: 500px;
    margin-top: 40px;
    font-size: 16px;
    color: #dfe2e8;
    line-height: 1.5;
}

.hours-time {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hours-specific {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 22px;
}

.hours-specific span {
    margin-right: 100px;
    color: #dfe2e8;
}

.days {
    width: 120px;
    padding-left: 10px;
}

.location-wrapper, .general-info-wrapper {
    margin: 50px;
}

.location-title {
    margin-bottom: 35px;
}

.map {
    width: 100%;
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.general-info-data {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.data-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 20px 0px 20px 0px;
    flex: 1;
}

.data-col p {
    margin: 0;
}

.data-rows {
    display: flex;
    flex-direction: column;
    margin: 10px 0px 10px 0px;
    font-size: 18px;
    line-height: 1.5;
    color: #dfe2e8;
}

.data-rows a {
    font-size: 18px;
}

.flash-container {
    position: absolute;
    top: 285px;
    right: 30px;
    z-index: 500;
    width: fit-content;
    min-width: 400px;
    text-align: left;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;

    background: #333333;
    color: #ffffff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.2);

    animation: flash-fade-out 0.5s ease 7s forwards;
}

.flash-message.success {
    border-left: 4px solid #4caf50;
}

.flash-message.error {
    border-left: 4px solid #f44336;
}

@keyframes flash-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

@media (max-width: 1080px) {
    .contact-wrapper {
        flex-direction: column;
        margin: 35px 0 60px 0;
        gap: 45px;
    }

    .contact-data,
    .contact-form-wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    .contact-data {
        padding-top: 0;
    }

    .contact-data p {
        max-width: none;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
        text-align: center;
    }

    .contact-lines {
        width: fit-content;
        margin: 0 auto;
        align-items: flex-start;
        text-align: left;
        font-size: 18px;
    }

    .contact-lines span {
        margin: 8px 0;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .contact-form-wrapper {
        align-items: stretch;
    }

    .contact-form {
        width: 100%;
        padding-left: 0;
        box-sizing: border-box;
    }

    .form-item label {
        font-size: 16px;
        margin-top: 15px;
    }

    .form-item input,
    .form-item textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .form-item input {
        height: 40px;
    }

    .form-item textarea {
        min-height: 140px;
        resize: vertical;
    }

    .form-button {
        margin-top: 20px;
    }

    .hours-wrapper {
        flex-direction: column;
        align-items: stretch;
        margin: 40px 0;
        gap: 25px;
    }

    .hours-info,
    .hours-time {
        width: 100%;
        text-align: center;
    }

    .hours-info p {
        max-width: none;
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.6;
    }

    .hours-specific {
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
    }

    .hours-specific span {
        margin-right: 0;
    }

    .days {
        width: auto;
        padding-left: 0;
    }

    .location-wrapper,
    .general-info-wrapper {
        margin: 40px 0;
    }

    .location-title {
        margin-bottom: 25px;
        text-align: center;
    }

    .map {
        width: 100%;
        height: 350px;
    }

    .map iframe {
        width: 100%;
        height: 100%;
    }

    .general-info-title {
        text-align: center;
    }

    .general-info-data {
        flex-direction: column;
        text-align: center;
    }

    .data-col {
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0;
        align-items: center;
    }

    .data-rows {
        font-size: 16px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .data-rows a {
        font-size: 16px;
    }

    .flash-container {
        top: 125px;
        right: 15px;
        width: fit-content;
        min-width: 0;
    }

    .flash-message {
        box-sizing: border-box;
        width: 100%;
        padding: 14px 16px;
    }
}