/*
Theme Name: baldwin
Theme URI: 
Author: Robert Slocumbe
Author URI: 
Description: A theme for UGA's Commencement website.
Requires at least: 6.0
Tested up to: 6.5.3
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baldwin
Tags: full-site-editing, 
*/

/* HERO SECTION */
.hph__header {
    text-shadow: 5px 5px 3px rgba(0, 0, 0, 1);
}

.hph__header p {
    /* font-size: 2.5rem; */
}

.hph__header h1 {
    font-size: 6rem !important;
    letter-spacing: 0.05em;
    line-height: 1;
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .hph__header h1 {
    font-size: 2.5rem !important;
    }
}

.hph__info * {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  letter-spacing: 1px;
  color: #fff;
  font-weight: 500;
}

.hph__info a,
.hph__info a * {
  text-shadow: none;
}

.hph__info-season {
font-size: 1.5rem;
}

.hph__info > p {
margin-bottom: 1rem;
font-weight: 600;
font-style: italic;
letter-spacing: 1px;
color: #fff !important;
}

.wp-block-button.is-style-hero-button {
box-shadow: 5px 5px 10px 0px #000000;
}
.wp-block-button.is-style-hero-button .wp-block-button__link {
    transition: all 0.2s ease-in-out;
}

.wp-block-button.is-style-hero-button .wp-block-button__link:hover {
    background-color: #8a0923;
}

body.home h2 {
letter-spacing: 0.05em;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3)
}

body.home h2::before {
content: "";
bottom: 0;
left: 0;
height: 2px;
width: 80%;
background-color: black;
color: black;
}

/* ===========================
   PORTALS GRID
   =========================== */
.portal__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-flow: row;
	grid-gap: 2rem;
	align-items: stretch;
	justify-content: center !important;
}

.portal__grid--2-col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-flow: row;
	grid-gap: 2rem;
	align-items: stretch;
	justify-content: center !important;
}

@media screen and (max-width: 768px) {
	.portal__grid,
	.portal__grid--2-col {
		grid-template-columns: 1fr;
	}
}

/* ===========================
   PORTAL HYPERLINK GROUP
   =========================== */
.portal__hyperlink-group {
	height: 100%;
	text-decoration: none !important;
	overflow: hidden;
    border-radius: 10px;
}

.portal__hyperlink-group:hover .portal__background-photo {
	transform: scale(1.05);
}

.portal__hyperlink-group:hover .portal__background-photo::before {
	opacity: 0.55;
}

.portal__hyperlink-group:hover .portal__text {
	transform: scale(0.95);
}


/* ===========================
   PORTAL BACKGROUND PHOTO
   =========================== */
.portal__background-photo {
	height: 100%;
	position: relative;
	transition: all 0.2s ease-in-out;
    padding: 30% 10%;
}

.portal__background-photo:hover {
	transform: scale(1.4rem);
}

.portal__background-photo::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		circle,
		rgba(0, 0, 0, 0.5) 30%,
		rgba(0, 0, 0, 0.7) 70%,
		rgba(0, 0, 0, 0.8) 100%
	);
	opacity: 1;
	transition: all 0.2s ease-in-out;
}

@media screen and (max-width: 768px) {
	.portal__background-photo {
padding: 10%;
	}
}

/* ===========================
   PORTAL TEXT
   =========================== */
.portal__text {
	z-index: 1;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
	transition: all 0.2s ease-in-out;
    line-height: 1.2;
}