@font-face {
    font-family: 'Minecraft';
    src: url('font/minecraft/minecraft_font.woff') format('truetype');
}
body {
    font-family: 'Minecraft', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url(img/cynhaven.png) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;    
    position: relative;
}
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;}
video {
    display: inline-block;
    margin: 20px auto;
    width: 100vw;
}
header {
    background-color: #C2995F;
    color: rgb(255, 255, 255);
    text-align: center;
    height: 20vh;
    width: 100vw;
    z-index: 5;
}
#main {
    margin-bottom: 20vh;
    height: auto;
}
#mpmain {
    flex: 1;
    width: 100vw;
}
#mainpagelogo {
    display: block;
    margin: 15vh auto;
    width: 35vw;
}
#currentpage {
    background-color: #aa6c15;
    padding: 0 20px 0 20px;
    border-radius: 10px;
}
#info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: absolute;
    bottom: 10vh;
    height: auto;
    width: 100vw;
    border-radius: 10px;
    transition: transform 0.3s ease, border 0.3s ease;
    transform-origin: left center;
}
#info p {
    max-width: 600px;
    text-align: center;
}
nav {
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
nav ul {
    border-radius: 10px;
    background-color: #be8a41;
    list-style-type: none;
    margin: 20px;
    padding: 0 10px 0 10px;
    display: flex;
    flex-direction: row;
    gap: 80px;
}
li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
}
li a:hover {
    text-decoration: underline;
}
#port, #addr {
    cursor: pointer;
}
footer {
    position: absolute;
    bottom: 0;
    background-color: #C2995F;
    color: white;
    text-align: center;
    height: 10vh;
    width: 100vw;
    z-index: 5;
}
#joindiv {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px;
}
/* gallery page stuff */
#galleryinfo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    height: 5vh;
}
#gallery{
    box-sizing: border-box;
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    padding: 20px;
    gap: 40px;
    width: 80vw;
    height: 75vh;
    border: 2px solid #C2995F;
    overflow-y: scroll;
}
.gallery_item {
    position: relative;
    width: 200px;
    height: 150px;
    border: 2px solid #C2995F;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.gallery_item:hover {
    border-color: #aa6c15;
    transform: scale(1.05);
    cursor: pointer;
}
.gallery_item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.gallery_item_info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
    color: white;
    text-align: center;
    z-index: 2;
}
.gallery_item_info h1 {
    margin: 0;
    font-size: 16px;
}
.gallery_item_info p {
    margin: 5px 0 0;
    font-size: 14px;
}
.gallery_item_info p {
    margin: 5px 0 0 0;
    font-size: 14px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    padding: 20px;
}
.overlay img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #C2995F;
}
/* the team page */
#teaminfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: absolute;
    top: 20vh;
    height: 10vh;
    width: 100vw;
    border-radius: 10px;
}
#team {
    box-sizing: border-box;
    position: absolute;
    top: 25vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100vw;
    height: 65vh;
    overflow-y: scroll;
    border: 2px solid #C2995F;
    margin-bottom: 10vh;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.750);
}
.team_member {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 90vw;
    height: auto;
    border: 2px solid #C2995F;
    border-radius: 10px;
    padding: 20px;
}
.quote {
    font-style: italic;
    margin-top: 10px;
    font-size: 50px;
}
.desc {
    margin: 5px 0 0 0;
    font-size: 20px;
}
.team_member h1 {
    font-size: 30px;
}
.teampfp{
    height:250px;
    margin-right: 20px;
    object-fit: cover;
}

/* FAQ */
#faqinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: absolute;
    top: 20vh;
    height: auto;
    width: 100vw;
    border-radius: 10px;
}
#faqcontainer {
    box-sizing: border-box;
    position: absolute;
    top: 25vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100vw;
    height: 65vh;
    overflow-y: scroll;
    border: 2px solid #C2995F;
    margin-bottom: 10vh;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.750);
}
.faq {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 90vw;
    height: auto;
    border: 2px solid #C2995F;
    border-radius: 10px;
    padding: 20px;
}
/* gamemodes */
#gamemodesinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: absolute;
    top: 20vh;
    height: auto;
    width: 100vw;
    border-radius: 10px;
}