/* public/css/style.css */

header,
footer {
    background-color: #3498db;
    color: #333;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0px 5px;
    padding: 0px 5px;
}

header#header h1 {
    color: white;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    font-size: 42px;
    letter-spacing: 1px;
    text-shadow:
        -1px -1px 0 #012a46,
        1px -1px 0 #012a46,
        -1px 1px 0 #012a46,
        1px 1px 0 #012a46;
}

footer {
    background-color: #3498db;
    color: #333;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 5px 5px;
    padding: 5px 5px;
}

nav#header,
nav#footer {
    background-color: #3498db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center vertically within the nav container */
    margin: 0px 5px;
    padding: 0px 5px;
}

nav#footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center vertically within the nav container */
    margin: 0px 5px;
    padding: 0px 5px;
}

li#text {
    line-height: 50px;
    /* Adjust the line height based on your preference */
    font-size: 18px;
    /* Adjust the font size based on your preference */
    display: inline;
    vertical-align: bottom;
    font-family: 'verdana', sans-serif;
    /* Use Roboto font */
}

nav#header ul,
nav#footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /* Center the buttons */
}

nav#footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /* Center the buttons */
    display: inline-block;
    /* Make the list items display inline-block */
}

nav#header ul li,
nav#footer ul li {
    margin-right: 5px;
    /* Adjust margin to move the buttons closer together */
}

nav#header ul li:last-child,
nav#footer ul li:last-child {
    margin-right: 0;
    /* Remove margin from the last item to avoid extra space */
}

nav#header ul li a,
nav#footer ul li a {
    display: inline-block;
    padding: 15px 20px;
    /* Adjust padding as needed */
    text-decoration: none;
    color: #fff;
    background-color: #00bcd4;
    /* Turquoise */
    border-radius: 5px;
    transition: transform 1s ease;
    /* Use transform for rolling effect */
}

nav#header ul li a:hover,
nav#footer ul li a:hover {
    background-color: #0097a7;
    transform: rotateX(360deg);
    /* Add rotation effect on hover */
    transition: transform 0.3s ease;
    /* Transition for rotation */
}


body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    /* Slightly lighter background */
    color: #333;
    /* Darker text for better readability */
}

div {
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
}

.contents-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin-bottom: 2px;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px; /* Add padding to the top */
    padding-bottom: 10px;

}

.header-container,
.footer-container {
    background-color: #3498db;
    width: 90%;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 2px;
    padding-bottom: 10px;
}

.footer-container {
    background-color: #3498db;
    width: 90%;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

h1 {
    color: #00bcd4;
    /* Turquoise */
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    color: #555;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
}

.food-details,
.contact-form {
    max-width: 600px;
    width: 90%;
    margin: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.details-table {
    margin-top: 20px;
    max-width: 600px;
    width: 90%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f8f8;
}

.contact-form h1 {
    color: #00bcd4;
    /* Turquoise */
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button,
nav ul li a {
    display: inline-block;
    padding: 12px 10px;
    /* Adjust padding as needed */
    text-decoration: none;
    color: #fff;
    background-color: #00bcd4;
    /* Turquoise */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover,
nav ul li a:hover {
    background-color: #0097a7;
    /* Darker Turquoise on hover */
}

.footer-disclaimer {
    font-size: 12px;
    color: #666;
    /* Adjust color as needed */
    text-align: center;
    margin-top: 10px;
    /* Adjust margin as needed */
}

img.logo {
    vertical-align: bottom;
    margin-right: 20px;
    /* Adjust margin to move the logo to the left */
}

#contents {
    min-height: 510px;
    width: 100%;
    margin: 0 auto;
    margin: 0px 0px;
    padding: 0px 0px;
    position: relative;
    box-sizing: border-box;
    /* Ensure relative positioning for the absolute pagination */
}

#tagline {
    margin: 0px 0px;
    text-align: center;
    /* Center videos within the container */
    margin: 0px 5px;
    padding: 0px 5px;
}

#tagline h1 {
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    text-shadow:
        -1px -1px 0 #03426d,
        1px -1px 0 #03426d,
        -1px 1px 0 #03426d,
        1px 1px 0 #03426d;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    /* Adjust the margin as needed */
}

.pagination li {
    display: inline-block;
    margin-right: 5px;
    /* Adjust the margin between pagination items */
    vertical-align: top;
    /* Align elements to the top */
}

.pagination a,
.pagination span {
    display: inline-block;
    /* Ensure consistent height for both links and spans */
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
    background-color: #00bcd4;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #0097a7;
}

.pagination .active span {
    background-color: #0097a7;
    /* Active page background color */
}

.video {
    display: inline-block;
    width: 47%;
    /* Adjust the width as needed */
    margin: 1%;
    /* Adjust the margin between videos */
    box-sizing: border-box;
    padding: 0px 5px;
    margin: 10px 5px;
}

.video a {
    display: block;
    text-align: center;
}

.photo {
    display: inline-block;
    width: 22%;
    /* Adjust the width as needed */
    margin: 3%;
    /* Adjust the margin between photos */
    box-sizing: border-box;
    padding: 0px 5px;
    margin: 10px 5px;
}

.photo a {
    display: block;
    text-align: center;
    font-size: 13px;
}

body {
    /* Set font size relative to viewport width */
}

#contents,
.contents-container,
.header-container,
.footer-container {
    width: 90vw;
    /* Set width relative to viewport width */
}

.playable-video {
    width: 560px;
    height: 300px;
}

span#filler {
    margin-left: 30px;
    margin-right: 30px;
}

.logout-button {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .playable-video {
        width: 320px;
        height: 200px;
    }

    header,
    footer {
        margin: 0;
        padding: 10px;
        /* Add padding for better spacing on smaller screens */
    }


    nav#header ul li,
    nav#footer ul li {
        margin-right: 0;
        /* Remove margin to stack navigation items vertically */
        margin-bottom: 5px;
        /* Add margin between navigation items */
    }

    .video,
    .photo {
        width: 100%;
        /* Make videos and photos full-width on small screens */
        margin: 10px 0;
        /* Adjust margin for spacing */
    }

    #contents {
        min-height: auto;
        /* Remove minimum height */
    }


    body {
        font-size: 16px;
        /* Increase font size for better readability on mobile */
    }

    h1 {
        font-size: 24px;
        /* Adjust heading font size for mobile */
        margin-bottom: 15px;
        /* Increase margin for better spacing */
    }

    p {
        margin-bottom: 10px;
        /* Increase margin for better spacing */
    }

    nav#header ul li a,
    nav#footer ul li a {
        padding: 5px;
        /* Adjust padding for better spacing */
        text-decoration: underline;
        /* Underline the links for a more traditional look */
        border-radius: 0;
        /* Remove border-radius */
        transform: none;
        /* Remove the rotation effect */
        transition: none;
        /* Remove transition for a simpler effect */
        background-color: #3498db;
        font-size: 12px;
    }

    /* Remove non-breaking space for mobile */
    li#text::after {
        content: none;
        font-size: 0;
    }

    nav#header ul li a:hover,
    nav#footer ul li a:hover {
        background-color: #0097a7;
        align-items: center;
    }

    span#filler {
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    /* Inside the mobile media query */
    nav#header ul li a:hover,
    nav#footer ul li a:hover {
        background-color: #3498db;
        /* Change the background color on hover for mobile */
        transform: none;
        /* Remove the rotation effect */
    }

    .contents-container {
        padding-top: 20px; /* Adjust padding for better spacing on smaller screens */
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    li.page-item {

        display: none;
    }

    .page-item:first-child,
    .page-item:nth-child( 2 ),
    .page-item:nth-last-child( 2 ),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {

        display: block;
    }
}