@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5em;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html, body {
    font-family: "Roboto", sans-serif;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    background-color: black;
}

body {
    margin: 0;
    font-weight: 300;
    position: relative;
    text-align: center;
    color: #D9D9D9;
}
.d-flex {
    display: flex;
    justify-content: center;
    gap: 2em;
}
.align-left {
    text-align: left;
}
.block {
    margin: 1em 0;
}
#wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-image: url('../assets/bg.jpg');
}
#logo {
    padding: 2em;
}
#logo img {
    max-width: 10em;
}

#description div {
    padding-bottom: 1em;
    font-size: 1.2em;
    line-height: 2em;
}

#contact-form {
    padding-top: 2em;
    width: 22em;
}

input,
textarea {
    width: 100%;
    padding: 1em;
    border: 0.2em solid #ddd;
    border-radius: 0.5em;
    outline: none;
    transition: border-color 0.3s ease, padding-top 0.3s ease;
    margin-top: 1.25em;
}

.input-wrapper {
    position: relative;
    margin-bottom:  1em;
}

input:focus + label,
textarea:focus + label,
input:not(:placeholder-shown) + label,
textarea:not(:placeholder-shown) + label {
    top: -0.5em;
    font-size: 0.9em;
    color: #ff4081;
}

input:focus,
textarea:focus {
    border-color: #ff4081;
}

label {
    position: absolute;
    top: 1.75em;
    left: 1em;
    color: #999;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

input::placeholder,
textarea::placeholder {
    color: transparent;
}

.submit-btn {
    padding: 0.75em 2em;
    font-size: 1.2em;
    background-color: #ff4081;
    color: white;
    border: none;
    border-radius: 2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #f50057;
}

#contact-data {
    font-size: 1.1em;
    line-height: 2em;
}
#contact-data a {
    color: #ffffff;
    text-decoration: none;
}
#contact-data a:hover {
    text-decoration: underline;
}
.g-recaptcha {
    padding-bottom: 1em;
}

footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: auto;
    position: sticky;
    bottom: 0;
}

footer a {
    display: inline-block;
    color: #ffffff;
    padding: 0.25em 0.75em;
    text-decoration: none;
    font-size: 1.2em;
}

footer a:hover {
    background: #333333;
}

[hidden] {
    display: none;
}

template {
    display: none;
}
a {
    background: transparent;
}
a:active,
a:hover {
    outline: 0;
}

h1 {
    font-size: 2em;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 0.75em;
}
.error {
    padding: 0.5em;
    border: 0.1em solid red;
    background: #621919;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.success {
    padding: 0.5em;
    border: 0.1em solid green;
    background: #35451b;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
@media only screen
and (max-device-width : 1160px) {
    #wrapper {
        display: block;
        padding: 1em;
    }
    .m-rows {
        flex-direction: column;
        align-items: center;
    }
}