@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS';
    font-style: italic;
}

body {
    background: rgb(31, 31, 31);
    color: #ffffff;
    line-height: 1.6;
}

.hero {
    height: 100vh;
    background: url('../hof-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

.container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container img {
    border-style: ridge;
    border-width: 3px;
    border-color: gold;
    border-radius: 7px;
    max-width: 60%;
    height: auto;
    filter: brightness(0.8);
    transition-duration: 0.6s;
}

.container img:hover {
    filter: brightness(1);
}

.description {
    margin-top: 25px; 
    margin-bottom: 30px;
    font-size: 18px;
}

.back-link {
    font-family: "Space Grotesk", serif;
    position: absolute;
    top: 25px;
    left: 30px;
    text-decoration: none;
    font-style: normal;
    color: white;
    z-index: 1;
    font-size: 1.3rem;
}

.back-link:hover {
    text-decoration: underline;
}

.fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.fullscreen img {
    max-width: 80%;
    max-height: 70%;
}

.fullscreen p {
    color: white;
    padding-top: 30px;
    max-width: 45%;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 10px 30px 30px 30px;
}

@media (max-width: 500px) {
    .hero {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-position-x: 10%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .container img {
        max-width: 100% !important;
    }

    .fullscreen p {
        max-width: 80% !important;
    }
}