/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

/* Header styles */
h1 {
    position: absolute;
    top: 0;
    right: 23%;
    margin: 0;
    padding: 0;
    line-height: 100vh; /* Vertically center the text */
    font-size: 5vw; /* Responsive font size based on viewport width */
    color: lime;
    animation: animate 10s linear infinite;
}

/* Link styles */
a {
    text-decoration: none;
    color: lime;
}

/* Container styles */
.container {
    width: 100%;
    height: 100vh;
    background-image: url('../ring-necked-pheasant-3713163_1920.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Navigation styles */
nav {
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

/* Card styles */
.card {
    width: 50%;
    height: 50%;
    border-radius: 10px;
    padding: 3vw; /* Responsive padding based on viewport width */
    cursor: pointer;
    margin: 2vw;
    background-size: cover;
}

/* Animation */
@keyframes animate {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    h1 {
        font-size: 8vw; /* Adjust font size for smaller screens */
    }

    .card {
        width: 90%; /* Adjust card width for smaller screens */
    }
}

/* About section styles */
.about {
    text-align: center;
    padding: 5vw; /* Responsive padding based on viewport width */
}

.about h2 {
    color: gold;
    font-size: 5vw; /* Responsive font size based on viewport width */
    background-color: black;
}

.about pre {
    color: gold;
    font-size: 1.5vw; /* Responsive font size based on viewport width */
    text-align: left;
}
