:root {
    --primary-500: #1E5B4F;
    --primary-600: #002F2A;
    --h1: 64px;
    --h2: 32px;
    --navHeight: 80px;
    --subNavHeight: 57px;
    --paddings: 24px;
    --gaps: 16px;
}

body {
    padding: 0;
    margin: 0;
    min-width: 100dvw;
    min-height: 100dvh;
    color: #fff;
    font-family: "Noto Sans", "Noso Sans", serif, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

.patria {
    font-family: "Patria", "noso Sans", Helvetica, Arial, sans-serif;
}

.container {
    max-width: 1180px;
    width: 100%;
    padding-left: var(--paddings);
    padding-right: var(--paddings);
    margin-left: auto;
    margin-right: auto;
}

.h1,
h1 {
    font-size: var(--h1);
    font-weight: bold;
    font-family: "Patria", "noso Sans", Helvetica, Arial, sans-serif;
}

.h2,
h2 {
    font-size: var(--h2);
    font-weight: bold;
}

.h2.medium,
h2.medium {
    font-weight: 500;
}

.h2.large,
h2.large{
	font-size: 3rem;
}

#header {
    display: flex;
    height: var(--navHeight);
    background-color: var(--primary-600);
    align-items: center;

}

#header>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#header nav ul {
    list-style: none;
    display: flex;
    gap: var(--gaps);
    font-weight: 600;
}

a {
    text-decoration: none;
    font: inherit;
    color: inherit;
}

#menu_toogle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#menu_toogle div {
    display: inline-flex;
    width: 20px;
    height: 2px;
    background-color: #fff;
}

#submenu {
    display: flex;
    height: var(--subNavHeight);
    background-color: var(--primary-500);
    box-shadow: 0px 4px 4px 0px #00000040;
}

#main {
    display: grid;
    min-height: calc(100dvh - var(--navHeight) - var(--subNavHeight));
    background-image: url('/assets/img/pattern.svg'), linear-gradient(90deg, #002F2A 20%, #175147 72%, #1E5B4F);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    align-items: center;
    padding-top: var(--paddings);
    padding-bottom: var(--paddings);
}

#main .info {
    display: grid;
    gap: var(--gaps)
}

#main h1 {
    margin: 0;
}

#main p {
    margin: 0;
}

#main .container {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: space-between;
    max-height: 560px;
    height: 100%;
    gap: var(--gaps);
    flex: 1;
}

.divisor {
    height: 8px;
    display: flex;
    background-color: var(--primary-500);
    max-width: 102px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.legend {
    opacity: 1;
}

.btn{
    display: inline-flex;
    justify-content: center;
    text-align: center;
    padding: 12px 24px;
    font-weight: 600;
    gap: var(--gaps);
    height: 48px;
    width: 150px;
    background-color: var(--primary-600);
    border-radius: 8px;
    border: 1px solid #fff;
}
#download{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gaps);
}
#download .preview{
    width: 102px;
    height: auto;
}

@media (max-width:768px) {
    :root {
        --h1: 48px;
    }
    body{
        padding-top: var(--navHeight);
    }

    #main .container {
        gap: 64px;
        height: unset;
        min-height: 50dvh;
        max-height: unset;
    }

    .legend .h2 {
        font-size: 1.25rem;
    }

    #header::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        height: var(--navHeight);
        display: flex;
        background-color: inherit;
    }

    #menu_toogle {
        display: flex;
    }

    #menu>* {
        position: relative;
    }

    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    #menu {
        position: fixed;
        top: var(--navHeight);
        left: 0;
        right: 0;
        z-index: 99;
        background-color: var(--primary-600);
    }

    #header nav ul {
        flex-direction: column;
        padding-top: var(--paddings);
        padding-bottom: var(--paddings);
        gap: 32px
    }

    #menu {
        z-index: -1;
        transition: 0.3s ease all;
        transform: translateY(-120%);
    }

    #menu.active {
        transform: translateY(0);
    }
    #download .btn{
        flex:1;
    }
}