@charset "utf-8";

body {
    font-family: "Comic Sans MS", "Comic Sans", sans-serif;
}

#homepage a, #itinerary {
    font-family: arial, sans-serif
}

main {
    width: 80%;
    margin: auto;
}

figcaption {
    font-size: x-small;
    font-style: italic;
    text-align: center;
}

.caption-title {
    font-style: italic;
    font-weight: bold;
}

#todays-date {
    margin-bottom: 16px
}

#family-calendar {
    font-size: 13px;
    font-weight: bold;
    height: 47px;
    width: 34%;
}

#photo-gallery,
#photo-gallery-captions {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    justify-content: center;
    row-gap: 20px;
    margin: 20px auto;
}

.gallery-item {
    width: 100px;
    height: 100px;
    text-align: center;
    border-left: 1px solid black;
    padding: 5px 12px;
    margin: auto;
}

.gallery-item img {
    cursor: pointer;
}

.gallery-item-end {
    border-right: 1px solid black;
}

#list-two-col {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 70px;
}

#list-two-col p {
    margin: 4px 0;
}

.vacation-list {
    margin: 0 100px;
}

#itinerary {
    width: 550px;
    margin: auto;
}

#itinerary th {
    color: white;
    background-color: #0000FF;
}

.link-list p {
    margin: 0 40px;
}

.link-list p span {
    font-size: small;
}

.center {
    text-align: center;
    margin: 0 auto
}

.main-table {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
}

.blue-bg {
    background-color: #0000ff;
    color: #ffffff;
}

.link-header {
    font-weight: bold;
    margin-top: 0;
    margin-left: 10;
    margin-bottom: 5;
}

.sub-links {
    font-size: 13px;
    font-weight: 500;
}

.no-link {
    cursor: default;
}

.calendar {
    font-family: "trebuchet ms", helvetica, sans-serif;
    font-size: 12px;
    text-align: left;
    margin-left: 4;
    margin-top: 0;
    margin-bottom: 12;
    color: #000000;
}

.calendar-link {
    font-size: xx-small;
    font-weight: bold;
    margin-left: 4;
    margin-top: 3;
    margin-bottom: 12;
}

.event {
    color: red;
    font-weight: bold;
}

.footer-table {
    margin-top: 44px;
}

.footer {
    font-size: small;
    border-style: solid;
    border-color: #0000FF;
}

.blue-text {
    font-family: Arial, Helvetica, sans-serif;
    color: #3366CC;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.slideshow-container {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    color: #fff;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in;
}

.close-button {
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    position: absolute;
    top: 3%;
    right: 5%;
    z-index: 1002;
    transform: translate(-50%, -7%);
}

.slideshow-container.show {
    pointer-events: all;
    opacity: 1;
}

.slideshow-img {
    background-color: rgba(0, 0, 0, 0.95);
    max-width: 1000px;
    max-height: 1000px;
    position: absolute;
    z-index: 1001;
    top: 50%;
    left: 50%;
    padding: 40px;
    transform: translate(-50%, -50%) scale(0.5);
    transition: transform 0.3s ease-out;
}

.slideshow-img.open {
    transform: translate(-50%, -50%) scale(1);
}

.hide {
    display: none;
}