
.top {
	--offset: 50px;
	position: sticky;
	bottom: 40px;
	margin-right: 10px;
	margin-left: 20px;
	place-self: end;
	margin-top: calc(100vh + var(--offset));
	z-index: 100;

	/* visual styling */
	text-decoration: none;
	padding: 10px;
	font-family: sans-serif;
	color: #fff;
	background: #000;
	border-radius: 100px;
	white-space: nowrap;
}
* {
	box-sizing: border-box;
}

body {
	margin: 0;
}

/* Create three equal columns that floats next to each other */
.column {
	float: left;
	width: 33.33%;
	padding: 20px;
	text-align: center;
}

/* Clear floats after the columns */
.row::after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:1100px) {
	.column {
		width: 100%;
	}
}

/* Create three equal columns that floats next to each other */
.columnt {
	float: left;
	width: 33.33%;
	padding: 10px;
}

/* Clear floats after the columns */
.rowt:after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:1100px) {
	.columnt {
		width: 100%;
	}
}

.hero {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	background:rgba(0, 0, 0, 0); 
	position: relative;
	min-height: 100vh;
	top: -50px;
	margin-bottom: -100px;

}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	.hero {
		height: 1000px;
	}
}

.video-bg {
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;

}

@media (min-aspect-ratio: 16/9) {
	#video-bg {
		width:100%;
		height: auto;
	}
}

@media (max-aspect-ratio: 16/9) {
	#video-bg {
		width:auto;
		height: 100%;
	}
}


.wrap {
	height: 200px;
	width: 1600px;
	margin: 10px;
	display: grid;
	align-items: center;
}

.wrap span {
	align-self: flex-end;
	bottom: -100px;
}

* {
	box-sizing: border-box;
}


/* Create two equal columns that floats next to each other */
.column2 {
	float: left;
	width: 50%;
	padding: 30px;
	margin: 0;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
	.column2 {
		width: 100%;
		margin: 0;
	}
}

.accordion {
	background-color: #000000;
	color: #ffffff;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 15px;
	transition: 0.4s;
}

.active, .accordion:hover {
	background-color: #cc0000;
	color: #000000;
}

#myBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: red;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
}

#myBtn:hover {
	background-color: #555;
}

.panel {
	padding: 0 18px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out;
}


img {
	padding: 0;
	display: block;
	margin: 0 auto;
	max-height: 100%;
	max-width: 100%;
}

/* Create four equal columns that floats next to each other */
.column3 {
	float: left;
	width: 25%;
	padding: 10px;
	color: #cc0000;
	align-content: ;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */
@media screen and (max-width: 850px) {
	.column3 {
		width: 100%;
	}
}

.btn-group button {
	background-color: #000000; /* Black background */
	border: 1px solid red; /* Red border */
	color: white; /* White text */
	padding: 20px 24px; /* Some padding */
	cursor: pointer; /* Pointer/hand icon */
	float: left; /* Float the buttons side by side */

}

/* Clear floats (clearfix hack) */
.btn-group:after {
	content: "";
	clear: both;
	display: table;
}

.btn-group button:not(:last-child) {
	border-right: none; /* Prevent double borders */
}

/* Add a background color on hover */
.btn-group button:hover {
	background-color: #cc0000;
}

#grad1 {
	background-color: red; /* For browsers that do not support gradients */
	background-image: linear-gradient(to right, #800000, #cc0000, #800000);
	margin-bottom: -44px;
}

/* Float four columns side by side */
.columnc {
	float: left;
	width: 25%;
	padding: 10px;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	.columnc {
		width: 100%;
		display: inline;
		font-size: 30;
	}
}

/* Clear floats after the columns */
.row4:after {
	content: "";
	display: table;
	clear: both;
}

/* Remove extra left and right margins, due to padding */
.row {margin: -5px, -5px;}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Style the counter cards */
.card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	padding: 6px;
	text-align: center;
	background-color: #f1f1f1;
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 1330px) {
	.card {
		width: 100%;
		margin: 0;
		height: 950px;
	}
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.card {
		width: 100%;
		margin: 0;
		height:auto;
	}
}

.btn {
	padding: 10px 25px;
	background: #CC0000;
	border: none !important;
	outline: none !important;
	cursor: pointer;
	position: relative;
	display: inline-block;
	left: 50%
		transform: translateX(-50%);
}

.btn {
	z-index: 1;
	color: white;
}

.btn:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 0;
	top: 0;
	left: 0;
	z-index: -1;
	background: black;
}

.btn:hover {
	color: black;
}


.imgzoom {
	transition: transform .2s;
	margin: 0 auto;
	width: 100%;


}

.imgzoom:hover {
	-ms-transform: scale(1.05); /* IE 9 */
	-webkit-transform: scale(1.05); /* Safari 3-8 */
	transform: scale(1.02); 
	width: 100%;
	margin: 0;
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.imgzoom {
		width: 75%;
	}
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.imgzoom:hover {
		width: 75%;
	}
}

:root {
	--clr-neutral-900: hsl(207, 19%, 9%);
	--clr-neutral-100: hsl(0, 0%, 100%);
	--clr-accent-400: hsl(0, 100%, 39%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.crd {
	color:#ffffff;
	background-size: cover;
	max-width: 35ch;
	border-radius: 1rem;
	overflow: hidden;

	transition: transform 500ms ease;
	display: block;
}

.crd:hover {
	transform: scale(1.05);
}

.crd-content {
	--padding: 1.5rem;
	padding: var(--padding);
	background: linear-gradient(
		hsl(0, 0%, 0% / 0),
		hsl(20, 0%, 0.3%) 20%,
		hsl(0, 0%, 0% / 1)
	);
	transform: translateY(65%);
	transition: transform 500ms ease;
	transition-delay: 500ms;
}

.crd-content > * {
	transform: translateY(0);
}

.crd:hover .crd-content {
	transform: translateY(0);
	transition-delay: 500ms;
}

.crd-content > *:not(.crd-title) {
	opacity: 0;
	transition: opacity 500ms linear;
}

.crd:hover .crd-content > *:not(.crd-title) {
	opacity: 1;
	transition-delay: 1000ms;
}

.crd-title {
	position: relative;
	width: 100%;
	bottom: 10px;
	text-align: center;
}

.crd-title::after {
	content:"";
	position: absolute;
	height: 4px;
	bottom: -2px;
	left: calc(var(--padding) * -1);
	width: calc(100% + var(--padding));
	background: var(--clr-accent-400);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 500ms ease;
}

.crd:hover .crd-title::after {
	transform: scaleX(1);
}

.crd-body {
	color: rgba(255, 255, 255, 100)
}

.crd:hover .crd-title::after {
	transform: scaleX(1)
}

.crdbutton {
	cursor: pointer;
	display: inline;
	text-decoration: none; 
	color: black;
	background-color: black;
	padding: 0.5em 1.25em;
	border-radius: .25em;
}

.crdbutton:hover,
.crdbutton-focus {
	background-color: #000000;
}

.ctnr1 {
	display: flex;
}

.ctnr1-card {
	height: 500px;
	margin: 50px;
	box-shadow: 5px 5px 20px black;
	overflow: hidden;
}

.ctnr1-img {
	height: 500px;
	width: 350px;
	border-radius: 3px;
}

.ctnr1-intro {
	height: 200px;
	width: 350px;
	padding: 6px;
	box-sizing: border-box;
	position: absolute;
	background: rgb(27, 27, 27, .5)
		color: white;
}

.ctnr1-card:hover {
	cursor: pointer;
}

.ctnr1-card:hover .ctnr1-intro {
	height: 220px;
	bottom: 240px;
}

.cntr2 {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px 30px;
}

.cntr2 .crd2 {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 300px;
	height: 120px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 35px 50px rgba(0, 0, 0, 0.15);
	transition: 0.5s;
}

.cntr2 .crd2:hover {
	height: 550px;
}

.cntr2 .crd2 .imgBx {
	position: absolute;
	top: 20px;
	justify-content: center;
	align-items: center;
	height: 220px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: 0.5s;
}
.cntr2 .crd:hover .imgBx {
	top: -100px;
	scale: 0.75;
	justify-content: center;
	align-items: center;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);

}

.cntr2 .crd2 .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	object-fit: cover;
}

.cntr2 .crd2 .cntent {
	position: absolute;
	top: -40px;
	width: 100%;
	padding: 0 30px;
	height: 140px;
	overflow: hidden;
	text-align: center;
	justify-content: center;
	align-items: center;
	transition: 0.5s;
}

.cntr2 .crd2:hover .cntent {
	top: -40px;
	height: 550px;
}

.ncontain {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 100px 50px;
	padding: 100px 50px;
}

.ncontain .card {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 450px;
	height: 350px;
	background: #cc0000;
	border-radius: 20px;
	box-shadow: 0 35px 80px rgba(0,0,0,0.15);
	transition: 0.5s;
}

.ncontain .card:hover {
	height: 530px;
}

.ncontain .card .imgBx {
	position: absolute;
	top: 15px;
	width: 420px;
	height: 320px;
	background: #cc0000;
	border-radius: 12px;
	transition: 0.5s;
}

.ncontain .card:hover .imgBx {
	top: -100px;
	scale: 0.75;
	box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}

.ncontain .card .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ncontain .card .content {
	position: absolute;
	top: 162px;
	width: 100%;
	padding: 0 30px;
	height: 95px;
	overflow: hidden;
	text-align: center;
	transition: 0.5s;
	color: white;
}

.ncontain .card:hover .content {
	top: 130px;
	height: 470px;
	color: white;
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.ncontain .card .imgBx  {
		width: 290px;
		margin: 0;
	}
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.ncontain .card:hover {
		width: 100%;
		margin: 0;
		height: 650px;
	}
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.ncontain .card:hover .content  {
		margin: 0;
		height: 1070px;
	}
}

.pimg1 {
	background-image: url(https://www.depts.ttu.edu/coe/testingfolder/redblack.jpg);
	min-height: 500px;
}

.pimg1, .pimg2, .pimg3 {
	position: relative;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.scolumn {
	float: left;
	width: 50%;
	padding: 10px;
	color: #cc0000;
}

/* Clear floats after the columns */
.srow::after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1600px) {
	.scolumn {
		height: 300px;
		width: 100%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:950px) {
	.scolumn {
		width: 100%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
	.scolumn {
		width: 100%;
		height: 400px;
	}
}

.scolumn2 {
	float: left;
	width: 50%;
	padding: 10px;
	color: #cc0000;
	height: 650px;
}

/* Clear floats after the columns */
.srow2::after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1810px) {
	.scolumn2 {
		height: 750px;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1600px) {
	.scolumn2 {
		height: 750px;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1050px) {
	.scolumn2 {
		width: 100%;
		height: 550px;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
	.scolumn2 {
		width: 100%;
		height: 550px;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:530px) {
	.scolumn2 {
		width: 100%;
		height: 650px;
	}
}

/* Create four equal columns that floats next to each other */
.columnf {
	float: left;
	width: 25%;
	padding: 10px;
	color: #cc0000;
}

/* Clear floats after the columns */
.rowf:after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */
@media screen and (max-width: 850px) {
	.columnf {
		width: 100%;
	}
}

.wrapper{
	width: 100%;
	padding: 25px 10px 30px 10px;
	background: #ffffff;
	box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
}

.wrapper header{
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 30px;
	font-weight: 600;
	padding-bottom: 20px;
	color: #000000;
	text-align: center;
}
.wrapper nav{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 600;
	position: relative;
	width: 100%;
	height: 50px;
	display: flex;
	align-items: center;
	background-color: #000000;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	.wrapper nav {
		height: 100px;
		font-size:3vw;
		align-items: center;
		display: flex;
		color: #c00;
		position: relative;
		width: 100%;
		background-color: #000000;
	}
}
.wrapper nav label{
	font-family: Arial, Helvetica, sans-serif;
	display: block;
	height: 100%;
	width: 100%;
	text-align: center;
	line-height: 50px;
	cursor: pointer;
	position: relative;
	z-index: 1;
	color: #ffffff;
	font-size: 22px;
	border-radius: 5px;
	margin: 0 5px;
	transition: all 0.3s ease;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	.wrapper nav label{
		height: 100px;
		font-size: 4vw;
		align-items: left;
		display: flex;
		color: #ffffff;
		position: relative;
		width: 1000px;
		text-align: left;
		margin-right: 20;
		margin-left: 40px;
		text-align: center;
	}
}
.wrapper nav label:hover{
	background: rgba(184, 23, 23, 0.5);
}
#st:checked ~ nav label.st,
#rr:checked ~ nav label.rr,
#pa:checked ~ nav label.pa,
{
	color: #fff;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	.wrapper nav label:hover {
		height: 100px;
		font-size: 4vw;
		align-items: left;
		display: flex;
		color: #ffffff;
		position: relative;
		width: auto;
		text-align: left;
		margin-right: 20;
		text-align: center;
	}
}
nav label i{
	padding-right: 7px;
}
nav .slider{
	position: absolute;
	height: 100%;
	width: 33.2%;
	left: 0;
	bottom: 0;
	z-index: 0;
	background: #cc0000;
	transition: all 0.3s ease;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	nav .slider {
		position: absolute;
		height: 100%;
		width: 200px;
		left: 0;
		bottom: 0;
		z-index: 0;
		background: #cc0000;
		transition: all 0.3s ease;
	}
}
input[type="radio"]{
	display: none;
}
#rr:checked ~ nav .slider{
	left: 33.5%;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	#rr:checked ~ nav .slider {
		left: 196px;
		width: 200px;
	}
}
#pa:checked ~ nav .slider{
	left: 66.8%;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	#pa:checked ~ nav .slider {
		left: 415px;
		width: 200px;
	}
}
#vi:checked ~ nav .slider{
	left: 60%;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	#vi:checked ~ nav .slider {
		left: 194px;
		width: 70px;
	}
}
#al:checked ~ nav .slider{
	left: 80%;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
	#al:checked ~ nav .slider {
		left: 260px;
		width: 70px;
	}
}
section .icontent{
	display: none;
	background: #fff;

}
#st:checked ~ section .content-1,
#rr:checked ~ section .content-2,
#pa:checked ~ section .content-3,
#vi:checked ~ section .content-4,
#al:checked ~ section .content-5{
	display: block;
}
section .content .title{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1px;
	font-weight: 500;
	margin: 30px 0 10px 0;
}
section .content p{
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
}

#navbar {
	position: sticky;
	top: 0;
	background: #C00;
	z-index: 1000;
}

.dropbtn {
	background-color: #C00;
	color: white;
	padding: 16px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	z-index: 1000;
	align-content: center;
}

.dropbtn:hover, .dropbtn:focus {
	background-color: #000000;
	z-index: 1000;
}

.dropdown {
	position: relative;
	display: inline-block;
	z-index: 1000;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	overflow: auto;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1000;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	z-index: 1000;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

.deptcontainer {
	position: relative;
	width: 100%;
}

.deptimage {
	opacity: 1;
	display: block;
	width: 100%;
	transition: .5s ease;
	backface-visibility: hidden;
}

.deptmiddle {
	transition: .5s ease;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}

.deptcontainer:hover .deptimage {
	opacity: 0.3;
}

.deptcontainer:hover .deptmiddle {
	opacity: 1;
}

.deopttext {
	background-color: #cc0000;
	color: white;
	font-size: 16px;
	padding: 16px 32px;
}

@media screen and (max-width: 500px) {
	.deopttext  {
		background-color: #cc0000;
		color: white;
		font-size: 12px;
		padding: 5px 5px;
	}
}

/* Style the counter cards */
.cardima {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	padding: 46px 16px;
	text-align: center;
	background-color: #f1f1f1;
	border-radius: 120px;
	color: black;
}

/* Responsive layout - makes the two cards stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
	.cardima {
		width: 100%;
		margin: 0;
	}
}

.imgzoom {
	transition: transform .2s;
	margin: 0 auto;
	width: 100%;

}

.imgzoom:hover {
	-ms-transform: scale(1.05); /* IE 9 */
	-webkit-transform: scale(1.05); /* Safari 3-8 */ 
	transform: scale(1.05); 
	width: 100%;
	margin: 0;
}

.center2 {
	padding: 70px 0;
	text-align: center;
}