html, body { font-family: 'Roboto', sans-serif; font-size: 1rem; } .row, p { margin: 0; } header { height: 70px; } .container { max-height: 50vh; display: flex; justify-content: end; flex-direction: column; align-items: center; position: absolute; bottom: 5%; text-align: center; z-index: 999; } .logo-container { padding: 11px 12px; font-size: 20px; font-weight: 400; white-space: nowrap; p { font-weight: 300; font-size: 1.3rem; margin-bottom: 0; b { font-weight: bold; } span { background-color: white; color: #E58F65; padding: 0 1px; } } .sm-text { font-size: 11px; letter-spacing: 1.7px; } } .main-text-wrapper { position: relative; display: flex; flex-direction: column; justify-content: end; align-items: center; margin-bottom: 25%; height: 100px; h1 { font-size: 29px; font-weight: 600; text-shadow: 5px 4px 10px rgba(0, 0, 0, 0.25); line-height: 100%; letter-spacing: 5px; } .line { position: absolute; bottom: 0; width: 330px; height: 2px; display: block; } } .PBP-container, .PF-container { padding: 0; .PBP-header { background-color: #001529; color: #f8f8f8; display: flex; flex-direction: column; justify-content: center; align-items: start; } .PF-header { background: linear-gradient(32deg, #D05353 24%, #E58F65 100%); color: #f8f8f8; display: flex; flex-direction: column; justify-content: center; align-items: end; } main { position: relative; height: calc(100vh - 70px); min-height: fit-content; img { height: 100%; object-fit: cover; width: 100%; background-position: center; background-repeat: no-repeat; } &::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(255, 255, 255, 0.60); z-index: 1; } .btn { color: white; font-size: 16px; font-weight: 500; margin-bottom: 0; transition: all 0.3s; &:active { transform: translateY(2px); padding: 4px 10px; border: none; color: white; } } .btn-pb { background-color: #1871b2; margin-bottom: 10%; &:hover { background-color: #093460; } } .btn-pf { background-color: #146960; width: fit-content; &:hover { background-color: #0e4f47; } } .contact-us-wrapper { h5 { font-weight: 600; margin-bottom: 0; text-shadow: 5px 3px 4px rgba(0, 0, 0, 0.17); font-size: 1rem; } .line { width: 100px; height: 1px; } p { font-weight: 400; font-size: 0.8rem; } } } } .PF-container { .main-text-wrapper, .contact-us-wrapper { p, h1, h5 { color: #D05353; } .line { background-color: #D05353; } } } .PBP-container { .main-text-wrapper, .contact-us-wrapper { p, h1, h5 { color: #001529; } .line { background-color: #001529; } } } @media (max-width: 768px) { .PBP-container, .PF-container { height: 50vh; header { height: 50px; p { font-size: 0.8rem; letter-spacing: 1.2px; } .sm-text { font-size: 0.6rem; letter-spacing: 0; } } main { height: calc(50vh - 50px); min-height: fit-content; .container { height: 100%; bottom: 0; #pf-title { margin-bottom: 10px; } .main-text-wrapper { margin-bottom: 10px; h1 { font-size: 1.5rem; } .line { width: 120px; } } h5 { font-size: 1rem; } p { font-size: 0.8rem } } } } } .buttons-group { margin-bottom: 10%; .instructions-group { gap: 0.4rem; .btn { background: linear-gradient(32deg, #D05353 24%, #E58F65 100%); font-size: 12px; } } } #pf-title { margin-bottom: calc(25% - 35px); }