/* Hero */ .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background-image: url(../img/hero.png); background-size: cover; background-position: center; filter: blur(5px); z-index: -1; } .hero { position: relative; min-height: 100vh; } .hero h1, .hero h4, .hero p { text-shadow: var(--shadow); } /* .hero h1 { font-family: 'Sacramento', cursive; font-size: 6rem; } */ .hero h1 { font-family: 'Sacramento', cursive; font-size: 6rem; display: flex; flex-direction: column; align-items: center; line-height: 1.2; } .hero h1 .groom, .hero h1 .bride { white-space: nowrap; } .hero h1 .ampersand { font-size: 3rem; margin: 5px 0; font-weight: 300; } .hero .groom-name, .hero .bride-name, .hero .ampersand { color: var(--pink); font-weight: bold; } .hero h4 { font-size: 1.5rem; font-weight: 300; } .hero p { font-size: 1.4rem; } /* Hero Button */ .hero a { /* color: var(--pink); */ background-color: white; box-shadow: var(--shadow); } .hero a:hover { background-color: var(--pink); color: white; } /* Laptop */ @media (max-width: 992px) { /* Hero */ .hero h1 { font-size: 5rem; } .hero h1 .ampersand { font-size: 3.5rem; } } /* Tablet */ @media (max-width: 768px) { /* Hero */ .hero h1 { font-size: 4.5rem; } .hero h1 .ampersand { font-size: 3.25rem; } } /* Mobile */ @media (max-width: 576px) { /* Hero */ .hero h1 { font-size: 4rem; } .hero h1 .ampersand { font-size: 3rem; } }