section { width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; } .dialog { background-color: var(--white); width: 760px; height: auto; border-radius: 26px; border: 2px solid rgba($color: #000000, $alpha: 0.1); } .header { display: flex; align-items: center; background-color: var(--bgSidebar); height: 72px; padding: 24px; border-top-left-radius: 24px; border-top-right-radius: 24px; color: var(--white); img { width: 54px; height: 66px; } p { width: 100%; text-align: center; font-size: 52px; font-weight: 700; } } .content { display: flex; justify-content: space-between; align-items: center; min-height: 332px; padding: 24px; .circle { display: flex; justify-content: center; align-items: center; width: 120px; height: 120px; border-radius: 100%; border: 2px solid var(--white); .initials { font-size: 47px; font-weight: 500; color: var(--white); text-shadow: 1px 1px 2px var(--black); } } } .badge { display: flex; justify-content: center; align-items: center; width: 30%; } .form { display: flex; justify-content: center; align-items: center; width: 70%; } @media screen and (max-width: 800px) { .dialog { width: 560px; position: relative; } .badge { position: absolute; top: 125px; right: 40px; } .content { flex-direction: column-reverse; } .header { height: 42px; img { width: 34px; height: 46px; } p { font-size: 42px; } } } @media screen and (max-width: 600px) { .dialog { width: 360px; } .badge { top: 65px; right: 120px; } .content { flex-direction: column-reverse; margin-top: 20px; .circle { width: 80px; height: 80px; .initials { font-size: 32px; font-weight: 500; color: var(--white); text-shadow: 1px 1px 2px var(--black); } } } .header { height: 60px; align-items: normal; p { font-size: 28px; } img { display: none; } } } @media screen and (max-width: 400px) { .dialog { width: 280px; } .badge { top: 65px; right: 95px; } .header { p { font-size: 22px; } } }