#s-contacts {
    margin: 0;
    padding: 95px 125px 0 125px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: max-content;
    background: linear-gradient(180deg, #BC2D29 0%, #450E14 100%);
}

#s-contacts-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    flex: 1;
    width: 100%;
    max-width: 1330px;
}

#s-contacts-content>h1 {
    margin-bottom: 35px!important;
    color: #F5E9CE;
}

#s-contacts-content>p {
    margin: 0 25px;
    align-self: stretch;
    color: #F5E9CE;
    leading-trim: both;
    text-edge: cap;
    font-family: Geologica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#s-contacts-list {
    height: fit-content;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    gap: 15px;
}

.s-contacts-input-container {
    position: relative;
    width: 500px;
    font-family: Geologica, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
}

.s-contacts-input-container input, textarea {
    width: 500px;
    box-sizing: border-box;
    padding: 12px 19px;
    font-size: 16px;
    border: 2px solid #F5E9CE;
    border-radius: 12px;
    outline: none;
    background: #F5E9CE;
    font-family: inherit;
    font-size: inherit;
    cursor: text;
    transition: 0.2s ease all;
    color: #450E14;
}

.s-contacts-input-container label {
    position: absolute;
    left: 13px;
    top: 11px;
    color: #451D21;
    font-size: 16px;
    background-color: #F5E9CE;
    transition: 0.2s ease all;
    padding: 3px 10px;
    pointer-events: none;
    border-radius: 12px;
}


.s-contacts-input-container input:hover, textarea:hover {
    border-color: #FFA102;
}

.s-contacts-input-container input:focus, textarea:focus {
    border-color: #DE5533;
}

.s-contacts-input-container input:focus + label,
.s-contacts-input-container input:not(:placeholder-shown) + label {
    top: -11px;
    left: 10px;
    font-size: 12px;
    color: #450E14;
}

.s-contacts-input-container textarea:focus + label,
.s-contacts-input-container textarea:not(:placeholder-shown) + label {
    top: -11px;
    left: 10px;
    font-size: 12px;
    color: #450E14;
}

.s-contacts-input-container textarea {
    min-height: 180px;
    resize: none;
    overflow: hidden;
}

#s-contacts-submit {
    display: flex;
    padding: 12px 15px 12px 13px;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    background: #FFA102;
    border: none;
    color: #450E14;
    font-family: Geologica, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: center;
    transition: 0.2s ease all;
    cursor: pointer;
    margin-bottom: 15px;
}

#s-contacts-submit:hover {
    background: #DE5533;
}

#s-contacts-submit:active {
    background: #BC2D29;
}

#s-contacts-divider {
    display: flex;
    width: max-content;
    height: auto;
    background: none;
    margin: 20px 0;
    color: #F5E9CE;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-family: Geologica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: normal;
}

#fb {
    flex-direction: row;
    gap: 10px;
    padding-inline-start: 0;
}

#fb>li>a {
    width: max-content;
}


@media (max-width: 500px) {
    #s-contacts {
        padding: 50px 25px 0 25px;
        height: max-content;
    }

    #s-contacts-content>p {
        margin: 0 10px;
    }

    .s-contacts-input-container {
        width: 100%;
    }

    .s-contacts-input-container input, textarea {
        width: 100%;
    }

    #fb {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        padding-inline-start: 0;
    }

    #s-contacts-divider {
        margin: 10px 0;
    }

    #s-contacts-list{
        margin: 20px 0;
    }
}