/* General styling */
body {
    margin: 0;
    padding: 0;
    font-family: "Lora", serif;
    overflow-x: hidden;
    background-color: #e8dcd0;
}

h1 {
    text-align: center;
    margin: 0;
    margin-bottom: 20px;
}

p {
    text-align: center;
    margin: 0;
}

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

a:hover {
    cursor: pointer;
}
    
a:visited {
    text-decoration: none;
    color: black;
}

hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: black; 
    opacity: 0.25;
}

video {
    width: 100%;
    height: auto;
    max-width: 100%;
}

table {
    margin-bottom: 25px;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #808080;
    padding: 8px;
    text-align: center;
}

tr:nth-child(even){background-color: #f0e9e1;}
tr:nth-child(odd){background-color: #f9f6f2;}

tr:hover {
    background-color: #e8dcd0;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #D4C7B2;
    color: black;
}

select {
    padding: 8px 15px;
    border: 1px solid #808080;
    border-radius: 8px;
    background-color: #e8dcd0;
    color: black;
    font-size: 12px;
}

select:hover {
    background-color: #D4C7B2;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* App bar styling */
.app_bar {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1000;
    height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
    background-color: #e8dcd0;
}

.app_bar .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
}

.app_bar i {
    font-size: 20px;
}

img {
    width: 100%;
}

.hero_image {
    margin-top: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

/* Side navigation bar styling */
.side_navigation_bar {
    position: fixed;
    top: 0;
    left: 0;
    width:80%;
    height: 100%;
    background-color: #e8dcd0;
    transform: translateX(-110%);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow-x: hidden;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .side_navigation_bar {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .side_navigation_bar {
        width: 40%;

    }
}

.side_navigation_bar_content {
    padding: 50px 15px;
    margin-bottom: 100px;
}

.side_navigation_bar_tile {
    display: flex;
    flex-direction: row;
    width: 100%;
    font-size: 30px;
    padding: 10px;
}

.side_navigation_bar img {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.side_navigation_bar p {
    font-size: 26px;
}

.selected_page {
    background-color: #D4C7B2;
}

.side_navigation_bar_tile:hover {
    cursor: pointer;
}

.expandable_side_navigation_bar_tile_parent {
    display: flex;
    flex-direction: row;
    width: 100%;
    font-size: 30px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

.expandable_side_navigation_bar_tile_parent:hover {
    cursor: pointer;
}

.expandable_side_navigation_bar_tile_parent i {
    font-size: 20px;
    padding-right: 20px;
}

.expandable_side_navigation_bar_tile_content {
  	padding-left: 20px;
    max-height: 0;
  	pointer-events: none;
    opacity: 0;
    transition: max-height 0.75s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease-in-out;
}

.expandable_side_navigation_bar_tile.open .expandable_side_navigation_bar_tile_content {
    max-height: 750px;
    opacity: 1;
  	pointer-events: all;
}

#open_expandable_side_navigation_bar_tile_icon {
    display: block;
}

#close_expandable_side_navigation_bar_tile_icon {
    display: none;
}

.expandable_side_navigation_bar_tile.open #open_expandable_side_navigation_bar_tile_icon {
    display: none;
}

.expandable_side_navigation_bar_tile.open #close_expandable_side_navigation_bar_tile_icon {
    display: block;
}

#close_side_navigation_bar_button {
    display: none;
    font-size: 25px;
    margin-left: 15px;
}

#open_side_navigation_bar_button {
    display: block;
    font-size: 25px;
    margin-left: 15px;
}

#open_profile_menu_button {
    display: block;
    font-size: 25px;
    margin-right: 15px;
}

#close_profile_menu_button {    
    font-size: 25px;
    display: none;
    margin-right: 15px;
}

.blurred {
    filter: blur(5px);
}

.disable_interactions {
    pointer-events: none;
}

#profile_menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    border-radius: 5px;
    background-color: #e8dcd0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: hidden;
    margin: 60px 10px;
    padding: 15px;
    text-align: center;
}

#profile_menu a:hover {
    cursor: pointer;
}

#profile_menu input {
    all: unset; 
    cursor: pointer;
}

/* Change password modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.modal_content {
    position: relative;
    margin-left: 50px;
    margin-right: 50px;
    background: #e8dcd0;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.modal_header {
    display: flex;
    width: 100%;
    justify-content: end;
}

#close_password_modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.modal_content h2 {
    margin-bottom: 20px;
}

.modal_content label {
    display: block;
    font-size: 16px;
    text-align: left;
    padding: 0;
}

.modal_content input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Generic button styling */

.button {
    font-family: "Lora", serif;
    font-weight: 600;
    padding: 15px;
    background-color: #D4C7B2;
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.button-std {
    font-family: "Lora", serif;
    font-weight: 600;
    padding: 15px;
    background-color: #D4C7B2;
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* Page content styling */
.page_content {
    padding: 30px;
}

@media(min-width: 600px ) {
    .page_content {
        padding-left: 100px;
        padding-right: 100px;
    } 
}

@media(min-width: 1025px ) {
    .page_content {
        padding-left: 300px;
        padding-right: 300px;
    } 
}

@media(min-width: 1401px ) {
    .page_content {
        padding-left: 500px;
        padding-right: 500px;
    } 
}

@media(min-width: 1601px ) {
    .page_content {
        padding-left: 600px;
        padding-right: 600px;
    } 
}

@media(min-width: 1801px ) {
    .page_content {
        padding-left: 700px;
        padding-right: 700px;
    } 
} 

@media(min-width: 2001px ) {
    .page_content {
        padding-left: 800px;
        padding-right: 800px;
    } 
}

/* Form return types */
.success {
    color: green;
}

.error {
    color: red;
}

.hyperlink {
	text-decoration: underline;
}

.card_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    background-color: #D4C8B2;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.card p {
    margin: 0;
    padding: 15px;
    font-size: 1rem;
    color: black;
    background-color: #D4C8B2;
}

.password-container { 
    position: relative; 
    width: 100%; 
} 

.password-container input { 
    width: 100%; 
    padding-right: 40px; 

} 

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #000;
    padding-bottom: 8px;
} 

.toggle-password:focus { 
    outline: none; 
}

.action_button_bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.action_button_bar .button {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
}

.button_bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.space_between {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.radio_button_group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.radio_button_group input {
    width: 20px;
    height: 20px;
    border: 2px solid #879EBE; /* border color */
    border-radius: 50%;
    margin: 0px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.radio_button_group input:hover {
    cursor: pointer;
}

.rsvp_closed_ribbon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #D4C7B2;
    color: black;
    margin-top: -5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}