* {
	padding: 0px;
	margin: 0px;
        box-sizing: border-box; 
}

html {
	overflow-y:scroll;
}

#schedlink {
	float: right;
	height: 150px;
	line-height: 150px;
	margin: 0px 20px;
	text-decoration: none;
}

#schedlink span, button {
	border-radius: 0.5vh;
	transition-duration: 0.5s;
	cursor: pointer;
}

#schedlink span:hover, button:hover {
	background-color: maroon;
	color: white;
}

#textwrapper {
	margin: 40px 0px;
	float: right;
	width: 50%;
}

#edit_search {
        all: unset;
	width: calc(100% - 80px);
	float: left;
	height: 60px;
	border-radius: 8px;
        background: white;
        color: maroon;
        margin: 40px auto;
        font-size: 30px;
        box-sizing: border-box; 
	padding: 20px;
}

#voice {
        all: unset;
	float: right;
	border: 4px solid white;
	border-radius: 8px;
	box-sizing: border-box;
	margin: 40px auto;
	background: white;
        height: 60px;
        width: 60px;
        background-image: url("/static/voice.png") ;
        background-size: cover;
	background-color: white;
	transition-duration: 0.3s;
}

#voice:hover {
	border: 4px solid maroon;
	cursor: pointer;
}

body {
	font-family: Tahoma, sans-serif ;
	background-image: url("/static/background.jpg") ;	
	background-attachment: fixed;
	background-size: cover;
	color: #ccc ;
}

a {
	color: white;
}

.box {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	clear: both;
	width: 100%;
}

.featuredlink {
	width: 200px;
	height: 100px;
	background-size: cover;
	border: 4px solid white;
	text-align: center;
	line-height: 100px;
	background: white;
}

.featuredlink span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
	color: maroon;
	width: 100%;
	padding: 20px 0px;
	font-size: 20px;
	font-weight: bold;
}

.linkbox {
	width: 200px;
	height: 200px;
	background-size: cover;
	border: 4px solid white;
	text-align: center;
	margin: 20px;
	line-height: 200px;
	border-radius: 20px;
	transition-duration: 0.3s;
	background: rgba(0, 0, 0, 0.2);
}

.linkbox span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
	background: white;
	color: maroon;
	width: 100%;
	padding: 20px 0px;
	font-size: 20px;
	font-weight: bold;
}

.linkbox:hover, .featuredlink:hover {
	border: 4px solid gold;
	background: rgba(0, 0, 0, 0.4);
}

.linkboxlarge {
	width: 300px;
	height: 300px;
	line-height: 300px;
	background-size: cover;
	border: 4px solid white;
	text-align: center;
	margin: 80px 40px;
	border-radius: 20px;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.2);
}

.linkboxlarge span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
	background: white;
	color: maroon;
	width: 100%;
	padding: 30px 0px;
	font-size: 30px;
	font-weight: bold;
}

.linkboxlarge:hover, .featuredlink:hover {
	border: 4px solid gold;
	background: rgba(0, 0, 0, 0.4);
}

main {
	color: white ;
	padding: 0px 100px ;
}

header {
    height: 10vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: white;
	border-top: 1vh solid gold;
	border-bottom: 1vh solid gold;
}

.header_img {
	height: 100%;
	width: auto;
	border: none;
	margin: 0;
}

.header_img img {
	border: none;
	height: 100%;
	width: auto;
	margin: 0;
}

header a {
	text-decoration: none;
	color: maroon;
}

.header_title, .header_title h1 {
	color: maroon;
	flex: 1;
	text-decoration: none !important;
}

.header_logo {
	height: 100%;
}

.content, footer {
	background: rgba(0, 0, 0, 0.5);
	display: block;
	margin: auto;
	width: 80vw;
}

.content {
	min-height: 60vh;
}

footer {
	text-align: center;
	padding-top: 20vh;
	padding-bottom: 20vh;
}

p, table button {
    font-size: x-large;
    font-family: sans-serif;
    color: white;
}

#tagcloud {
	list-style: none ;
	text-align: center ;
	padding: 0 ;
}

#tagcloud li {
	display: inline-block ;
}

#tagcloud a {
	margin: .1em .25em ;
}

a:hover {
	text-decoration: underline ;
}

h1 {
	text-align: center ;
	font-size: 8vh ;
	margin: auto;
	padding: 20px ;
	font-family: serif ;
	width: 70%;
	color: white;
}

h2 {
	color: white;
	text-align: center ;
	font-size: 4vh;
}

img {
	width: 90% ;
	display: block ;
	border: 0.5vh solid white;
	margin: 20px auto;
}

code {
	overflow-wrap: break-word ;
	color: lime ;
}

.taglist {
	text-align: center ;
	margin-bottom: 2em ;
	margin-top: 2em ;
}

#schedule {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 100;
}

#schedule iframe {
	width: 100%;
	height: 90%;
	position: absolute;
	bottom: 0px;
}

.hidden {
	display: none;
}	

#scheduleheader {
	background: white;
	height: 10%;
	width: 100%;
	position: absolute;
}

#scheduleheader button {
	margin: auto;
	display: block;
	margin-top: 2%;
}

/* Slideshow container */
.slideshow-container {
        position: relative;
	margin: 40px 0px;
	float: left;
	width: 40%;
}

/* Hide the images by default */
.mySlides {
        display: none;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
}

.mySlides img {
        width: 90%;
        border: 4px solid white;
}

/* Next & previous buttons */
.prev {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        margin-top: -22px;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        left: 10px;
        translate: -100% 0px;
}

/* Position the "next button" to the right */
.next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        margin-top: -22px;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        right: 10px;
        translate: 100% 0px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
	text-decoration: none;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
}

.profile_twin {
        display: grid;
        grid-template-columns: 1fr 1fr;
	padding-top: 0vh;
	gap: 4vh;
}

.profile_img {
	display: block;
	margin: auto;
	width: 60%;
}

.group-info-container {
	display: flex;
	flex-direction: column;
}

.group-info-container p {
	width: 80%;
	margin: auto;
	margin-top: 4vh;
}

.group_img {
	display: block;
	margin: auto;
	width: 80%;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.white {
	color: white;
}

.spacer {
	height: 4vh;
}

label, input {
	font-size: x-large;
	display: block;
	margin: auto;
	width: 100%;
}

input[type=text] {
	padding: 1vh;
}

label {
	color: white;
}

/* scrollbar customization */
/* For Webkit browsers like Chrome, Safari */
::-webkit-scrollbar {
    width: 0.5vw;  /* Adjust width of the scrollbar */
	height: 1vh;
}

::-webkit-scrollbar-track {
    background: #030303;  /* Background color of the track */
}

::-webkit-scrollbar-thumb {
    background: gold;  /* Color of the moving scrollbar element */
}

.submission-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
        align-items: start;
}

.submission-card, .token-info {
    padding: 2vh;
    border-radius: 0.5vh;
    position: relative;

    background-color: rgba(0, 0, 0, 0.8);

    text-decoration: none;
    color: unset;
}

.token-info {
        margin-bottom: 20px;
        text-align: center;
}

.big-green-button {
        background-color: #4CAF50;
        cursor: pointer;
        color: white;
        font-size: 16px;
        border-radius: 2px;
        font-weight: bold;
        display: block;
        width: 100%;
        padding: 10px;
        border: none;
}

.big-green-button:hover {
        background-color: #45a049;
}

.submission-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.submission-card {
	width: 40vw;
	cursor: unset !important;
}

.center {
	display: block;
	text-align: center;
}

.big-grey-button {
        background-color: #666;
        cursor: pointer;
        color: white;
        font-size: 16px;
        border-radius: 2px;
        font-weight: bold;
        display: block;
        width: 100%;
        padding: 10px;
        border: none;
	transition-duration: 0.3s;
}

.big-grey-button:hover {
	filter: contrast(200%)
}

.focused {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.pad1 {
	padding: 1vh;
}

.user-info {
	display: flex;
	width: 100%;
	justify-content: space-evenly;
	background: rgba(0, 0, 0, 0.8);
	padding: 1vh;
}

table {
	width: 80%;
	margin: auto;
	text-align: center;
}

table, td, th {
	border: 2px solid #999;
	border-collapse: collapse;
	font-family: 'Roboto Mono', monospace;
	background: rgba(0, 0, 0, 0.8);
	color: white;
}

td a, td select {
	font-family: 'Roboto Mono', monospace;
	font-size: large;
}

table button {
	font-weight: normal;
	border: none;
	background: #aa0000;
	margin: 0.5vh;
	padding: 0 0.5vh;
	font-family: monospace;
}

.half-contrast {
	filter: contrast(0.5);
}

.draft-options-container {
    position: fixed;
    left: 25%;
    bottom: 0;
    width: 50%;
    display: flex;
    gap: 2vh;
    background: black;
    padding: 1vw;
    border: 0.25vw solid white;
    border-bottom: none;
    border-radius: 0.5vw 0.5vw 0 0;
    z-index: 90;
    flex-direction: column;
}

.draft-options-container * {
    flex: 1;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    gap: 2vh;
}

.button-red:hover, .button-yellow:hover, .button-green:hover {
	filter: contrast(150%);
}

.button-red, .button-red:hover {
	background: #aa0000;
}

.button-yellow, .button-yellow:hover {
	background: #f5961e;
}

.button-green, .button-green:hover {
	background: #4CAF50;
}

.drop-zone {
	width: 100%;
	height: 12vh;
	border: 2px dashed #ccc;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	margin-bottom: 1em;
	background-color: rgba(0, 0, 0, 0.2);
}

.drop-zone.hover {
	border-color: white;
	background-color: rgba(0, 0, 0, 0.4);
}

.drop-zone p {
	padding: 2vh;
}
.error {
	text-align: center;
	display: block;
	width: 100%;
	color: red;
	margin-bottom: 4vh;
}

/* Wrapper for the tap-to-zoom functionality */
.tap-to-zoom-wrapper {
	cursor: pointer;
	display: inline-block;
	position: relative;
}

.tap-to-zoom-wrapper.zoomed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	border-radius: 1vh;
	border: none;
	display: flex;
	/* Add these to center the zoomed image horizontally and vertically */
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.tap-to-zoom-wrapper.zoomed .pic-button {
}

/* The overlay covers the entire viewport, but its z-index is set lower than the image */
.tap-to-zoom-wrapper.zoomed::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9998;
	margin: 0;
	padding: 0;
}

/* Ensure the image sits above the overlay */
.tap-to-zoom-wrapper.zoomed img {
	position: relative;
	z-index: 10000;
	width: 75%;
	height: 75%;
	object-fit: contain;
	border: none;
	margin: auto;
}

/* Slideshow navigation */
.slideshow-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	z-index: 10001;
	padding: 0 5vw;
}

.slideshow-prev,
.slideshow-next {
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	border-radius: 1vh;
	width: 80px;
	height: 80px;
	font-size: 48px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s;
}

.slideshow-prev:hover,
.slideshow-next:hover {
	background: rgba(0, 0, 0, 0.8);
}

.tap-to-zoom-wrapper.zoomed .pic-button-group {
	z-index: 10001;
}

.groups-container, .students-container, .awards-container {
	margin: auto;
	min-height: 20vh;
	margin-top: 10vh;
	border-radius: 0.5vh;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 90%;
}

.pictures-container {
	margin: auto;
	margin-top: 10vh;
	border-radius: 0.5vh;
	width: 90%;
}

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.full-width {
	display: block;
	width: 100%;
}

@keyframes pulse {
	0% {
		border-color: red;
	}
	50% {
		border-color: white;
	}
	100% {
		border-color: red;
	}
}

.draft-pic {
	animation: pulse 1s infinite;
}

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

/* Container for the buttons */
.pic-button-group {
	position: relative;
	transform: translate(0%, -50%);
	display: flex;
	gap: 2vh;
	width: 80%;
	margin: auto;
	z-index: 10;
}

.pic-button {
	font-size: large;
	padding: 0.5vh 1vh;
	cursor: pointer;
	color: white;
	font-size: 16px;
	border-radius: 2px;
	font-weight: bold;
	display: block;
	width: 100%;
	border: 0.5vh solid white;
	transition-duration: 0.3s;
}

@media (orientation: portrait) {
	.header_title h1 {
		font-size: 3vh;
	}

	header {
		position: static;
	}
	
	.content {
		width: 100%;
	}

	.submission-card {
		width: 90vw;
	}	

	footer {
		width: 100%;
	}

	footer p {
		width: 50vw;
		display: block;
		margin: auto;
	}

	.focused {
		position: static;
		transform: none;
	}

	.linkboxlarge {
		margin: 1vh;
	}

}















