body {
    background-color: #242323;
    margin: 0;
    padding: 0;
    font-family: 'Newsreader', serif;
}

@font-face {
    font-family: 'Newsreader';
    src: url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500&display=swap');
    font-style: normal;
    font-weight: 400;
}

/* header/navbar start -- on every webpage!!!!*/

header {
    min-height: 50vw;
    width: 100%;
    background-image: url('../assets/complab_highres.jpg');
    background-size: cover;
    background-position: center;
    display: block;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    background-color: #111111;
}

.tmcc-image {
    float: left;
    margin-left: 20px;
}

.nav-links{
	flex: 1;
	text-align: right;
}

.nav-links ul li{
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
}

.nav-links ul li a{
	color: white;
	text-decoration: none;
	font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.nav-links ul li a:hover {
	width: 100%;
    color: #aab300;
    transition: .25s;
}

nav .fa {
    color: white;
    font-size: 1.5rem;
    float:right;
    cursor: pointer;
    display: none;
}

.page-title {
    width: 100%;
	top: 60%;
	left: 60%;
    text-align: center;
}

h1 {
    padding: 150px;
    font-size: 100px;
    color: #aab300;
    font-weight: bold;
}

/* end header/nav bar!!! Now comes hard part orz */


/* used in more than one page*/

main{
    min-height: 100vh;
    background-color: #242323;
    justify-content: center;
    align-content: center;
    display: flex;
} 

.main-container{
    display: flex;
    max-height: 150vw;
    width: 95%;
    padding-top: 4%;
    padding-bottom: 5%;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.secondary-container {
    display:flex;
    max-height: 150vh;
    width: 95%;
    flex-direction: column;
    padding-top: 5%;
    padding-bottom: 6%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h2 {
    color: #aab300;
    font-size: 45px;
    margin: 25px;
}

h3 {
    font-size: 45px;
    color: white;
    margin: 0;
}

p {
    color: white;
    font-size: 20px;
    text-align: left;
    padding-top: 5px;
    text-indent: 35px;
    line-height: 30px;
}


/*Specifically HOME*/

.video-container {
    min-width: 60%;
    align-content: center;
    float: left;
    flex-basis: auto;
}

.video {
    aspect-ratio: 16/9;
    width: 95%;
    float: left;
}

.overview {
    float: right;
    max-width: 60%;
    align-content: center;
}


/*Specifically THE INSTRUCTOR*/

.image-container {
    max-width: 40%;
    align-content: center;
    float: left;
    flex-basis: auto;
    margin: 50px;
}

.snuffy {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 20px;
}

.bio {
    max-width: 45%;
    align-content: center;
    padding: 20px;
}


/*Specifically CERTIFICATES & DEGREES*/

.zzz {
    display: flex;
    flex-direction: column;
    flex-basis: auto;
    max-width: 95%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer {
    text-indent: 0;
    text-align: center;
}

.course-buttons ul {
    text-align: center;
    padding: 0;
    margin-bottom: 45px;
    margin-top: 25px;
}

.course-buttons ul li {
	list-style-type: none;
}

.course-buttons ul li a {
	color: white;
	text-decoration: none;
	font-size: 20px;
    font-family: Newsreader;
    margin: 0;
}

.course-buttons ul li a:hover {
	color: #AAB300;
}

h3 a {
    color: white;
	text-decoration: none;
	font-size: 50px;
    margin: 0;
}

h3 a:hover {
    color: #AAB300;
}

/*Specifically CLASSES*/

.double-up {
    display: grid;
    flex-basis: auto;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
}

.box {
    padding: 0px 500px;
    flex-basis: 50%;
    align-items: center;
    justify-content: center;
    display: grid;
}

.box p {
    margin: 50px;
    padding: 50x;
    font-size: 20px;
    line-height: 40px;
    margin: 0;
}

.box a {
    width: 100%;
    top: 80px
}

button{
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	padding: 0;
	margin: 15px;
	width: 100%;
	height: 150px;
	text-align: center;
	position: relative;
	border: none;
	transition-duration: .60s;
}

button:hover {
	background: #AAB300;
	opacity: 1;
	cursor: pointer;
}

.button1{
	background:linear-gradient(rgba(150,300,0,.2),rgba(150,300,0,.2));
    width: 1500px;
    border-radius: 50px;
}
.button2{
	background:linear-gradient(rgba(150,300,0,.2),rgba(150,300,0,.2));
    width: 1500px;
    border-radius: 50px;
}


/*Specifically STUDENT WORK*/

.container {
    max-width: 2000px;
    width: 95%;
    max-height: 500px;
    margin-top: 50px;;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    height: 50px;
    width: 50px;
    color: white;
    border:none;
    outline: none;
    border-radius: 10px;
    background: #111111;
    font-size: 2.2rem;
    transform: translateY(-50%);

}
.slider-wrapper .slide-button:hover {
    color: #aab300;
}

.slider-wrapper .slide-button#prev-slide {
    left: -20px;
    display:none;
}
.slider-wrapper .slide-button#next-slide {
    right: -20px;
}

.slider-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    font-size: 0;
    margin-bottom: 30px;
    overflow-x: auto;
    gap: 20px;
    scrollbar-width: none;
}

.slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
}

.slider-wrapper .image-list .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
}

.container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;

} 

.slider-scrollbar .scrollbar-track {
    height: 2px;
    width: 100%;
    background: #111111;
    position: relative;
    border-radius: 4px;
}
.slider-scrollbar:hover .scrollbar-track {
    height: 5px;
}

.slider-scrollbar .scrollbar-thumb {
    position: absolute;
    height: 100%;
    width: 50%;
    background: #aab300;
    border-radius: inherit;
    cursor: grab;
}

.slider-scrollbar .scrollbar-track:active{
    cursor: grabbing;
    height: 8px;
    top: -2px
}

.slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

/*RESPONSIVE!!!!!!!!!!!*/

@media only screen and (max-width:900px) {

    .nav-links ul li{
		display: block;
	}
	.nav-links{
		position: absolute;
		background: #111111;
		height: 100vh;
		width: 200px;
		top: 0;
		right: -200px;
		text-align: left;
		z-index: 2;
		transition: 1s;
	}
	nav .fa{
		display: block;
		color: white;
		margin: 10px;
		font-size: 22px;
		cursor: pointer;
	}
	.nav-links ul{
		padding: 20px;
	}
    
    .page-title h1 {
        font-size: 50px;
        padding: 10px;
    }

    .slider-wrapper .slide-button {
        display: none !important;
    }

    .slider-wrapper .image-list {
        gap: 10px;
        margin-bottom: 15px;
    }

    .slider-wrapper .image-list .image-item {
        width: 280px;
        height: 380px;
        object-fit: cover;
    }

    .slider-scrollbar .scrollbar-thumb {
        width: 20%
    }
}

@media only screen and (max-width:1024px) {
    .main-container{
        flex-direction: column;
        align-items: center;
        height: 95%;
    }
}