html, body { font-family: 'Roboto', sans-serif; } .row { margin: 0; } p { margin: 0; } header { height: 70px; } .PBP-container { padding: 0; .PBP-header { background-color: #001529; color: #f8f8f8; display: flex; flex-direction: column; justify-content: center; align-items: start; .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 { 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; } .container { max-height: 60%; display: flex; justify-content: center; flex-direction: column; align-items: center; position: absolute; top: 20%; text-align: center; z-index: 999; .main-text-wrapper { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-bottom: 20%; 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; background-color: #001529; display: block; } } .btn-pb { background-color: #001529; color: white; font-size: 16px; font-weight: 500; margin-bottom: 25%; transition: all 0.3s; } .btn-pb:hover { background-color: #093460; } .btn-pb:active { transform: translateY(2px); padding: 4px 10px; border: none; } .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; background-color: #001529; } p { font-weight: bolder; } } } } } .PF-container { padding: 0; .PF-header { background: linear-gradient(32deg, #D05353 24%, #E58F65 100%); color: #f8f8f8; display: flex; flex-direction: column; justify-content: center; align-items: end; .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-pf { position: relative; height: calc(100vh - 70px); min-height: fit-content; img { height: 100%; object-fit: cover; width: 100%; position: relative; background-position:center; background-repeat: no-repeat; } &::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(255, 238, 229, 0.68); z-index: 1; } .container { max-height: 60%; display: flex; justify-content: center; flex-direction: column; align-items: center; position: absolute; top: 20%; text-align: center; z-index: 999; color: #D05353; .main-text-wrapper { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-bottom: 26%; 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; background-color: #D05353; display: block; } } .btn-pb { background-color: #146960; color: white; font-size: 16px; font-weight: 500; margin-bottom: 25%; transition: all 0.3s; } .btn-pb:hover { background-color: #0e4f47; } .btn-pb:active { transform: translateY(2px); padding: 4px 10px; border: none; } .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; background-color: #D05353; } p { font-weight: bolder; } } } } }