html, body {
    font-family: 'Literata', Georgia, serif;
    background-color:  #6b63b5;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: fit-content;
    position: absolute;
}

/*****************************************************************************************************************/
/************************************* First Body: Header Content Section ****************************************/
/*****************************************************************************************************************/

#Page_Header {
    background-color:  #6b63b5;
    color: #e7ddfde8;
    width: 100%;
    min-height: 6vh;
    max-height: 20vh;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: clamp(8px,2.5vw,16px);
    font-weight: 400;
    text-decoration: none;
    text-align: center; 
    overflow: hidden;
}

.Page_Header_Buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 2px;
}
.Page_Header img {
    width: 20px; /* Set the width of the images */
    height: 20px; /* Maintain aspect ratio */
    margin-left: 5vw; /* Add margin around the images */
    margin-right: 1vw; /* Add margin around the images */
}

#Page_Header a, #Page_Header a:visited, #Page_Header a:hover, #Page_Header a:active {
    text-decoration: none;
    color: #fff;
    align-items: center;
    justify-content: space-around;
    outline: none;
}

#Page_Header nav {
    display: flex;
    flex-direction: row;
}

#Page_Header_Advance_Search, #Page_Header_Syntax, #Page_Header_Sets {
    margin-left: 20px;
    margin-right: 20px;
    outline: none;
}

#search_input {
    min-width: 100px;
    max-width: 80vw;
    width: 400px; /* Change this value to adjust the width */
    height: 36px; /* Change this value to adjust the height */
    opacity: 0.6; /* Set the opacity */
    border-radius: 5px; /* Change this value for corner radius */
    padding: 0 10px; /* Optional: add padding inside the button */
    background-color: rgba(0, 0, 0, 0.25); /* Set the background color */
    color: rgba(255, 255, 255, 1);
    font-family: 'Arial', sans-serif;
    font-size: 14px; /* Optional: adjust font size */
    border: none; /* Optional: add a border */
    outline: none;
    margin: 2px;
}

#search_input::placeholder {
    color: rgba(255, 255, 255, 1); /* Colour of placeholder text */
    font-family: 'Arial', sans-serif;
}

#search_button:hover {
    background-color: hsl(246, 47%, 46%); /* Change background color on hover */
}

/*****************************************************************************************************************/
/************************************* Second Body: Body Content Section ****************************************/
/*****************************************************************************************************************/

.Card_Display_Body {
    background-color: #e8e8e4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 74vh;
    height: fit-content;
    padding: 20px;
}

.Card_Display_Body_Card_Display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 74vh;
    height: fit-content;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    gap: 20px; /* Add gap between the card image and info */
}

.Card_Display_Body_Card_Display_Side {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.Card_Display_Body_Card_Display_Image img {
    height: 50vh;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease; /* Smooth transition */
}

.horizontal {
    transform: rotate(90deg);
}

.Card_Display_Body_Card_Display_Info {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.Card_Display_Body_Card_Display_Info h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

.Card_Display_Body_Card_Display_Info p {
    margin: 5px 0;
    font-size: 1rem;
    color: #555;
}

.Card_Display_Body_Card_Display_Info span {
    font-weight: bold;
    color: #333;
}

/* Media query for mobile devices */
@media (pointer:none), (pointer:coarse) {
    .Card_Display_Body_Card_Display {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .Card_Display_Body_Card_Display_Info {
        flex: 2;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }


    .Card_Info_Card
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

}

/*****************************************************************************************************************/
/************************************* Third Body: Footer Content Section ****************************************/
/*****************************************************************************************************************/

#Page_Footer {
    background-image: url('Images/Temp_Images/feathers@3x.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 20vh;
    height: fit-content;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Remove underline for all links in the specified sections */
.Page_Footer a {
    text-decoration: none; 
    color: #e8e8e4;
}

#Page_Footer::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute; /* Position relative to the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(107, 99, 181, 0.5);
    z-index: 0; /* Ensure pseudo-element is above the image */
}

.Page_Footer_Links {
    display: flex;
    flex-direction: row;
    z-index: 2;
    color: #e8e8e4;
    text-decoration: none;
}

.Page_Footer_Links h2 {
    margin: 0;
    border-bottom: 2px solid rgba(107, 99, 181, 0.5);
    font-family: Literata;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
}

.Page_Footer_Find_Cards, .Page_Footer_Accio, .Page_Footer_Socials {
    width: 12Vw;
    height: 10vh;
    margin: 0 2vw 0 2vw;
    font-family: Literata;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--white-100);   
}

.Page_Footer_Find_Cards nav, .Page_Footer_Accio nav, .Page_Footer_Socials nav {
    display: flex;
    flex-direction: column;
    font-family: Arial;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
}

.Page_Footer_Find_Cards nav a, .Page_Footer_Accio nav a, .Page_Footer_Socials nav a {
    text-decoration: none; 
    color: #e8e8e4;
}

.Page_Footer_Copyright_Disclosure, .Page_Footer_Copyright_Disclosure p {
    width: 50vw;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-decoration: none;
    text-align: center;
    font-family: Literata;
    font-style: normal;
    margin: 0;
    color: #e8e8e4;
    z-index: 2;
    overflow: hidden;
}


.Card_Info_Card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    width: 60%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.Card_Info_Header {
    height: 4px;
    background-color: #6b63b5;
    width: 100%;
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

.Card_Info_Row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.Card_Info_Row:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.card-info {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.card-info span {
    font-weight: bold;
    color: #333;
}

#card-name span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}
