
/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-image: url('../img/background.jpg'); /* Path to your image */
    background-size: cover; /* Cover the entire page */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* This keeps the background image fixed during scrolling */
    height: 100%; /* Ensure the body covers the full height of the page */
    margin: 0; /* Remove default margin */
}


.main-content-container {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
    'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    /*color: #333;*/
    /*background-color: rgba(255, 255, 255, 0);*/
    padding: 20px;
    /*margin: 20px auto; !* This centers the container *!*/

    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content */
    width: 100%; /* Use the full width */
    max-width: 100%; /* Ensure no restriction on max-width */
    color: var(--text-white);
    margin: 30px auto;

}


.profile-container-inner {
    display: grid;
    /*grid-template-columns: repeat(2, 1fr); !* Adjust the minmax() values as needed *!*/
    /*grid-template-columns: auto 1fr;*/
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); /* Two columns, each taking up half the space */
    grid-template-rows: auto; /* Adjust the minmax() values as needed */

    justify-content: center; /* Center the boxes overall */
    align-content: start; /* Vertically center grid items, if there's space */
    justify-items: center; /* Center grid items along the row */

    width: 80%; /* Use the full width to allow start alignment */
    max-width: 900px; /* Max width to contain the grid */
    row-gap: 30px; /* Adjust this value to increase the space between rows */
    column-gap: 0px;

    /* Center the grid in the page */
    margin: 20px 94px 50px;

}


.profile-pic, .work-schedule-table {
    align-self: stretch; /* Stretch the items to fill the container */
}

.profile-pic {
    grid-row: 1 / 3;
    grid-column: 1 / 2; /* Profile picture takes up the first column */
    width: 100%;
    height: auto; /* (or 100%) adjust this value as needed to increase the height or 100% */
}

.profile-pic img {
    width: 100%;
    height: auto; /* (or 100%) adjust this value as needed to increase the height or 100% */
    max-width: 400px;
    aspect-ratio: 3 / 3.8; /* Adjust the width/height ratio as needed */
    object-fit: cover; /* This ensures the image covers the area without distorting its aspect ratio */
}


.content-container-inner .girl-name {
    color: var(--ad-text-color-pink); /* Adjust the color as needed */
    font-family: 'Playball', cursive;
    font-size: 3.5rem;
    text-align: center; /* Center the text horizontally */
    margin: 0 auto;
}

.profile-table {
    grid-row: 1 / 2;
    grid-column: 2 / 3; /* This will make the .profile-table occupy the second column */
    width: 85%;
    justify-self: right; /* Aligns the table to the right within the grid cell */
}

.work-schedule-table {
    grid-row: 2 / 3;
    grid-column: 2 / 3; /* This will make the .profile-table occupy the second column */
    width: 85%;
    justify-self: right; /* Aligns the table to the right within the grid cell */
    align-self: end;
}

.work-schedule-table table,
.profile-table table{
    border-collapse: collapse;
    width: 100%;
    margin-top: 0; /* Align the top of the table with the top of the image */
    border: 1px solid #ddd; /* Adds a light border to the table */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.work-schedule-table th,
.profile-table th {
    background-color: var(--ad-text-color-pink-dark); /* Pink background or any color you prefer */
    color: white; /* White text for contrast */
    font-size: 24px; /* Larger font size for the title */
    text-align: center; /* Center the title text */
    padding: 10px 0; /* Padding for the title cell */
    border: 1px solid #ddd; /* Light border for the header */
}

.work-schedule-table td,
.profile-table td {
    text-align: left; /* Aligns the text to the left in the cells */
    padding: 8px; /* Padding for cells */
    border-bottom: 1px solid #ddd; /* Adds a line between rows */
    font-size: 16px; /* Font size for the rest of the cells */
    /* Other styles as necessary */
}

/* Alternate row background colors */
.work-schedule-table tr:nth-child(odd) td,
.profile-table tr:nth-child(odd) td {
    background-color: rgba(241, 22, 140, 0.56); /* Light gray for even rows */
}

.work-schedule-table tr:nth-child(even) td,
.profile-table tr:nth-child(even) td {
    background-color: rgba(241, 22, 140, 0.07); /* White for odd rows */
}

/* Border styles for cells */
.work-schedule-table tr td:first-child,
.profile-table tr td:first-child {
    border-right: 1px solid #ddd; /* Adds a line between the attribute and value cells */
}


.brief-intro {
    grid-row: 3 / 4;
    grid-column: 1 / 3; /* This will make the .profile-table occupy the second column */
    background-color: rgba(241, 22, 140, 0.56); /* Light gray for even rows */
    /*width: 75%;*/
    /*width: 752px;*/
    max-width: calc((100% - 30px) * 2); /* Adapt to the width of two columns minus the gap */

    color: white;
    font-family: 'Your Font Family', sans-serif; /* Replace with your actual font family */
    text-align: center;
    border: 1px solid #fff; /* White border */
    /* Spacing above and below the intro */
    padding: 20px; /* Spacing inside the intro */
    align-self: stretch;
    margin: 20% 0 5%;
}

.brief-intro h2 {
    font-size: 24px; /* Large font size for the header */
    margin-bottom: 10px; /* Spacing between header and paragraph */
}

.brief-intro p {
    font-size: 16px; /* Adjust size as needed for the paragraph */
    margin-bottom: 10px; /* Spacing between paragraphs if multiple */
}


.back-link {
    display: inline-block;
    background-color: rgba(245, 15, 139, 0.32); /* Primary color */
    color: white; /* Text color */
    text-decoration: none; /* Remove underline from link */
    padding: 10px 20px; /* Padding around text */
    border-radius: 5px; /* Rounded corners */
    font-weight: bold; /* Make text bold */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.back-link:hover, .back-link:focus {
    background-color: rgba(203, 7, 113, 0.8); /* Darker shade on hover/focus */
    color: white; /* Keep text color the same */
    text-decoration: none; /* Remove underline from link */
}


.image-fader {
    position: relative;
}

.fade-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 5s ease;
    opacity: 0;
}

.fade-img.active {
    opacity: 1;
}


/* Adjustments for mobile view */
@media (max-width: 768px) {
    .profile-container-inner {
        grid-template-columns: 1fr; /* Stack to single column */
        width: 100%;
        margin: 10px 16px 30px;
    }

    .profile-pic {
        grid-row: auto;
        grid-column: 1 / 2;
    }

    .profile-pic img {
        max-width: 100%;
        aspect-ratio: 3 / 3.8;
    }

    .profile-table {
        grid-row: auto;
        grid-column: 1 / 2;
        width: 100%;
        justify-self: center;
    }

    .work-schedule-table {
        grid-row: auto;
        grid-column: 1 / 2;
        width: 100%;
        justify-self: center;
    }

    .brief-intro {
        grid-column: 1 / 2;
        margin: 20px 0 5%;
    }

    .content-container-inner .girl-name {
        font-size: 2.4rem;
    }

    .profile-table th,
    .work-schedule-table th {
        font-size: 18px;
    }

    .profile-table td,
    .work-schedule-table td {
        padding: 8px;
        font-size: 15px;
    }

    .brief-intro h2 {
        font-size: 20px;
    }

    .brief-intro p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .profile-container-inner {
        margin: 8px 8px 24px;
    }

    .content-container-inner .girl-name {
        font-size: 2rem;
    }

    .profile-table td,
    .work-schedule-table td {
        font-size: 14px;
    }
}
}