@charset "UTF-8";

/*========================== reset.css ==========================*/
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, sub, sup, tt, var,
b, u, 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, time {
    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;
}

a, input, select, textarea {
    outline: none;
}

img, input {
    border: none;
    height: auto;
    max-width: 100%;
}

button {
    border: 0;
    cursor: pointer;
    outline: none;
    padding: 0;
}

@font-face {
    font-family: Hauora;
    font-display: swap;
    src: url("../fonts/Hauora-Medium/Hauora-Medium.woff") format("woff"),
        url("../fonts/Hauora-Medium/Hauora-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: Hauora;
    font-display: swap;
    src: url("../fonts/Hauora-Bold/Hauora-Bold.woff") format("woff"),
        url("../fonts/Hauora-Bold/Hauora-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: Hauora;
    font-display: swap;
    src: url("../fonts/Hauora-ExtraBold/Hauora-ExtraBold.woff") format("woff"), 
        url("../fonts/Hauora-ExtraBold/Hauora-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
}

input[type=submit], button[type=submit] {
    cursor: pointer;
}

* {
    box-sizing: border-box;
}

:root {
    --font-family: Hauora;
}

html { font-size: 16px; }

body {
    background: #F6EDEE url(../img/body-bg.svg) no-repeat center top;
    color: #000;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
}

.--no-bg {
    background: #F6EDEE;
}

.sprite {
    display: none;
}

.screen {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.screen__header {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: space-between;
    
    padding-right: clamp(40px, 4vw, 80px);
    
    /* padding: calc(70 / 16 * 1rem) calc(80 / 16 * 1rem); */
}

.--header-offset {
    padding-bottom: clamp(20px, 20vh, 40px);
    padding-top: clamp(20px, 20vh, 40px);
    padding-left: clamp(40px, 4vw, 80px);
}

.screen__header-left {
    align-items: flex-end;
    background: #f6edee;
    border-radius: 0 50px 0 0;
    display: flex;
    font-size: clamp(25px, 2.6vw, 50px);
    font-weight: 700;
    padding-bottom: clamp(20px, 20vh, 40px);
    padding-top: clamp(20px, 20vh, 40px);
    padding-left: clamp(40px, 4vw, 80px);
    padding-right: clamp(35px, 3.6vw, 70px);
}

.screen__header-left span {
    font-size: clamp(50px, 5.2vw, 100px);
    margin-right: clamp(20px, 2vw, 40px);
}

.screen__header-left-text {
    color: #5b5481;
}

.screen__header-icon {
    height: clamp(54px, 10vh, 108px);
    width: clamp(54px, 10vh, 108px);
    /* height: calc(108 / 16 * 1rem); */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    /* width: calc(108 / 16 * 1rem); */
}

.screen__header-status {
    margin-left: auto;
}

.screen__header-status img {
    display: block;
    width: clamp(260px, 28vw, 555px);
}

.screen__content {
    padding: clamp(40px, 7.4vh, 80px);
    /* padding: calc(80 / 16 * 1rem); */
    padding-bottom: clamp(30px, 5.5vh, 60px);
    /* padding-bottom: calc(60 / 16 * 1rem); */
}

.photo {
    
    border-radius: 30px;
    /* width: clamp(170px, 31vh, 358px); */
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    /* width: calc(340 / 16 * 1rem); */
}

.photo img {
    border-radius: 30px;
    width: clamp(155px, 28.7vh, 358px);
    /* height: calc(310 / 16 * 1rem);
    width: calc(310 / 16 * 1rem); */
}

.screen__name {
    font-weight: 700;
    font-size: clamp(32px, 5.9vh, 70px);
    /* font-size: calc(64 / 16 * 1rem); */
    line-height: 143%;
    text-transform: capitalize;
}

.screen__subtitle {
    background: #fff;
    border-radius: 50px;
    display: table;
    font-size: clamp(20px, 3.7vh, 40px);
    line-height: 120%;
    margin-top: 17px;
    padding: 16px 40px;
}

.screen__grid {
    display: grid;
    grid-column-gap: clamp(20px, 2vw, 110px);
    /* grid-column-gap: calc(40 / 16 * 1rem); */
    grid-row-gap: clamp(6px, 1.1vh, 12px);
    /* grid-row-gap: calc(12 / 16 * 1rem); */
    grid-template-columns: clamp(170px, 17.7vw, 340px) 1fr;
    /* grid-template-columns: calc(340 / 16 * 1rem) 1fr; */

}

.screen__footer {
    
    background: #5b5481;
    color: #fff;
    font-size: clamp(100px, 6.7vw, 130px);
    font-weight: 800;
    margin-top: auto;
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
}

.--flex {
    align-items: center;
    display: flex;
    gap: clamp(25px, 2.6vw, 50px);
    padding-left: 5.2vw;
    padding-right: 1.2vw;
}

.screen__footer-icon {
    align-items: center;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    height: 148px;
    width: 148px;
}

.screen__footer-icon svg {
    fill: #5b5481;
    height: 91px;
    width: 24px;
}

.--light-bg {
    background: #b4a0a2;
}

.mytable {
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-top: 40px;
}

.mytable td {
    vertical-align: middle;
}

.mytable td:nth-child(2){
    padding-left: clamp(35px, 3.6vw, 70px);
    padding-right: clamp(35px, 3.6vw, 70px);
}

.list__status {
    background: #b4a0a2;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 40px);
    line-height: 1.3;
    padding: 2px 20px;
    text-align: center;
    text-transform: uppercase;
}

.list__status.is-active {
    background: #5b5481;
}

.list__time {
    font-weight: 700;
    font-size: clamp(30px, 3.1vw, 60px);
    text-align: center;
}

.list__info {
    font-size: clamp(23px, 2.3vw, 45px);
}

.screen__title {
    color: #5b5481;
    font-weight: 700;
    font-size: clamp(40px, 4.1vw, 80px);
    text-align: center;
}

.screen__patient {
    background: #fff;
    border-radius: 100px;
    color: #5b5481;
    font-weight: 700;
    font-size: clamp(60px, 6.2vw, 120px);
    padding: 16px 80px;
}

.--flex-screen {
    align-items: center;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
    justify-content: center;
}