#contactLayout {
    position: relative;
    padding: 0px 8px;
}

#contacts {
    font-size: 1.6em;
    display: grid;
    grid-template-columns: auto auto auto;
    row-gap: 8px;
    column-gap: 24px;
}

#contacts a {
    color: white;
    text-decoration: none;
}

#contacts svg {
    width: 24px;
    height: 24px;
    fill: greenyellow;
    border: 1px solid greenyellow;
    border-radius: 35%;
    padding: 8px;
    margin-right: 8px;
    display: block;
}

#contacts svg:hover {
    background-color: black;
    fill: darkorange;
    border-color: darkorange;
    box-shadow: 0px 0px 4px 3px rgba(255, 140, 0, 0.2);
}

#contacts span {
    display: flex;
    align-items: center;
}

#contacts pre {
    margin: 0;
    font-family: ui-monospace, math, system-ui, ui-sans-serif, sans-serif;
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}

.contact-info-form {
    min-width: 300px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 15px;
    border: none;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

input, textarea {
    display: block;
    width: -webkit-fill-available;
    font-size: 24px;
    color: lightgray;
    border: 1px dimgray solid;
    background: linear-gradient(135deg, rgb(25, 25, 25), rgb(45, 45, 45));
    border-radius: 10px;
    padding: 6px;
    margin-top: 8px;
}

#sendButton {
    font-size: 1.5em;
    border-radius: 10px;
    border: none;
    padding: 6px 24px;
    background-color: antiquewhite;
    cursor: pointer;
}

#sendButton:hover {
    background-color: aquamarine;
    box-shadow: 0px 0px 10px 4px rgba(127, 255, 212, 0.2);
}

#messageResult {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 24px;
    border-radius: 10px;
    font-size: 4em;
    transition: opacity 1s;
    z-index: 1000;
}

@media (max-width: 768px) {
    .contact-content-wrapper {
        flex-direction: column;
    }

    #contacts {
        grid-template-columns: 1fr;
    }
}