@font-face {
    font-family: 'Public Sans';
    src: url('../../fonts/PublicSans-Regular.ttf') format('truetype');
}

* {
    font-family: 'Public Sans', serif;
    font-size: 16px;
}

body {
    background-image: linear-gradient(90deg, #004d1a 10%, #009933 90%);
    margin: auto;
    display: flex;
    justify-content: center;
    /* color: #264d00; */
}

.container {
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #e9e9ed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: fit-content;
}

input[type='text']:not(.honeypot),
input[type='email'] {
    background-color: ghostwhite;
    display: block;
    margin-bottom: 20px;
    margin-top: 5px;
    width: 400px;
    height: 30px;
    border-radius: 3px;
}

textarea {
    background-color: ghostwhite;
    display: block;
    margin-bottom: 20px;
    margin-top: 5px;
    width: 400px;
    max-height: 40vh;
    min-height: 100px;
    max-width: 90vw;
    border-radius: 3px;
}

/* Honeypotfältet: gömt */
/* Honeypotfält: gömt helt och hållet */

input.honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

input[type='submit'],
input[type='button'] {
    width: 100px;

    margin-top: 10px;
    background-color: green;
    border-radius: 5px;
    border-bottom-color: #003311;
    border-right-color: #003311;
    border-top-color: #00e64d;
    border-left-color: #00e64d;
    border-width: 6px;
    color: white;
    background-color: #336600;
    /* Green */
    border: 1px solid green;
    margin: 3px;
    text-decoration: none;
    cursor: pointer;
    height: 4ex;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type='submit']:hover,
input[type='button']:hover {
    background-color: #3e8e41;
}

.rubrik {
    font-size: 22px;
    padding-bottom: 8px;
}
::-moz-selection {
    /* Code for Firefox */
    color: black;
    background: yellow;
}

::selection {
    color: black;

    background: yellow;
}
.feedback {
    height: 100px;
}
.horisontell {
    display: flex;
    flex-direction: row;
}
.red {
    color: red;
}
@media only screen and (max-width: 800px) {
    body {
        background-image: none;
        background-color: #e9e9ed;
    }

    .container {
        border: none;
        border-radius: 0;
        width: 100vw;
    }

    label {
        margin-left: 2px;
    }

    input {
        max-width: 90vw;
        margin-left: 2px;
    }

    textarea {
        width: 90vw;
    }
}
