:root { --color-primary: #851046; --color-secondary: #231F20; } html { height: 100%; } body { background: url('bg-1.jpg') no-repeat center 170px /cover; background-attachment: fixed; font-family: "Roboto", sans-serif; font-style: normal; font-size: 16px; color: #484848; margin: 0; padding: 0; box-sizing: border-box; @media screen and (min-width: 1490px) { background-size: 1200px; background-position: center 50px; } > .global { display: flex; flex-direction: column; gap: 10px 0; margin: 0 auto; background-color: rgba(255,255,255,0.7); padding: 10px; height: 100%; width: 100%; position: fixed; overflow-y: auto; } * { box-sizing: border-box; } h1, h2, h3 { margin-top: 0; margin-bottom: 0; color: #252525; font-family: "Montserrat", sans-serif; line-height: 1.2; } h1 { font-size: ~'clamp(25px, 2vw, 38px)'; font-weight: 600; margin-bottom: 10px; line-height: 1.12; color: #222; } h2 { font-size: ~'clamp(15px, 2vw, 22px)'; font-weight: 500; color: #222; } p { margin: 0; } a:link, a:visited { color: var(--color-primary); text-decoration: none; } } .color-primary { color: var(--color-primary) } // header, main, footer { width: 100%; max-width: 800px; margin-left: auto; margin-right: auto; } details { summary { cursor: pointer; font-weight: 600; font-family: "Montserrat", sans-serif; } } .flexbox { display: flex; justify-content: center; } // .logo { max-width: ~'clamp(110px, 10vw, 160px)'; width: 70%; min-width: 80px; background-color: #fff; border-radius: 5px; padding: 5px 0; box-shadow: 0 3px 3px rgba(0,0,0,.2); overflow: hidden; display: block; flex: 1; img { width: 100%; } } header { display: flex; flex-direction: row; gap: 10px 4vw; align-items: center; justify-content: space-between; margin: 10px auto; //desktop @media screen and (min-width: 860px) { align-items: center; } > * { flex: 2; } } footer { text-align: center; background: #fff; padding: 12px 15px; margin-top: auto; border-radius: 10px; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 0 5px rgba(0,0,0,.3); > * { flex: 2; } .social-network { display: flex; gap: 10px; flex: none; } } main { width: 100%; display: flex; flex-direction: column; gap: ~'clamp(10px, 3vw, 20px)' 0; form { background: rgba(0,0,0,.7); box-shadow: 1px 0 3px rgba(0,0,0,.25); padding: 20px; border-radius: 5px; box-shadow: 0 2px 3px rgba(0, 0, 0, .2); text-align: center; position: sticky; top: 5px; label { display: block; margin-bottom: 10px; text-transform: uppercase; font-weight: 500; letter-spacing: .5px; font-size: 12px; color: #fff; } input[type='text'] { width: 100%; border-radius: 8px 0 0 8px; padding: 12px 15px; border: 1px solid #ccc; outline: none; &::placeholder { font-style: italic; color: #999; } } button { cursor: pointer; border: 0px solid #ccc; padding: 10px; background-color: #851246; color: #fff; font-weight: 600; border-radius: 0 8px 8px 0; } } .list-container { font-size: 15px; border-radius: 10px; table { border-collapse: collapse; background-color: #fff; overflow: hidden; width: 100%;border-radius: 10px; box-shadow: 0 0 5px rgba(0,0,0,.3); border: 0; tr { &:nth-child(odd) { background-color: #f9f9f9; } th { text-transform: uppercase; background-color: #4C4C4C; font-weight: 500; color: #fff; font-family: "Montserrat", sans-serif; font-size: 12px; padding: 10px ~'clamp(10px, 2vw, 20px)'; border-top: 0; &:first-of-type { text-align: left; } } td { font-size: 14px; border: 1px solid #fff; padding: 10px ~'clamp(15px, 2vw, 20px)'; &:not(:first-of-type):not(:last-of-type) { text-align: center; } } } } .no-result { background-color: #fff; padding: 15px 10px 10px; border-radius: 8px; text-align: center; p { margin: 0 0 5px; } } } }