@import "buttons.css";
@font-face {
    font-family: 'Sansation';
    src: url("../fonts/sansation/Sansation-Regular.ttf");
}

* {
    font-family: 'Sansation';
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    /*background: radial-gradient(circle at top, rgb(23, 59, 77), #0E232E);*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2)), radial-gradient(circle at center, rgba(0, 0, 0, 0.651) 60%, rgba(12, 31, 41, 0.719)), radial-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), -10px -5px / 5rem url("/images/TechnoGrid_02.png"), radial-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.7)), 0px 5px / 10rem url("/images/TechnoGrid_02.png"), black;
    background-attachment: fixed;
}

input {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding: 10px;
    border: none;
    display: block;
    margin: 5px auto;
    font-size: 11pt;
}

textarea {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding: 10px;
    border: none;
    display: block;
    margin: 5px auto;
    font-size: 11pt;
    resize: vertical;
}

#contact__logo {
    display: block;
    margin: 5px auto 20px auto;
}

#contact {
    display: block;
    width: 95%;
    max-width: 500px;
    margin: 20vh auto 0 auto;
}

form {
    position: relative;
}

input,
textarea {
    background: #ffffff44;
    color: rgb(204, 204, 204);
}

input:hover,
input:focus,
textarea:hover,
textarea:focus {
    color: #000;
    background: #fff;
    box-shadow: 0 0 2px 0 #555;
}

input[type="submit"] {
    cursor: pointer;
    background: #009900;
    color: #fff;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    color: #fff;
    background: #0c0;
    box-shadow: 0 0 2px 0 #0c0;
}

input[type="reset"] {
    text-decoration: underline;
    padding: 0;
    text-align: right;
    background: none;
    width: unset;
    position: absolute;
    top: -30px;
    right: 0;
    color: #ffffff44;
    cursor: pointer;
}

input[type="reset"]:hover {
    color: #c00;
    box-shadow: none;
}

#errormessage {
    width: 95%;
    max-width: 500px;
    box-sizing: border-box;
    padding: 10px;
    border: none;
    display: block;
    margin: 5px auto;
    font-size: 11pt;
    background: #f00;
    color: #fff;
    text-align: center;
}

#message {
    margin: 50px auto;
    box-sizing: border-box;
    padding: 20px;
    background: #ffffff44;
    text-align: center;
    color: #fff;
    display: block;
    width: 100%;
    max-width: 350px;
    line-height: 200%;
}

.success {
    background: #0c0 !important;
}

@media (max-device-width: 480px) {
    #contact {
        margin-top: 5vh;
    }
}