body {
    font: 400 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@font-face {
    font-family: 'SF-Pro-Rounded-Bold';
    src: url('/fonts/SF-Pro-Rounded-Bold.otf');
}

@font-face {
    font-family: 'SF-Pro-Rounded-Light';
    src: url('/fonts/SF-Pro-Rounded-Light.otf');
}

@font-face {
    font-family: 'SF-Pro-Rounded-Medium';
    src: url('/fonts/SF-Pro-Rounded-Medium.otf');
}

/* navigation */

main ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
    margin-left: 6em;
    margin-right: 6em;
    border-bottom: 1pt solid #777f8c29;
    background-color: #fffffff7;
    border-radius: 12px;
    box-shadow: 2px 5px #b9c2c60f;
    top: 20px;
}

main li {
    margin: 8px;
    float: left;
}

main li a {
    display: block;
    color: black;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    font-family: 'SF-Pro-Rounded-Bold';
    font-weight: normal;
    color: black;
}

main li a:hover {
    background-color: rgb(224 224 224 / 30%);
    border-radius: 12px;
}

.menu-download img {
    width: 25px;
    padding-right: 3px;
}

.menu-logo a {
    display: flex;
    align-items: center;
}

.menu-logo img {
    width: 50px;
}

.right-menu {
    float: right;
    margin-top: 11px;
}

.right-menu a {
    display: flex;
    align-items: center;
}

/* end navigation */

header {
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgb(237, 237, 237);
    z-index: 1000;
    display: inline-block;
    border-bottom-style: solid;
    padding-bottom: 10px;
}

header .don-header {
    margin: 0 auto;
    text-align: center;
}

.don-list a {
    padding: 5px 0 0 0;
    color: rgb(52, 52, 52);
    text-decoration: none;
    font-size: 14px;
}

footer ul {
    padding: 0;
}

main {
    max-width: 1400px;
    margin: 30px auto;
}

.screenshot {
    border-radius: 12px;
    margin: 30px 0 0 0;
    max-width: 100%;
    vertical-align: middle;
}

.header-logo {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2em;
}

.header-logo h1 {
    font-family: 'SF-Pro-Rounded-Bold';
    font-size: 46px;
    font-weight: normal;
    color: black;
    margin: 25px 0 0 0;
    line-height: 1em;
}

.header-logo h4 {
    font-family: 'SF-Pro-Rounded-Light';
    font-size: 27px;
    font-weight: normal;
    color: black;
    margin: 12px;
    text-align: center;
}

.header-logo a {
    text-decoration: none;
}

.header-logo img {
    width: 10em;
    border-radius: 35px;
    box-shadow: 2px 5px #b9c2c60f;
}

#badge,
#badge-footer,
#qrcode {
    text-align: center;
}

#badge-footer {
    margin-bottom: 24px;
}

#qrcode {
    margin-bottom: 24px;
}

#qrcode img {
    width: 220px;
    height: 220px;
}

footer {
    padding-bottom: 10px;
}

footer div {
    font-size: 16px;
    margin-left: -15px;
    text-align: center;
    margin-top: 22px;
    padding-left: 15px;
}

footer a {
    text-decoration: none;
}

footer li {
    list-style: none;
}

@media only screen and (max-width: 600px) {
    main ul {
        margin-left: 0;
        margin-right: 0;
    }

    .header-logo h1 {
        font-size: 40px;
    }

    #qrcode {
        display: none;
    }

    #logo img {
        margin-bottom: 20px;
    }
}

/* Monitor Section */
.monitor {
    margin: 90px 0 0 0;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 2em;
    background-color: #eef8ff;
    border-radius: 12px;
    margin-top: 3em 0;
    width: 100%;
    box-sizing: border-box;
}

.monitor h4 {
    text-align: center;
    font-family: 'SF-Pro-Rounded-Bold';
    color: black;
    font-size: 22px;
    max-width: 10em;
}

.monitor .container {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
}

.monitor input {
    flex: 1;
    border: 2px solid #e8f6ff;
    border-radius: 25px;
    font-family: 'SF-Pro-Rounded-Medium';
    font-size: 22px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: none;
}

.monitor input:focus {
    border-color: #0060ba;
    box-shadow: 0 4px 8px rgba(0, 96, 186, 0.3);
}

.monitor button {
    flex-shrink: 0;
    font-family: 'SF-Pro-Rounded-Medium';
    background-color: #0060ba;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 400;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 20px;
}

.monitor button:hover {
    background-color: #004a8c;
    transform: scale(1.05);
}

/* Result Section */
/* Seção de Resultados */
.result-section {
    margin-top: 30px;
    border-radius: 12px;
    background-color: #f7f7f7;
    padding: 20px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, background-color 0.4s ease;
}

.result-section.visible {
    opacity: 1;
    max-height: 1000px;
}

.result-section.status-success {
    background-color: #eefdf3;
}

.result-section.status-error {
    background-color: #ffe3e3;
}

/* Estilização da estrutura dos resultados */
.result-content {
    align-items: center;
    gap: 20px;
}

.result-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    color: #333;
}

.result-text .field {
    margin: 0;
    font-family: 'SF-Pro-Rounded-Medium';
    font-size: 18px;
    color: #727272;
}

.result-text .content {
    margin: 0;
    font-family: 'SF-Pro-Rounded-Medium';
    font-size: 22px;
    color: #333;
}

.result-text strong {
    color: #000;
}

.result-score {
    background-color: #f3e6ff;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #7e57c2;
    text-align: center;
    min-width: 80px;
}

.result-field {
    margin: 8px;
}

@media (max-width: 768px) {
    .result-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsividade */
@media only screen and (max-width: 900px) {
    .monitor {
        padding: 1em;
        margin: 2em 0;
    }

    .monitor .container {
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
    }

    .monitor input {
        width: 90%;
    }

    .monitor button {
        margin-top: 20px;
    }

    .result-text {
        display: block;        
    }

    .monitor h4 {
        margin: 0 0 12px 0;
        max-width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    background-image: url('/images/marketing-mobile.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
    color: #fff;
}

.modal h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-shadow: -2px 2px #00000030;
    font-family: 'SF-Pro-Rounded-Medium';
}

.modal p {
    text-shadow: -2px 2px #00000030;
    font-family: 'SF-Pro-Rounded-Light';
    font-size: 18px;
}

.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-qr {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.modal-appstore {
    display: block;
    font-size: 26px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: -2px 2px #00000030;
}

.btn-continue {
    background-color: #fff;
    color: #001c43;
    font-family: 'SF-Pro-Rounded-Medium';
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 22px;
    margin-top: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

.close:hover {
    color: red;
}

/* Responsividade para Modal */
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        max-width: 350px;
    }

    .modal-qr {
        width: 120px;
        height: 120px;
    }
}
