/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

html,body {
    height: 100%;
    background-color: #ffed03;
    font-family: 'Roboto Condensed', sans-serif;
}

.logo-container, footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.logo-container > img {
    width: 250px;
}

section {
    margin: 7rem 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.container {
    width: 960px;
    margin: 0 auto;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    border-radius: 1rem;
    text-decoration: none;
    color: #000;
    border: 3px solid #000;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: 200ms background-color;
}
.card-item .icon {
    margin-bottom: 0.75rem;
}
.card-item .icon svg {
    width: 24px;
    height: 24px;
}
.card-item .title {
    font-size: 13pt;
}
.card-item .value {
    font-size: 14pt;
    font-weight: 600;
    margin-top: 1rem;
}

footer {
    font-weight: 600;
    font-size: 13pt;
    text-transform: uppercase;
    gap: 0.25rem;
}

.modal-container {
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}
.modal--open {
    display: flex;
}
.modal {
    background-color: #fff;
    border-radius: 1rem;
    width: 460px;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    font-size: 15pt;
}
.modal-body {
    padding: 1rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-control {
    flex: 1;
    border: 0;
    outline: 0;
    border-bottom: 2px solid #ddd;
    padding: 0.5rem 0;
    resize: none;
    font-size: 12pt;
    font-family: 'Roboto Condensed', sans-serif;
}
.form-control:focus {
    border-color: #333;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background-color: #000;
    border: 0;
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 12pt;
    text-decoration: none;
}
.btn.btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    padding: 0;
}
.btn[disabled] {
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.thanks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.thanks h1 {
    font-size: 15pt;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.thanks div {
    font-size: 13pt;
}
.thanks .btn {
    margin-top: 1rem;
}

@media screen and (max-width: 960px) {
    .container {
        max-width: 100%;
        padding: 1rem;
    }

    .card-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal {
        border-radius: 0;
    }
    
    section {
        margin: 2rem 0;
    }
}