@font-face {
    font-family: 'Airstream';
    src: url('/assets/fonts/Airstream.ttf') format('truetype');
    font-weight:  normal;
    font-style: normal;
}

@font-face {
    font-family: 'Caviar';
    src: url('/assets/fonts/Caviar_Dreams_Bold.ttf') format('truetype');
    font-weight:  normal;
    font-style: normal;
}

body {
    font-family: 'Caviar', san-serif;
    margin: 0;
    padding: 0;
}

header, footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

main {
    padding: 1rem;
}

.container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ensure container doesn't exceed the max-width of the image */
}

.container img {
    width: 100%; /* Make the image take the full width of the container */
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensure the overlay takes the full width of the container */
    height: 100%; /* Ensure the overlay takes the full height of the container */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overlaytext {
    color: white;
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.container:hover .overlay {
    opacity: 1;
}

.main {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.project {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.project img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
}

.project img:hover .overlay {
    opacity: 1;
}

.brewing {
    margin-bottom: 2rem;
}

.brewing img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.travels {
    margin-bottom: 2rem;
}

.travels img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.photography {
    margin-bottom: 2rem;
}

.photography img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

header h1 a {
    font-family: 'Airstream', san-serif;
    color: white;
    font-size: 8vw;
}

header h1 a {
    color: white;
    text-decoration: none;
}

header h1 a:hover {
    color: #cccccc;
}
