body {
    color: #313d48;
}

section, header, footer {
    position: relative; /* To anchor the button within each section */
}

.logo {
    width: 400px;
    max-width: 80%;
    margin: 0 0 15px;
}

.footer .logo {
    width: 220px;
    opacity: 0.5;
    margin: 0;
}

.footer .material-icons {
    top: 4px;
    position: relative;
}

.footer .contacts a {
    display: inline-block;
    margin: 0 30px 0 0;
}

.btn .btn-icon {
    font-size: 1.6em;
    display: inline-block;
    top: -2px;
    position: relative;
}

h3.h4.mt-2 {
    font-size: 1.4rem;
    line-height: 2.8rem;
}

.form-control {
    border: 1px solid #d2d6da;
    padding: .5rem;
}

.form-control:focus {
    border-color: #8ba3c9;
}

.form-control[textarea] {
    resize: vertical;
    min-height: 100px;
}

.form-label, label {
    color: inherit;
}

.delete-button {
    display: none; /* Initially hidden */
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 1000; /* Make sure it's on top of everything */
}

.footer a {
    color: #0493c5;
}

.footer__logo {
    opacity: 0.5;
    width: 120px;
}

#youtube-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

#youtube-background {
    position: absolute;
    width: 100vw;
    height: 56.25vw; /* 16:9 соотношение */
    min-width: 177.77vh;
    min-height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (max-width: 768px) {
    #youtube-background {
        width: 150%;
        height: 150%;
    }
}