/*
 * Webtron Auction Site — global stylesheet.
 *
 * theme.json drives the visual system. This file is a thin layer for things
 * that can't yet be expressed in theme.json: focus styles, screen-reader text,
 * a few small element resets.
 */

:root {
	color-scheme: light;
}

*:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 1rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

body {
	background-color: #283840;
}
.is-menu-open {
	background-color: #283840 !important;
	padding: 1rem !important;
}

.woa-container {
	margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) {
	.woa-container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
	.woa-container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
	.woa-container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
	.woa-container {
        max-width: 1140px;
    }
}

.cover-img figure {
	height: 100%;
}
.cover-img img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.wp-element-button:hover {
	background-color: white !important;
	transition: .2s ease all;
}
.wp-block-accordion-heading__toggle:hover {
	background-color: #6edce0;
	border-radius: 5px;
	color: black;
	transition: .2s ease all;
}
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
	text-decoration: none;
}

/* Front Page */
html:has(.home), body.home, .home .wp-site-blocks {
	height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
	display: flex;
    flex-direction: column;
}
html:has(.admin-bar) body {
	height: calc(100% - 45px);
}
@media (min-width:768px) {
	html:has(.admin-bar) body {
		height: calc(100% - 32px);
	}
}
.homepage-content {
	height: calc(100% - 84px);
}
nav:has(.intro-nav) {
    height: 100%;
	width: 100%;
	max-width: 100%;
    position: absolute;
    top: 0;
}
.intro-nav {
    height: 100%;
	width: calc(100% - 2rem) !important;
	margin-top: .25rem !important;
	display: grid;
    grid-template-rows: auto 1fr auto;
	grid-template-columns: auto repeat(2, 1fr);
	margin: 0 2rem;
	animation: fadeIn 2s ease;
}
.intro-nav a:hover {
	color: white !important;
	transition: .2s ease all;
}
.intro-nav > :nth-child(4),
.intro-nav > :nth-child(5),
.intro-nav > :nth-child(6) {
	grid-row: 3;
}
.intro-nav > :nth-child(2),
.intro-nav > :nth-child(5) {
	justify-content: flex-end;
}
.intro-nav > :nth-child(3),
.intro-nav > :nth-child(6) {
	justify-content: flex-end;
	text-align: right;
}

.intro-blurb::-webkit-scrollbar {
	width: 8px;
}
.intro-blurb::-webkit-scrollbar-thumb {
	border-radius: 60px;
	background-color: #131b1f;
}

@media (max-height:850px) and (min-width:900px) {
	.intro-content {
		display: flex;
		flex-direction: column;
	}
	.intro-blurb {
		height: 100px;
		overflow-y: scroll;
	}
}
@media (max-width:767px) {
	.intro-nav ul li {
		font-size: 14px !important;
	}
	.intro-content {
		font-size: 14px !important;
		margin-top: 5rem;
	}
	.intro-images {
		margin-bottom: 1.5rem;
	}
	.intro-blurb {
		height: 18vh;
		overflow-y: scroll;
		padding-right: 4px;
	}
}
@media (min-width:768px) {
	.intro-content {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		padding: 0;
	}
}
@media (min-width:576px) and (max-width:1024px) {
	.intro-content {
		max-width: unset;
		width: 100%;
	}
	.intro-blurb-wrapper, .intro-blurb  {
		max-width: unset;
	}
	.intro-blurb {
		width: 75%;
	}
}


.intro-blurb-wrapper {
	animation: slideUp 1.1s ease;
}
.intro-blurb-wrapper .wp-block-button__link {
	padding: .5rem 1.5rem;
}

.intro-images {
	grid-column-gap: 0rem;
    grid-row-gap: 0rem;
    grid-template-rows: auto;
    grid-template-columns: .5fr 1fr .5fr;
    grid-auto-columns: 1fr;
    justify-content: center;
    place-items: center;
    width: 100%;
    height: 100%;
    display: flex;
}
.intro-images img {
	opacity: 1;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}
.intro-logo img {
	object-fit: contain;
    width: 80vw !important;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
	animation: grow 1.1s ease;
}
.intro-background-image-wrapper {
    z-index: -1;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: absolute;
    inset: 0;
}
.intro-background-image-wrapper img {
	object-fit: contain;
    width: 80vw;
	animation: shrink 1s ease;
}
.intro-logo img, .intro-background-image-wrapper img {
    max-width: 250px;
}
@media (min-width:768px) {
	.intro-logo img, .intro-background-image-wrapper img {
		max-width: 300px;
	}
}
@media (min-width:1024px) {
	.intro-logo img, .intro-background-image-wrapper img {
		max-width: 400px;
	}
}
@media (min-width:2000px) {
	.intro-logo img, .intro-background-image-wrapper img {
		max-width: 600px;
	}
}
@media (max-height:850px) and (min-width:900px) {
	.intro-logo img, .intro-background-image-wrapper img {
		max-width: 300px;
	}
}
@keyframes grow {
	from {
	  transform: scale(0);
	  opacity: 0;
	}
	to {
	  transform: scale(1);
	  opacity: 1;
	}
}
@keyframes shrink {
	from {
	  transform: scale(10);
	  opacity: 0;
	}
	to {
	  transform: scale(1);
	  opacity: 1;
	}
}
@keyframes fadeIn {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
}
@keyframes slideUp {
	from {
	  opacity: 0;
	  transform: translateY(100px); 
	}
	to {
	  opacity: 1;
	  transform: translateY(0); 
	}
}

.homepage_footer {
	background-color: white;
	font-size: .75rem;
	padding: 1rem .5rem;
}
.homepage_footer .woa-container {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: .5rem;
}
.homepage_footer .webtron {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .25rem;
}
.homepage_footer .newsletter_form {
    display: flex;
	flex-direction: row;
    gap: .25rem;
}
.website_info {
	text-align: right;
	font-weight: lighter;
	display: none;
}

@media (min-width:768px) {
	.homepage_footer {
		font-size: .875rem;
		padding: 1rem;
		width: 100%;
	}
	.homepage_footer .woa-container {
		flex-direction: row;
	}
	.website_info {
		display: block;
	}
}


/* Gravity Forms */
.gform-theme--foundation .gform-grid-row {
	margin-inline: unset !important;
	width: 100%;
}
.gfield_label, .gfield_required {
	color: white !important;
}
.gform_button {
	background-color: #6edce0 !important;
	color: black !important;
	transition: .2s ease all;
}
.gform_button:hover {
	background-color: white !important;
}

#gform_wrapper_2 #gform_submit_button_2 {
	height: fit-content !important;
}
#gform_wrapper_2 #gform_fields_2 {
	display: block;
}
#gform_wrapper_2 .gform_title {
	font-size: 1rem;
}
#input_2_2 {
	flex-wrap: nowrap;
}
@media (min-width: 768px) {
	#gform_wrapper_2 {
		position: absolute;
		top: -100px;
		right: 0;
	}
	.footer-area {
		max-width: 100%;
		display: grid !important;
		grid-template-areas: '... links form';
		grid-template-columns: repeat(3, 1fr);
	}
	.footer-area nav {
		grid-area: links;
	}
	.footer-area #gform_wrapper_2 {
		grid-area: form;
	}
	
}

#gform_3 {
	display: flex;
    flex-direction: row;
	align-items: center;
}
#gform_wrapper_3 {
	display: flex;
}
.gform-footer:has(#gform_submit_button_3) {
	margin: 0;
	height: 38px;
	flex: 0;
}
#gform_submit_button_3 {
	height: fit-content;
	border-radius: 0 6px 6px 0;
}
#gform_submit_button_3:hover, #gform_submit_button_3:active {
	background-color: #3ab8bd !important;
}
#gform_3 .gform-body {
	display: flex;
	align-items: center;
	gap: .27rem;
}
#gform_3 .gform-body:before {
    content: 'Subscribe to our Newsletter';
	width: fit-content;
    font-weight: bold;
    display: block;
}
#gform_fields_3 {
	height: fit-content;
}
#input_3_1 {
	border-radius: 6px 0 0 6px;
    border-right: none;
}
@media (min-width:768px) {
	#gform_3 .gform-body:before {
		white-space: nowrap;
	}
	#gform_3 .gform-body {
		gap: .5rem;
	}
}