/* Global CSS realocado*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary-color: #005779;
    --deselect-color: #66aeca;
    --bg-color: #F3F3F3;
    --frames-color: white;
    --text-color: #373737;
    --text-opaque-color: #A2A2A2;
    --text-dark-color: #686868;
    --screen-color: #373737;
    --border-color: #C8C8C8; 
}

*{
    border: none;
    margin: 0px;
    padding: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    background: var(--screen-color);
    display: flex;
    height: 100vh;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

body .screen{
    display: flex;
    flex-direction: column;
    width: 360px;
    height: 100%;
    background: var(--bg-color);
}

header{
    display: flex;
    background: var(--primary-color);
    padding: 36px 10px 10px 10px;
    align-items: end;
    color: var(--bg-color);
}

header div{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

header a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    text-decoration: none;
}

main a{
    position: relative;
    display: flex;
    background-color: var(--frames-color);
    border: solid 0.5px var(--border-color);
    border-radius: 10px;
    align-items: end;
    justify-content: space-between;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 18px;
    transition-duration: 0.2s;
    text-decoration: none;
}

/* CSS Cadastrar*/
a.info{
    color: white;
    padding-left: 110px;
}

main.buttons {
    display: grid;
    padding: 20px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 65px);
    grid-gap: 15px;
}

main.buttons .button{
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 65px;
}

main.buttons .keyb span.material-symbols-outlined{
    transform: rotate(45deg);
}

main.buttons span.material-symbols-outlined{
    position: block;
    font-size: 40px;
    font-weight: 200;
}

span.ref{
    padding-left: 20px;
    font-size: large;
    color: var(--text-color);
    padding-top: 30px;
    font-weight: 600;
}

a.confirmar{
    background-color: var(--deselect-color);
    color: white;
    font-size: 15px;
    font-weight: 400;
    position: absolute;
    bottom: 10px;
    padding-inline: 116px;
    cursor: not-allowed;
    pointer-events: none;
}

.button:hover{
    cursor: pointer;
}

.button.selected {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.confirmar.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    cursor: pointer;
    pointer-events: auto;
}

.button .description {
    display: none;
    font-size: 12px;
    color: var(--text-dark-color);
    margin-top: 5px;
    position: absolute; 
    bottom: -30px;
    width: 100%;
    background-color: var(--bg-color);
}

.button.selected .description {
    display: block;
}
