html {
    box-sizing: border-box;
    font-size: 10px;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.josefin-sans {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    background-image: url("https://st2.depositphotos.com/1986419/9979/i/450/depositphotos_99792202-stock-photo-three-different-bread-rolls-on.jpg");
    background-repeat: repeat ;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

main {
    background: rgba(255,255,255,0.80);
    width: 60%;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

section, form {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

section {
    font-size: 2rem;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255,127,80,0.80);
}

#survey-beginning {
    width: 100%;
    padding: 2rem 0;
    margin: 0 auto;
    background: none;
}

h1 {
    font-size: 4.5rem;
    margin: 0 auto;
}

p {
    width: 70%;
    margin: 2rem auto;
    text-align: center;
}

#form-background {
    width: 70%;
    margin: 0 auto;
}

label {
    margin: 0 2rem;
}

input, select {
    height: 2.5rem;
    margin: 0.5rem 2rem 3rem;
    padding:0.2rem 1rem;
    display: block;
    width: 100%;
    background: white;
    color: grey;
    border: 1px solid white;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

.option {;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.option:first-of-type, .option:nth-of-type(6) {
    margin-top: 2rem;
}

input[type="radio"], input[type="checkbox"] {
    display: inline;
    height: 1.5rem;
    width: 1.5rem;
}

textarea {
    margin: 2rem 2rem 3rem;
    padding:0.2rem 1rem;
    display: block;
    width: 100%;
    height: 15rem;
    background: white;
    color: black;
    border: 1px solid white;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 2rem;
    font-family: "Montserrat", sans-serif;
}

text::placeholder {
    color: grey;
}

#submit-button {
    margin: 0 auto;
    height: 5rem;
}

#submit-button input {
    color: black;
    background: white;
    border: 1px solid white;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 2rem;
    height: 4rem;
    padding:0.2rem 1rem;

}

#go-back-container {
    position: fixed;
    width: calc(7 * 2.5rem);
    height: 6.5rem;
    margin: 0;
    top: 0;
    left: 0;
    background-color: rgba(255,127,80,0.80);
    z-index: 999;
    transition: background-color 0.2s ease-out;
}

#go-back-container:hover {
    background-color: #222222;
}

#go-back {
    font-family: "Josefin Sans", sans-serif;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: -2.3rem;
    margin: 1rem 0 0 1rem;
    padding: 1rem 1.5rem 0.5rem;
    font-size: 2.5rem;
    color: #222222;
    transition: left 0.2s ease-out, color 0.2s ease-out;
}

#go-back-container:hover #go-back {
    left: 0;
    color: white;
    cursor: pointer;
}

.code {
    color: transparent;
    font-weight: bold;
    transition: color 0.2s ease-out;
    position: relative;
    top: -0.3rem;
}

#go-back-container:hover .code {
    color: rgb(255,127,80);
}

/*TODO @ rules!!*/