@font-face {
    font-family: "Timberline";
    src:
        url("fonts/Timberline.woff2") format("woff2"),
        url("fonts/Timberline.ttf") format("truetype");
    font-display: swap;
}

body {
    margin: 0;
    background-color: #181818;
    
    font-family: Tahoma, sans-serif;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
}

.hero {
    height: clamp(150px, 50vw, 400px);
    width: 100%;

    background-image: url("img/heroBackground.jpeg");
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);

    padding: clamp(0.75rem, 2.5vw, 1.5rem) clamp(1.5rem, 8vw, 5rem);
    border-radius: clamp(20px, 4vw, 35px);
}

.hero-overlay h1 {
    margin: 0;

    color: white;
    font-family: "Timberline";
    font-size: clamp(1rem, 5.5vw, 3rem);
    white-space: nowrap;
    letter-spacing: 4px;
    
    text-align: center;
}

main {
    padding: 0 2rem 3rem 2rem;
}

h2 {
    font-family: "Timberline";
    font-size: 2rem;
    letter-spacing: 0.5px;
    
    text-align: center;
}

.info p {
    text-align: center;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

@media (max-width: 900px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    border-radius: 25px;
    overflow: hidden;
    
    width: 100%;
    max-width: 500px;

    box-shadow: 0px 6px 12px rgba(0,0,0,.35);
}

.offer-card img {
    width: 100%;
    height: auto;
}


.offer-card h3 {
    margin: 15px 0 0 0;
    
    font-size: 1rem;
    font-weight: normal;
    
    text-align: center;
}

.offer-card p {
    margin: -5px 0 5px 0;
    
    font-family: "Timberline";
    font-size: 2rem;
    
    text-align: center;
}

.no-offers {
    text-align: center;
}

footer {
    padding: 0 2rem 3rem 2rem;
    
    background-color: #DDD;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

footer h3{
    margin: 30px 0 5px 0;
    
    font-family: "Timberline";
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    
    text-align: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item img {
    padding: 0.3rem;
    height: 1.4rem;
}

.contact-item a {
    padding: 5px;
    
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.opening-hours {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hours-table {
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.3rem;
    line-height: 1.4rem;
}

.hours-table td:first-child {
    padding-right: 2rem;
    text-align: left;
    white-space: nowrap;
}

.hours-table td:last-child {
    text-align: right;
    white-space: nowrap;
}