/* ~~~~~~~~~~~~~~~~~~ */
/* ~ General Styles ~ */
/* ~~~~~~~~~~~~~~~~~~ */

body {
    font-family: System UI;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: #007bff;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-top: 0;
}

h1 {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

h2 {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

table {
  table-layout: fixed;
  max-width: 100%;
}

td {
  word-wrap: break-word;
}

ul, ol {
    list-style-position: inside;
    margin-left: 1.5em;
    padding: 0;
}

li {
    margin-bottom: 0.5em;
}

blockquote {
    margin: 1em 2em;
    padding-left: 1em;
    border-left: 4px solid #ccc;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}


/* ~~~~~~~~~~~~~~ */
/* ~~~ Layout ~~~ */
/* ~~~~~~~~~~~~~~ */

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
     background-color: white;
     padding: 2rem;
     margin-bottom: 2rem;
     border-radius: 8px;
     box-shadow: 2px 4px 10px 4px grey;
     width: 100%;
 }

.single-column-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.contact-info {
    margin-top: 1rem;
    text-align: center;
}

.contact-info a {
    display: inline-block;
    margin: 0 0.5rem;
}


/* ~~~~~~~~~~~~~~~~~ */
/* ~~~ Components ~~~ */
/* ~~~~~~~~~~~~~~~~~ */

/* Cards */
.card {
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    background-color: #5a6268;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail-container {
    position: relative;
    cursor: pointer;
}

.thumbnail {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.2s;
    border: 1px solid #ddd;
}

.thumbnail-container:hover .thumbnail {
    transform: scale(1.05);
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.thumbnail-container:hover .zoom-icon {
    opacity: 1;
}

.thumbnail-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    line-height: 1.3;
    max-width: 200px;
}

.zoom-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
}

.zoom-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background-color: white;
    transform: rotate(45deg);
    bottom: 10px;
    right: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/* ~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ Media Queries ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~ */

@media (max-width: 768px) {
    .thumbnail-gallery {
        flex-direction: column;
    }
    .thumbnail {
        width: 100%;
    }
    .card-container {
        flex-direction: column;
    }
}
.responsive-image {
  max-width: 100%;
  height: auto;
}