@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.container {
    width: 100%;
    padding: 3em 0;
}

.container:after {
    content: "";
    display: table;
    clear: both
}

.container__centered {
    max-width: 64em;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em
}

.container__centered:after {
    content: "";
    display: table;
    clear: both
}

[data-col] {
	display: grid;
	column-gap: 4%;
}

[data-col] > div {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-self: flex-start;
}

[data-col] > .vert-align--center {
	justify-content: center;
	align-self: auto;
}

[data-col="1x2"],
	[data-col="1x3"],
	[data-col="1x4"],
	[data-col="2+1"],
	[data-col="1+2"],
	[data-col="3+1"],
	[data-col="1+3"],
	[data-col="1x5"],
	[data-col="1+4"],
	[data-col="4+1"],
	[data-col="2+3"],
	[data-col="3+2"] {
		grid-template-columns: repeat(1, 1fr);
	}

[data-col="1x2"] {
	grid-template-columns: 48% 48%;
}

[data-col="1x3"] {
	grid-template-columns: 30.66% 30.66% 30.66%;
}

[data-col="2+1"] {
	grid-template-columns: 65.34% 30.66%;
}

[data-col="1+2"] {
	grid-template-columns: 30.66% 65.34%;
}

[data-col="1x4"] {
	grid-template-columns: 22% 22% 22% 22%;
}

[data-col="3+1"] {
	grid-template-columns: 74% 22%;
}

[data-col="1+3"] {
	grid-template-columns: 22% 74%;
}

[data-col="1x5"] {
	grid-template-columns: 16.8% 16.8% 16.8% 16.8% 16.8%;
}

[data-col="1+4"] {
	grid-template-columns: 16.8% 79.2%;
}

[data-col="4+1"] {
	grid-template-columns: 79.2% 16.8%;
}

[data-col="2+3"] {
	grid-template-columns: 37.6% 58.4%;
}

[data-col="3+2"] {
	grid-template-columns: 58.4% 37.6%;
}


body {
    min-height: 100%;
	height: auto;
	position: relative;
	margin: 0;
    padding: 0;
    line-height: 1.6;
}

html,
body {
	width: 100%;
    font-size: 100%;
}

header {
    background: #f2f2f2;
    color: #000;
    text-align: center;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

img,
video {
    max-width: 100%;
    height: auto;   
    display: block; 
}

video {
    object-fit: cover;
}

/*-----------------------------------------------------------------------*\
    Typography & Icons
\*-----------------------------------------------------------------------*/

.category {
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-left: 5px solid black;
    padding-left: 12px;
    font-weight: bold;
    line-height: 1.1;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    margin: 0;
}

p {
    orphans: 2; /* Minimum number of lines at the bottom of a paragraph */
    widows: 2; /* Minimum number of lines at the top of a new page/column */
    word-wrap: break-word; /* Break long words if necessary */
    hyphens: auto; /* Automatically hyphenate words */
}

.thin {
    font-weight: 200;
  }

  .bold {
    font-weight: 600;
  }

  .black {
    font-weight: 800;
  }

  .italic {
    font-style: italic;
  }
  .text--primary-1 {
    color: #8c499c;
  }

.center {
    text-align: center;
    text-wrap: balance;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}


/*-----------------------------------------------------------------------*\
    Utilities
\*-----------------------------------------------------------------------*/
/* Modal container */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
    z-index: 1000; /* Ensure it appears above other content */
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content {
    position: relative;
    max-width: 80%; /* Limit the image size */
    max-height: 80%; /* Limit the image size */
    overflow: auto; /* Allow scrolling if the image is too large */
    background-color: white; /* Optional: Add a white background behind the image */
    border-radius: 8px;
    padding: 1em;
}

/* Modal image */
.modal-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close the modal when clicking outside the image */
.modal {
    cursor: pointer;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.full-width {
    width: 100%;
}

.border-none {
    border: none;
}

.auto-margins {
    max-width: 50em;
    margin-left: auto;
    margin-right: auto;
}

.no-pad {
    padding: 0;
}

.no-pad--top {
    padding-top: 0;
}

.no-pad--bottom {
    padding-bottom: 0;
}

.no-margin {
    margin: 0;
}

.no-margin--top {
    margin-top: 0;
}

.no-margin--bottom {
    margin-bottom: 0;
}

.list-style--none ul {
    list-style: none;
    padding-left: 0;
}

.padding--large {
    padding-top: 7em;
    padding-bottom: 12em;
}

.padding--medium {
    padding-top: 4em;
    padding-bottom: 4em;
}

.padding--medium a {
    color: var(--white);
}

.padding--medium a:hover {
    color: #CCC;
}


.show-less {
    overflow: hidden;
}

.show-more-container {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 40%);
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 1em 0;
}

.show-more {
    margin: 1em auto;
    -webkit-box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.25);
}

.hide,
div.hide label,
div.hide input {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
    word-wrap: normal;
}

/*-----------------------------------------------------------------------*\
    Design Elements
\*-----------------------------------------------------------------------*/
img.website-image,
video.website-image {
    width: 100%;
    height: auto;
    display: block;
}

 /* Style the image container */
 .image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Ensure the image fills the container */
.image-container img {
    display: block;
    width: 100%;
    height: auto;
}
/*-----------------------------------------------------------------------*\
    To Be Removed Later
\*-----------------------------------------------------------------------*/

/* .portfolio {
    text-align: center;
}

.projects {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project {
    border: 1px solid #ddd;
    padding: 1rem;
    width: 200px;
    text-align: center;
}

.project img {
    max-width: 100%;
    height: auto;
} */
/*-----------------------------------------------------------------------*\
    Media Queries - Keep at bottom of file.
\*-----------------------------------------------------------------------*/

/* Adjust container padding for smaller screens */
@media all and (max-width: 600px) {
    .container {
        padding: 1.5em 0 !important;
    }

    .container__centered {
        padding-left: 0.5em !important;
        padding-right: 0.5em !important;
    }

    header {
        text-align: left;
        padding: 1em;
    }

    footer {
        padding: 0.5em 0;
    }
}

/* Adjust grid layout for smaller screens */
@media all and (max-width: 800px) {
    [data-col="1x2"],
    [data-col="1x3"],
    [data-col="1x4"],
    [data-col="2+1"],
    [data-col="1+2"],
    [data-col="3+1"],
    [data-col="1+3"],
    [data-col="1x5"],
    [data-col="1+4"],
    [data-col="4+1"],
    [data-col="2+3"],
    [data-col="3+2"] {
        grid-template-columns: 100%;
    }

    .projects {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 90%;
    }
}

/* Adjust typography for smaller screens */
@media all and (max-width: 400px) {
    h1, h2, h3, h4, h5, h6, p {
        font-size: 0.9rem;
    }

    .text--primary-1 {
        font-size: 2rem;
    }

    .black {
        font-size: 3rem;
    }

    .thin {
        font-size: 1.5rem;
    }

    .italic {
        font-size: 1.5rem;
    }

    .bold {
        font-size: 2rem;
    }
}