@font-face {
    font-family: Chivo;
    src: url(Chivo-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: Chivo;
    src: url(Chivo-BoldItalic.ttf);
    font-weight: 700;
}

body {
    font-family: Chivo, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    color: #2f2f2f;
}

#homebody {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    height: 100%;
    padding: 15px 30px;
    box-sizing: border-box;
}

.new .container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.info_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 70px;
    max-width: 1000px;
    margin: auto;
}

.info_wrapper a {
    color: #2f2f2f;
}

h1 {
    font-size: 4rem;
    margin: 7rem 0 2.5rem;
    text-align: center;
}

.new h1{
    margin: 0;
    font-size: 7rem;
}

.subtitle {
    font-size: 1.25rem;
    text-align: justify;
    margin: 0 auto 70px;
    max-width: 700px;
    line-height: 1.5;
}

.link_wrapper {
    width: 100%;
    display: grid;
    place-items: center;
    margin-bottom: 100px;
}

#back {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #5a5a5a;
    text-decoration: none;
}

#home {
    color: #5a5a5a;
    text-decoration: none;
}

#question_wrapper,
#result_wrapper {
    height: 100vh;
    width: 100vw;
    display: grid;
    place-items: center;
}

.inner_wrapper {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    align-items: center;
    padding: 15px 30px;
}

#question {
    font-size: 3rem;
    text-align: center;
}

#answerbox {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

button,
.link {
    border: 3px solid #0284c7;
    color: #0284c7;
    background-color: transparent;
    padding: 10px 15px;
    font-size: 20px;
    border-radius: 3px;
    cursor: pointer;
    min-width: 100px;
    transition: all 150ms ease-in-out;
    font-weight: 700;
    font-family: Chivo, sans-serif;
    font-style: italic;
    text-decoration: none;
}

button:hover,
.link:hover {
    background-color: #0284c7;
    box-shadow: 0 5px 25px -10px #0369a1;
    color: white;
}

#result {
    padding: 65px 40px;
    color: white;
    font-size: 3rem;
    text-align: center;
    border-radius: 5px;
    transition: transform 500ms ease-in-out;
}

#result:hover {
    transform: translateY(-5px);
}

.valid {
    background-color: #16a34a;
    box-shadow: 0 20px 100px -50px #15803d;
}

.invalid {
    background-color: #dc2626;
    box-shadow: 0 20px 100px -50px #b91c1c;
}

#result_comment {
    font-size: 1.5rem;
    text-align: center;
    max-width: 1000px;
}

footer {
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
    color: #5a5a5a;
    margin-top: 30px;
}

footer a {
    color: #5a5a5a;
    text-decoration: none;
}
