html, body { font-family: 'Roboto', sans-serif; font-size: 1rem; } .row, p { margin: 0; } header { height: 70px; } .main-container { max-height: 100%; display: flex; justify-content: center; flex-direction: column; flex-grow: 1; 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: 20px; margin-bottom: 0; b { font-weight: bold; } span { background-color: white; color: #E58F65; padding: 0 1px; } } .sm-text { font-size: 11px; letter-spacing: 1.4px; } } .main-text-wrapper { position: relative; display: flex; flex-direction: column; justify-content: end; align-items: center; margin-bottom: 20%; 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: 15%; transition: all 0.3s; &:active { transform: translateY(2px); padding: 4px 10px; border: none; color: white; } } .btn-pb { background-color: #1871b2; &:hover { background-color: #093460; } } .btn-pf { background-color: #146960; &: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); } .line { width: 100px; height: 1px; } p { font-weight: bolder; } } } } .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 screen and (max-width: 768px) { .main-container { bottom: 25%; } } @media screen and (max-width: 992px) { .main-container { bottom: 25%; } }