/* FONTS */

/* Define custom font faces */
@font-face {
    font-family: "BRAYA-Regular";
    src: url("../font/BRAYA-Regular.otf");
}

@font-face {
    font-family: "BRAYA-Bold";
    src: url("../font/BRAYA-Bold.otf");
}

/* Text styles for specific classes */
.text-grey {
	color: #6d747b;
}
.text-blue {
    color: #4d9aed;
}
.text-black {
	color: black;
}
.text-bold {
    font-family: "BRAYA-Bold", "Helvetica", sans-serif;
    font-weight: normal;
}
.text-regular {
    font-family: "BRAYA-Regular", "Helvetica", sans-serif;
    font-weight: normal;
}
.text-137 {
    font-size: 48px;
    font-weight: normal;
	line-height: 48px;
}
.text-59b {
    font-size: 24px;
    font-family: "BRAYA-Bold";
    font-weight: normal;
}
.text-53b {
    font-size: 20px;
    font-family: "BRAYA-Bold";
    font-weight: normal;
	line-height: 40px;
}
.text-53 {
    font-size: 20px;
    font-weight: normal;
}
.text-44 {
    font-size: 16px;
    font-weight: normal;
}
.text-36 {
    font-size: 13px;
    font-weight: normal;
}


/* GLOBAL STYLES */

/* General HTML and body styling */
html {
    -webkit-text-size-adjust: none;
	height: 100%;
	margin: 0;
}

body {
    font-family: "BRAYA-Regular", "Helvetica", sans-serif;
    font-size: 16px;
    font-weight: normal;
	height: 100%;
	margin: 0;
}

p {
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}

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


/* GRIDS & CONTAINERS */

/* Page container for central alignment */
.page-container {
    width: 100%;
    max-width: 820px;
    min-width: 360px;
	min-height: 100vh;
    margin: 20px auto;
    padding: 0px 20px;
    box-sizing: border-box;
}

/* Grid container for flexible layout */
.grid-container {
    max-width: 780px;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 0;
}


.grid-container div {
    position: relative;
    width: 100%; /* Full width of the column */
    padding-top: 100%; /* Matches the width to make it square */
}
.grid-container div img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the square while maintaining aspect ratio */
}


/* Single column responsive text grid */
.text-grid1 {
    text-align: left;
    max-width: 780px;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: minmax(320px, 1fr);
    gap: 10px;
    padding: 0;
}

/* Two column responsive text grid */
.text-grid2 {
    text-align: left;
    max-width: 780px;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 10px;
    padding: 0;
}

.text-gridfooter {
    text-align: right;
    max-width: 780px;
    margin: 100% auto 0 auto;
	min-height: auto;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: minmax(320px, 1fr);
    gap: 10px;
    padding: 0;
}


/* NAVIVAGTION */

/* Header styling for a sticky top bar */
.navbar {
    position: sticky;
    display: flex;
    justify-content: space-between;
    height: 48px;
    width: 100%;
    top: 0;
    padding: 0;
    margin: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    align-items: center;
    transition: background-color 0.3s ease;
	backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(2px);
}

/* Dropdown */
.nondropdown {
    width: 40%;
    display: block;
    text-align: center;
    align-items: center;
    cursor: pointer;
    margin: 0;
    top: 0;
    padding: 0;
}

.dropdown {
    width: 30%;
    cursor: pointer;
    text-decoration: none;
    color: black;
    align-items: center;
    margin: 0;
    top: 0;
    padding: 0;
}

/* Curtain Menu Styles */
.brayacurtain {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 1.0);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    cursor: auto;
    overflow: auto; 
}

/* Active State to Show the Curtain */
.dropdown.active .brayacurtain {
    display: block;
    transform: translateY(0);
}
.swap1, .swap2 {
    transition: color 0.3s ease, text 0.3s ease;
	font-size: 16px;
}

.braya-svg {
	height: 32px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #6d747b; /* Corrected property */
    width: 100%;
    margin: 0 0 10px 0; /* Simplified shorthand */
    padding: 0;
	appearance: none;
}
