$breakpoint-small: 900px; $spacing-small: 1rem; $spacing-medium: 1.8rem; $border-radius: 10px; html, body { font-size: 16px; padding: 0; margin: 0; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; } * { box-sizing: border-box; } h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; } iframe { border: none; } p { font-size: 24px; line-height: 2rem; } input, button { border: none; } a { color: inherit; text-decoration: none; } header { height: 8vh; background-color: white; color: black; display: flex; justify-content: space-between; align-items: center; padding: 0 0.75rem; a:not(:last-of-type) { margin-right: $spacing-small; } @media (min-width: $breakpoint-small) { padding: 0 1rem; } } .title { font-weight: bolder; font-size: 1.5rem; @media (min-width: $breakpoint-small) { font-size: 2rem; } } .landing__img { z-index: -1; position: relative; height: 10rem; background-color: #111111; color: #ffffff; // background: linear-gradient(to right, #2c5364, #203a43, #0f2027); @media (min-width: $breakpoint-small) { height: 70vh; } } .landing__text { margin-top: -6rem; margin-bottom: 3rem; margin-left: $spacing-small; margin-right: $spacing-small; background-color: #fcd34d; color: black; padding: $spacing-small; padding-bottom: 2rem; @media (min-width: $breakpoint-small) { position: absolute; margin: 0 10rem; top: 20vh; width: 40rem; padding: $spacing-medium; } } .landing__title { font-size: 3rem; font-weight: 900; @media (min-width: $breakpoint-small) { font-size: 3rem; } } .landing__subtitle { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 300; @media (min-width: $breakpoint-small) { font-size: 1.8rem; } } .landing__action { margin-top: 1.5rem; font-weight: bolder; display: inline-block; background-color: #5726ab; color: white; padding: 0.75rem; margin-top: 2rem; font-weight: 700; font-size: 1.5rem; padding: 1.5rem; border-radius: 10px; &:hover { opacity: 0.9; } } .content { padding: $spacing-small; background-color: #ffffff; color: #000000; h2 { font-size: 2rem; font-weight: 900; &:not(:first-of-type) { margin-top: 4rem; } } @media (min-width: $breakpoint-small) { padding-top: 5rem; width: 900px; margin: auto; h2 { font-size: 4rem; } } } .content__subtitle { margin: 1rem 0; font-size: 1.75rem; color: #8f8f8f; } .video { margin-top: 2.5rem; position: relative; padding-bottom: 56.25%; background-color: black; border-radius: 20px; iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px; } } .email { width: 100%; max-width: 35rem; margin: auto; font-size: 2rem; margin-top: 4rem; padding: 1rem; background-color: #fcd34d; h2 { font-size: 2rem; } label { font-size: 1rem; font-weight: 700; } @media (min-width: $breakpoint-small) { padding: 5rem; h2 { font-size: 3rem; } } } .email__group { height: 3rem; display: flex; align-items: center; border-radius: 10px; input { flex: 1; font-size: 0.8rem; margin: 0; padding: 0; background-color: #ffffff; border-top-left-radius: $border-radius; border-bottom-left-radius: $border-radius; &:focus { outline: none; } @media (min-width: $breakpoint-small) { font-size: 1rem; } } button { border-top-right-radius: $border-radius; border-bottom-right-radius: $border-radius; background-color: black; color: white; font-weight: 700; } input, button { padding: 1rem; height: 3rem; } } .email__subtitle { font-size: 1.5rem; margin: 1rem 0; @media (min-width: $breakpoint-small) { font-size: 2rem; margin: 2rem 0; } } .email__success, .email__error { font-size: 1rem; margin-top: 0.5rem; margin-bottom: -0.5rem; } .petition { height: 30rem; padding: 5rem; background-color: black; color: white; margin-top: 2rem; }