@import url('https://fonts.googleapis.com/css?family=Italiana:700');

body::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: montserrat, sans-serif;
    background-color: #d3ba56;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    font-family: "roboto";
    user-select: none;
    background-image: url('../Images/texture.png');
}

/* 
#############################################################################################################################################
Header / Display
#############################################################################################################################################
*/

.Display {
    grid-row: 1;
    position: relative;
}

.BackgroundImage {
    width: 100%;
    height: auto;
    display: block;
}

.Header {
    position: absolute;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.TopBar {
    background-color: #566E3D;
    height: clamp(40px, 7vh, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: "italiana";
    border-top-left-radius: 1.11vw;
    border-top-right-radius: 1.11vw;
}

.BottomBar {
    background-color: #566E3D;
    margin-top: 0.93vh;
    height: auto;
    padding: 1vh 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 60px);
    box-shadow: 0 0.37vh 0.56vh rgba(0,0,0,0.3);
    border-bottom-left-radius: 1.11vw;
    border-bottom-right-radius: 1.11vw;
}

.Logo {
    position: absolute;
    left: 2.08vw;
    font-size: clamp(28px, 4vw, 60px);
    color: #F07A22;
    font-family: "Just Me Again Down Here";
}

.SiteTitle {
    font-size: clamp(18px, 3vw, 48px);
    color: #B9A44C;
}

.SiteTitle a {
    color: #B9A44C;
    text-decoration: none;
    transition: all 0.3s ease;
}

.SiteTitle a:hover {
    color: #8d7c39;
    transform: scale(1.05);
}

.BottomBar a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: clamp(14px, 1.5vw, 26px);
    padding: clamp(5px, 1vh, 12px) clamp(10px, 3vw, 40px);
    font-family: "italiana";
    position: relative;
    transition: all 0.3s ease;
}

.BottomBar a:hover {
    color: antiquewhite;
    transform: scale(1.05);
}

.BottomBar a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.56vw;
    top: 0.46vh;
    height: 4.63vh;
    width: 0.10vw;
    background-color: #E9DFA4;
}

.Header h {
    padding-top: 50px;
    color: #0C4767;
    font-size: clamp(16px, 2vw, 32px);
    margin: 0;
}

.Header h1 {
    color: #0C4767;
    font-size: clamp(32px, 6vw, 64px);
    margin: 0;
}

/* 
#############################################################################################################################################
Main Content
#############################################################################################################################################
*/

.Main {
    grid-row: 2;
    justify-content: center;
}

.HeadText {
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
    color: #FFFFFF;
    font-size: clamp(28px, 7vw, 72px);
}

.Paragraph {
    text-align: center;
    margin-left: 50px;
    margin-right: 50px;
    color: #FFFFFF;
    font-size: clamp(16px, 4vw, 36px);
}

/* 
#############################################################################################################################################
Boxes
#############################################################################################################################################
*/

.Boxes {
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 5vw, 60px);
    padding: clamp(20px, 5vw, 60px) 20px;
    background-color: transparent;
}

.Box {
    flex: 1 1 clamp(260px, 30vw, 360px);
    height: 300px;
    width: 400px;
    background-color: #5E6F3F; 
    border-radius: 16px;
    border: 3px solid #3F5223;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.Box:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    border-color: #A9C97F;
}

.BoxTop {
    flex: 1;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
}


.BoxTop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.BoxLink {
    text-decoration: none;
    color: inherit;
    display: block;
}

.BoxText {
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: clamp(18px, 2.5vw, 28px);
    color: #FFFFFF;
    text-align: center;
    padding: 0 10px;
    background-color: transparent;
}

.BoxText .Arrow {
    margin-left: 12px;
    font-size: clamp(20px, 3vw, 30px);
    transition: transform 0.35s ease;
}

.Box:hover .Arrow {
    transform: translateX(8px);
}

/* mobile fix: stack boxes */
@media (max-width: 900px) {
    .Boxes {
        flex-direction: column;
        align-items: center;
    }

    .Box {
        width: 80vw !important;
    }
}

/* 
#############################################################################################################################################
FOOTER
#############################################################################################################################################
*/

.Footer {
    grid-row: 4;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
    flex-direction: column;
    overflow: hidden;
}

.FooterImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%; 
    z-index: 1;
}

.FooterContent {
    position: relative;
    z-index: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.FooterLogo {
    font-family: "Just Me Again Down Here", cursive;
    font-size: clamp(28px, 5vw, 48px);
    color: #F07A22;
}

.FooterInfo p {
    margin: 5px 0;
    font-size: clamp(14px, 2.5vw, 18px);
}

.FooterInfo a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.FooterInfo a:hover {
    color: #A9C97F;
}
