* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Texturina:ital,opsz,wght@0,12..72,100..900;1,12..72,100..900&display=swap');

.background {
    background: rgb(0, 0, 0);
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(41, 26, 26, 1) 49%,
        rgba(60, 40, 26, 1) 64%,
        rgba(97, 72, 41, 1) 78%,
        rgba(190, 129, 40, 1) 99%,
        rgba(164, 108, 25, 1) 100%
    );
    position: absolute;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    max-height: 100vh;
    z-index: -1;
    overflow: auto;
}

header {
    padding: 20px 10%;
    width: 100%;
}

#header_h1 {
    font-size: 4em;
    text-align: center;
    margin-bottom: 0;
    color: #b87e28;
    text-shadow: -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000,
        3px 3px 0 #000;
}

#header_small {
    font-size: 1.5em;
    text-align: center;
    color: white;
    margin-top: 0;
}

#gallery_header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #b87e28;
    overflow-x: auto;
}
#gallery_header h1 {
    font-size: 5em;
    margin-bottom: 0;
    padding-top: 37px;
    color: #b87e28;
    text-shadow: -4px -4px 0 #000, 4px -4px 0 #000, -4px 4px 0 #000,
        4px 4px 0 #000;
}

#h_pos {
    position: relative;
    top: 30px;
    margin-bottom: 60px;
}

#content {
    background: rgba(0, 0, 0, 0.192);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    height: 80%;
    width: min(50vw, 1000px);
    height: min(70vh, 900px);
    position: relative;
    top: 50px;
    left: auto;
    overflow: auto;
}

#content h1 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 0;
    color: #b87e28;
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000,
        2px 2px 0 #000;
}

#content p {
    font-size: 1.5em;
    line-height: 1.5;
    padding: 20px;
    color: white;
    z-index: 2;
}

#content::-webkit-scrollbar {
    width: 12px;
}

#content::-webkit-scrollbar-thumb {
    background-color: #b87e28;
    border-radius: 10px;
    border: 3px solid #000000;
}

#content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.192);
    border-radius: 10px;
}

.background::-webkit-scrollbar {
    width: 12px;
}

.background::-webkit-scrollbar-thumb {
    background-color: #b87e28;
    border-radius: 10px;
    border: 3px solid #000000;
}

.background::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.192);
    border-radius: 10px;
}

#main_ace {
    width: min(50vw, 600px);
    height: auto;
    position: relative;
    top: 50px;
    right: auto;
}

#About {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: space-around;
}

.sec_space {
    margin-top: 100px;
}

nav > ul > li {
    list-style-type: none;
}

#gallery_button {
    background-color: #000000;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

header > nav {
    display: flex;
    justify-content: flex-end;
    z-index: 5;
    position: relative;
    margin-top: -80px;
    margin-right: -50px;
}

#gallery_button:hover {
    background-color: #b87e28;
    color: black;
}

#home_button {
    background-color: #000000;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 20px 20px;
    cursor: pointer;
    border-radius: 5px;
}

#home_button:hover {
    background-color: #b87e28;
    color: black;
}

.texturina-font {
    font-family: 'Texturina', serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

#gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px 10px;
}

#gallery img,
video {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    height: 400px;
    max-width: 450px;
    min-width: 250px;
    max-height: 700px;
    min-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

#gallery img:hover,
video:hover {
    transform: scale(1.5);
    transition: transform 0.5s;
    z-index: 1;
}

#gallery_nav {
    display: flex;
    justify-content: flex-end;
}
