/* General */
*{ font-family: Verdana, Helvetica, Arial, sans-serif;}
button, input, select, textarea, td {
	font-family: inherit;
	font-size: 10pt;
}

body {
    padding: 20px;
	height: 100%
}
body.allsaints {
    background: #c8d2d2;
}
body.stjohns {
    background: #cfdeed;
}
body.group {
    background: #d1e5bd;
}

h1 {
	color: darkgray;
}

.allsaints {
    color: #643c46;
}
.stjohns {
    color: #143c6e;
}
.announce {
    background: #d1e5bd;
    border: #001446;
    border-radius: 8px;
    font-weight: bold;
    height: 200%;
}

p {color: #404040;}
.warning {font-size: 70%; color: red; }
.error {color: red; }
.center {
  margin-left: auto;
  margin-right: auto;
}
.scripture-quote {
    text-align: center;
    font-size: large;
}
hr.blueline {
	background-color: darkblue;
	height: 5px;
	border: none;
}
.vertical-bar {
    width: 30px;
    height: 200px;
    background-color: #f0f0f0;
}

/* Landing Page */
.welcome {
    background: #f0f0f0;
    padding: 50px;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 100px;
    box-sizing: border-box;
}
.welcome-rector {
    flex: 2;
	text-align: center;
}
.welcome-churches {
    flex: 6;
	text-align: center;
}
.churches-container {
   background: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    /* margin: 20px; */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 100px;
    box-sizing: border-box;
}
.church {
    flex: 1;
	text-align: center;
}
/* @media (max-width: 600px) {
    .welcome,
    .churches-container,
    .inset {
        flex-direction: column;
        gap: 20px;
    }
}
 */  /* Container for image and text */
  .image-container {
    position: relative; /* Needed for absolute positioning of text */
    display: inline-block;
    max-width: 100%;
  }


  /* The image itself */
  .image-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px; /* Optional rounded corners */
  }

  /* Text overlay */
  .overlay-text {
    position: absolute;
    top: 80%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    color: white;
    /* font-size: 2rem; */
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    padding: 10px 20px;
    border-radius: 5px;
	width: 91.5%;
  }
/* Use CSS Grid for columns */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 100px;
	width: 70%;
	place-items: center;
	place-content: center;
}
.tile {
    flex: 1;
	text-align: center;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.full-width {
    grid-column: span 5;
}

.full-height {
	grid-row: span 3;
}



/* Banner display */
.banner-allsaints {
    padding: 0px;
	display: flex; 
	width: 100%;
    border: 0px solid #643c46;
    background-color: #c8d2d2;
	align-items: center;
	justify-items: left;
}
.banner-stjohns {
    padding: 0px;
	display: flex; 
	width: 100%;
    border: 0px solid hsl(345, 25%, 31%);
    background-color: #cfdeed;
	align-items: center;
	justify-items: left;
}
.banner-group {
    padding: 0px;
	display: flex; 
	width: 100%;
    border: 0px solid #643c46;
    background-color: #d1e5bd;
	align-items: center;
	justify-items: left;
}
.banner-box-1 {
	flex: 1;
	text-align: center;
}
.banner-box-2 {
	flex: 10;
}
.banner-box-4 {
	flex: 2;
	text-align: center;
}
.inset {
    padding: 0;
    display: flex;
    width: 100%;
    border: 0px solid #643c46;
    align-items: center;
}
.inset-smaller {
    flex: 1;
}
.inset-bigger {
    flex: 4;
}
.banner-headline-allsaints {
	font-size: 14pt;
    color: #643c46;
    font-weight: bold;
}
.banner-tagline-allsaints {
	font-size: 10pt;
    color: #55444a;
    font-weight: bold;
}
.banner-sister-allsaints {
	font-size: 9pt;
    color: #001446;
    font-weight: bold;
}
.banner-headline-stjohns {
	font-size: 14pt;
    color: #001446;
    font-weight: bold;
}
.banner-tagline-stjohns {
	font-size: 10pt;
    color: #143c6e;
    font-weight: bold;
}
.banner-sister-stjohns {
	font-size: 9pt;
    color: #55444a;
    font-weight: bold;
}

/* Footer display */
.footer {
    padding: 0px;
	display: flex; 
	width: 100%;
    border: 0px solid #b42424d6;
    background-color: #fff;
	align-items: center;
	justify-items: left;
}
.footertext {
    font-size: small;
    color: #404040;
    text-align: center;
}
.footertext-notice {
    font-size: medium;
    color: #404040;
    text-align: center;

}
a.footera {
	color:#404040;
}
a.footera:hover { color: black}


@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .welcome {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        margin: 10px;
    }

    .churches-container {
        flex-direction: column;
        gap: 30px;
        padding: 15px;
    }

    .inset {
        flex-direction: column;
    }

    .inset-smaller,
    .inset-bigger,
    .church,
    .welcome-rector,
    .welcome-churches {
        width: 100%;
        text-align: center;
    }

    .banner-group,
    .banner-allsaints,
    .banner-stjohns {
        flex-direction: column;
        text-align: center;
    }

    .overlay-text {
        width: auto;
        left: 50%;
        right: auto;
    }
}