@media (max-width: 600px) {
    #hero {
        display: none;
    }
    #horizontal-bar {
        display: none;
    }
    #logo {
        transform: scale(70%);
    }
    #home {
        position: relative;
        height: 800px;
        margin-top: 20px;
        background-image: url("Images/pickup_camper_godot.png");
        background-size: cover;
        background-position: center;
        margin: 0;
        width: 100vw;
        min-height: 750px;
        overflow-x: hidden;
    }
    #horizontal-bar {
        height: 0px;
        z-index: -10;
        background-image: url("");
        content: "";
        display: none;
    }
}

html, body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: rgb(233, 178, 77);
  scroll-behavior: smooth;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(22, 22, 24, 0.842);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 999;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

p {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1em 0;
    list-style: none;
}

nav li {
  margin: 0 1.5em;
  font-size: 1.1em;
  cursor: pointer;
}
nav a:hover {
  color: #FFC857;
}

nav a {
    color: rgb(42, 93, 151);
}

main {
    flex: 1;
}

#home {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    /* calc(100vh - 60px); */
    margin-top: 60px;
    background-image: url("Images/pickup_camper_godot.png");
    background-size: cover;
    background-position: center;
    margin: 0;
    width: 100vw;
    min-height: 750px;
    overflow-x: hidden;

}

#horizontal-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 68px;
    background-image: url("Images/destroyed_div_vertical.png");
    z-index: 5;
    content: "";
    display: block;
    margin: 0;
}

#screenshots {
    position: relative;
    background-color: black;
    display: flex;
    justify-content: center;
    height: 80%;
    width: 100%;
    /* padding: 0; */
    min-height: 64px;
    z-index: 3;
    /* padding-left: 1em; */
    padding-bottom: 16px;
    padding: auto;
    text-align: center;
}
#screenshots p {
    margin-top: 0px;
    display: inline-block;

}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: -120px auto;
    max-width: 800px;
    width: 100%;
    min-height: 80vh;
    /* background-color: pink; */
    /* padding-left: 5em;
    padding-right: 5em; */
}

#metal-pole {
    height: 12px;
    width: 32px;
    background: linear-gradient(to right, #131318, #565664, #1a171f);
    border: 1px solid #201d1d;
    margin-top: 0px;
    margin-bottom: -15px;
    border-top: 0;
}

#trailer {
    background-color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-width: 450px;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    margin-top: 8px;
    border-radius: 4px;
    z-index: 3;
    /* margin-bottom: 162px; */
}

#trailer h2 {
    margin-top: 3px;
    margin-bottom: 3px;
}

#description {
    background-color: black;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 6px;
    margin-top: 100px;
    background-image: url("Images/rusty_texture.jpg");
    color: black;
    border: black;
    border-style: double;
    border-width: 5px;
    font-weight:400px;
    z-index: 3;
    margin-right: 1em;
    margin-left: 1em;
    /* max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word; */
}

@media (max-width: 600px) {
  #description {
    padding-left: 6px;
    padding-right: 6px;
    margin-left: 0.2em;
    margin-right: 0.2em;
    font-size: 1em;
    max-width: 100vw;
  }
}

#description .white {
    background-color: rgba(255, 252, 216, 0.555);
    border-radius: 4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 0px;
}

.special {
    color: rgba(211, 9, 9, 0.89);
}

.special-dark {
    color: rgb(211, 7, 7);
    background-color: rgba(0, 0, 0, 0.753);
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 3px;
}
#hero {
    position: absolute;
    top: 0px;
    /* right: 20vw;
    width: 20vw; */
    right: 5%;
    bottom: 25%;
    min-width: 800px;
    max-width: 350px;
    z-index: 2;
    pointer-events: none;
    transform: scale(75%);
    transform-origin: bottom right;
}

#hero img {
    overflow: hidden;
}

#logo {
    height: 124px;
    margin-top: 49px;
    display: flex;
    justify-content: center;
    min-height: 180px;
    max-height: 190px;
    margin-bottom: -28px;
}
#logo img {
    /* transform: scale(60%); */
    min-height: 128px;
}

footer {
    position: relative;
    background-color: rgba(0, 0, 0, 0.733);
    height: 40px;
    width: 100vw;
    color: rgb(240, 237, 237);
    text-align: center;
    justify-content: center;
    padding-top: 1px;
    flex-shrink: 0;
    left: 0;
    bottom: 0;
    margin: 0;
    box-sizing: border-box;
    z-index: 1000;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 0.8fr));
  gap: 1.1em;
  width: 80%;
  margin: auto;
}

.gallery a img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease-in-out;
}

.gallery a:hover img {
  transform: scale(1.05);
}

#features {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 50px;
}
#key-features {
    margin-right: 1.5em;
}

#button-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
}


.button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    background-color: #ebb54b;
    height: 64px;
    border: #FFC857;
    border-radius: 5px;
    min-width: 165px;
    border-radius: 5px;
    border-style: groove;
}

.button img {
    max-height: 32px;
}
.steam {
    background-color: rgb(88, 134, 88);
}
.itch-io {
    background-color: rgb(155, 68, 68);
}
.button a:hover {
  color: #FFC857;
}

.button a {
    color: rgb(18, 29, 43);
    display: inline-flex;
    align-items: center;
}