/* -------------------------------------
    Base: Styles
------------------------------------- */

html {
    font-size: 62.5%; /* for rems */
    box-sizing: border-box;
    -webkit-text-size-adjust: none; 
}

body {
    font-family: $font-secondary;
    font-size: 18px;
    color: $primary-1;
}

h1, h2, h3{
    font-family: $font-primary;
    line-height: 100%;
    color: $text-color;
}

h1{
    font-size: 7.6rem;
    margin-bottom: 0;
}

h2{
    font-family: $font-secondary;
    font-size: 5.2rem;
    margin-bottom: 0;
    color: $primary-1;
}

h3{
    font-family: $font-secondary;
    color: $primary-1;
    font-size: 4rem;
    margin-bottom: 20px;
}

footer, header, section {
	display: block;
}

img {
    max-width: 100%;
    height: auto;
}

label{
    pointer-events: none;
}

:focus {
    outline: 4px solid $primary-1;
    outline-offset: 1px;
}

a {
    text-decoration: none;

    &:active,
    &:focus:hover {
        outline: 0;
    }
}

p{
    margin: 0;
}

button {
    cursor: pointer;
}

*, *:before, *:after {
    font-weight: inherit;
    margin: 0; 
	padding: 0;
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
}

ol, ul, li {
	list-style: none;
    list-style: none;
}

:focus {
    outline: 0;
}

.primary-btn{
    font-family: $font-primary;
    font-weight: 900;
    font-size: 18px;
    line-height: 20px;
    color: $primary-1;
    padding: 12px;
    border: 1px solid $primary-1;
    display: inline-block;
    min-width: 300px;
    text-align: center;
    cursor: pointer;
    margin: 10px;
    background-color: transparent;
    transition: all ease-in-out 0.3s;

    &:hover {
        color: white;
        background-color: $primary-1;
        box-shadow: inset 0 0 0 2em var(--hover);
    }
    &::selection {
        color: white;
        background-color: $primary-1;
    }
}

input{
    font-family: $font-primary;
    border: 1px solid $primary-2;
    color: $primary-1;
    border-width: 2px;
    border-radius: 10px;
    min-width: 300px;
    padding: 12px;
    font-size: 28px;
    line-height: 20px;
    margin-bottom: 20px;
}

input[type=radio] {
    min-width: auto;
    height: 20px;
    width: 20px;
    margin-left: 0;
    cursor: pointer;
}

textarea{
    width: 100%;
    font-family: $font-primary;
    border: 1px solid $primary-2;
    color: $primary-1;
    border-width: 2px;
    border-radius: 10px;
    padding: 10px;
    font-size: 28px;
    line-height: 20px;
    margin-bottom: 20px;
}

form {
    width: 100%;
    max-width: 900px;
}

.input-wrapper {
    width: auto;
}

.question-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    input[type=text]{
        margin-left: 10px;
    }
}

.question-points {
    text-align: center;
    margin: 30px 0;
}
