/* ==========================
    Background Image START
    ========================= */

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .bg-home {
        background-image: url(../img/kanenori-kinkakuji-temple-2328557.jpg);
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    .bg-sub {
        background-image: url(../img/kanenori-landscape-6887936.jpg);
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }
/* =====================
    Background image end
    ==================== */

/* =====================
    Font Style START
    ==================== */

/* Import font styles from Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&family=Prata&display=swap');

/* Font Classes for Website */
.prata-regular {
  font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}
/* =====================
    Font Style End
    ==================== */

/* =====================
    Link Style START
    ==================== */

    a{
        text-decoration: none;
        color: black;
    }

    a:hover {
        color: red;
    }

/* =====================
    Link Style end
    ==================== */

/* =================================
    Meeting and paragraph Style START
    ================================ */

    h1 {font-size: 6rem;}
    h2 {font-size: 5rem;}
    h3 {font-size: 4rem;}
    h4 {font-size: 3rem;}
    h5 {font-size: 2rem;}
    h6 {font-size: 1.6rem;}

    h1, h2, h3, h4, h5, h6 {
        font-family: "Prata", serif;
        font-weight: 400;
        font-style: normal;
        padding: 0;
        margin: 0;
    }

    p {
         font-family: "Prata", serif;
         font-weight: 400;
         font-style: normal;
         font-size: 1rem;
         line-height: 1.75;
         padding: 0;
         margin: 0 0 20px 0;
    }

    /* =================================
        Meeting and paragraph Style END
        =============================== */

    /* =================================
        Button Style START
        ================================ */

        .action-btn {
            background-color: rgb(150, 248, 255);
            box-shadow: 0px 0px 1.8px 1.8px rgb(0, 0, 0);
            font-family: "Lato", sans-serif;
            font-weight: 400;
            font-style: normal;
            text-decoration: none;
            font-size: 1.2rem;
            color: rgb(0, 0, 0);
            padding: 5px 15px 5px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .action-btn:hover {
            background-color: rgb(0, 157, 255);
            color: rgb(255, 230, 0);
        }

        /* =================================
        Button Style END
        =============================== */

        /* =================================
        navbar Style start
        =============================== */

        .nav-container {
            background-color: rgba(0, 0, 0, 0.7);
            box-shadow: 8px 8px 20px rgb(53, 13, 252);
            font-size:  1.2rem;
            font-family: "Lato", sans-serif;
            font-weight: 400;
            font-style: normal;
            height: 90px;
            width: 100%;
            position: sticky;
            top: 0;
        }

        .navbar {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            width: 85%;
            max-width: 1200px;
            margin: auto;
        }

        .navbar ul {
            display: flex;
        }

        .nav-container .navbar {
            justify-content: space-between;
        }

        .navbar ul li {
            list-style-type: none;
        }

        .nav-container .navbar ul li {
            padding: 0px;
            margin: 0 20px;
        }

        .nav-container h6 {
            font-family: "Lato", sans-serif;
            font-weight: 400;
            font-style: normal;
        }

        .navbar h2 {
            padding: 0px;
            margin: 0;
        }

        .navbar a {
            color: aliceblue;
            text-decoration: none;
        }

        .navbar a:hover {
            color: white;
        }

        @media screen and (min-width: 390px) and (max-width: 787px) {
        .nav-container {
            height: auto;
        }

        .nav-container .navbar {
            flex-direction: column;
        }
    }

    /* =====================
    Navbar Styles END
    =================== */

/* =========================
    Page Containers Styles START
    ============================ */

    .homepage-container {
        background-color:rgb(255, 255, 255, 0.0);
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
    }

    .homepage-container h1 {
        margin: 150px 0 -10px 0;
    }

    .subpage-container {
        background-color:rgb(255, 255, 255, 0.5);
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
        flex-grow: 1;
    }

    .grid-container {
        display: flex;
        justify-content: center;
    }

    .grid-cards {
        display: grid;
        width: 100%;
        grid-gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .grid-card {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(0, 0, 0, 0.5);
        color: #FFFFFF;
        height: 100px;
        border-radius: 10px;
        font-size: 1.2rem;
    }

    .grid-cards a:hover {
        background-color: rgb(0, 0, 0, 0.8);
        border-radius: 10px;
        color: #FFFFFF;
    }

    /* =========================
    Page Containers Styles END
    ============================ */

    /* =========================
    Subpage Content Styles START
    ============================ */

    .subpage-content {
        width: 80%;
        height: 100%;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
    }

    .photo {
        width: 45%;
        border-radius: 20px;
    }

    .subpage-content details {
        background: #f9f9f9;
        border: 1px solid #dddddd;
        border-radius: 10px;
        margin-bottom: 5px;
    }

    .subpage-content summary {
        padding: 20px;
        font-weight: bold;
        font-size: 1.1rem;
        color: #333333;
        cursor: pointer;
        outline: none;
        list-style-type: '😎 ';
        align-items: center;
        text-align: center;
    }

    .subpage-content summary:hover {
        background-color: #f0f0f0;
        border-radius: 10px;
    }

    .subpage-content details p {
        padding: 20px;
        margin: 10px;
        line-height: 1.5;
        color: #333333;
    }

    .subpage-content h2 {
        font-size: 1.5rem;
        color: #333333;
        padding-bottom: 5px;
        margin-top: 1.5rem;
    }

    .subpage-content ul {
        list-style: none;
        padding-left: 0;
    }

    .subpage-content li {
        background-color: rgb(255, 255, 255, 0.5);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .subpage-content li a {
        font-weight: bold;
        font-size: 1.2rem;
        color: red;
        text-decoration: none;
    }

    .subpage-content li a:hover {
        text-decoration: underline;
        color: #333333;
    }

    /* =========================
    Subpage Content Styles END
    ============================ */

    /* =========================
    Contact Form Styles START
    ============================ */

    form {
        font-family: "Prata", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1rem;
        line-height: 1.75;
    }

    input[type=text], select {
        width: 100%;
        padding: 20px;
        margin: 10px 0px 20px 0px;
        display: inline-block;
        border: 1px solid #333333;
        border-radius: 10px;
        box-sizing: border-box;
        font-family: "Prata", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1rem;
        line-height: 1.75;
    }

    input[type=email] {
        width: 100%;
        padding: 20px;
        margin: 10px 0px 20px 0px;
        display: inline-block;
        border: 1px solid #333333;
        border-radius: 10px;
        box-sizing: border-box;
        font-family: "Prata", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1rem;
        line-height: 1.75;
    }

    textarea {
        width: 100%;
        height: 150px;
        padding: 20px;
        margin: 10px 0px 20px 0px;
        box-sizing: border-box;
        border: 1px solid #333333;
        border-radius: 10px;
        background-color: #f8f8f8;
        resize: none;
        font-family: "Prata", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1rem;
        line-height: 1.75;
    }

    input[type=submit] {
        width: 100%;
        background-color: #0096c0;
        box-shadow: 0px 0px 3px 3px rgb(0, 0, 0, 0.2);
        font-family: "Lato", sans-serif;
        font-weight: 400;
        font-style: normal;
        text-decoration: none;
        font-size: 1.2rem;
        color: #FFFFFF;
        padding: 7px 17px 7px 17px;
        border: none;
        border-radius: 7px;
        cursor: pointer;
    }

    input[type=submit]:hover {
        background-color: #313739;
        color: #FFFFFF;
    }

    /* =========================
    Contact Form Styles END
    ============================ */

    /* =========================
    Footer Styles START
    ============================ */

    .footer-container {
        background-color: rgba(0, 0, 0, 0.6);
        height: 40px;
        width: 100%;
        padding: 20px 0px 10px 0px;
    }

    .footer-content {
        text-align: center;
        color: aliceblue;
        font-size: 0.8rem;
        font-family: "Prata", serif;
        font-weight: 400;
        font-style: normal;
    }

    /* =========================
    Footer Styles END
    ============================ */

/* =========================
    Minecraft Footer Cube (Right Side)
   ========================= */

/* Container to push the cube to the right */
.cube-alignment-wrapper {
    width: 100%;
    text-align: right;
    padding-right: 40px; /* Adjust this to move it further from the edge */
    margin-bottom: 10px; /* Space between cube and copyright line */
    box-sizing: border-box;
}

.cube-viewport-simple {
    display: inline-block; /* Allows text-align to move it */
    width: 64px;
    height: 64px;
    perspective: 1000px;
    cursor: pointer;
}

#minecraft-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotateX(-25deg) rotateY(25deg); 
}

.cube-face {
    position: absolute;
    width: 64px;
    height: 64px;
    background-size: cover;
    image-rendering: pixelated;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border: 1px solid rgba(0,0,0,);
}

/* Face Images */
.front  { transform: rotateY(  0deg) translateZ(32px); background-image: url('../img/grass.jpg'); }
.back   { transform: rotateY(180deg) translateZ(32px); background-image: url('../img/red.jpg'); }
.right  { transform: rotateY( 90deg) translateZ(32px); background-image: url('../img/lava.jpg'); }
.left   { transform: rotateY(-90deg) translateZ(32px); background-image: url('../img/cobb.jpg'); }
.top    { transform: rotateX( 90deg) translateZ(32px); background-image: url('../img/skulk.jpg'); }
.bottom { transform: rotateX(-90deg) translateZ(32px); background-image: url('../img/nether.jpg'); }