@charset "utf-8";

/* CSS Document */

/*               */
/*     RESET     */
/*               */





/* Box sizing */

:root {
    /* colors */
    --clr-dark: 230 35% 7%;
    --clr-light: 231 77% 90%;
    --clr-white: 0 0% 100%;
    
    /* font-sizes */
    --fs-900: clamp(5rem, 9vw + 1rem, 9.375rem);
    --fs-800: 3.5rem;
    --fs-700: 1.5rem;
    --fs-600: 1rem;
    --fs-500: 1.75rem;
    --fs-400: 0.9375rem;
    --fs-300: 1rem;
    --fs-200: 0.875rem;
    
    /* font-families */
    --ff-serif: "Bellefair", serif;
    --ff-sans-cond: "Barlow Condensed", sans-serif;
    --ff-sans-normal: "Barlow", sans-serif;
}

/* tablet */
@media (min-width: 45em) {
    :root {
        /* font-sizes */
        --fs-800: 6.25rem;
        --fs-700: 3.5rem;
        --fs-600: 2rem;
        --fs-400: 1.125rem;
    }
}

/* mobile */
@media (min-width: 35em) {
    :root {
        --fs-800: 5rem;
        --fs-700: 2.5rem;
        --fs-600: 1.5rem;
        --fs-400: 1rem;
    }
}

/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */

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

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
    margin: 0; 
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: 400;
}


/* Footer */

.footer {

 	padding: 18px;
  	text-align: center;
  	background: gray;
	color: white;
	font-size: .8em;

}

/*A few things that arent needed with the other pages in Kate's site so far. Working on "About" when I wrote this.



/* make images easier to work with 

img,
picture {
    max-width: 100%;
    display: block;
}






/* set up the body 

body {
    font-family: var(--ff-sans-normal);
    font-size: var(--fs-400);
    color: hsl( var(--clr-white) );
    background-color: hsl( var(--clr-dark) );
    line-height: 1.5;
    min-height: 100vh;
    display: grid;
    grid-template-rows: min-content 1fr;
}

*/

.sr-only {
  position: absolute; 
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px; 
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* added line */
  border: 0;
}

input,
button,
textarea,
select {
    font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}





















/* colors */

.bg-dark { background-color: hsl( var(--clr-dark) );}
.bg-accent { background-color: hsl( var(--clr-light) );}
.bg-white { background-color: hsl( var(--clr-white) );}

.text-dark { color: hsl( var(--clr-dark) );}
.text-accent { color: hsl( var(--clr-light) );}
.text-white { color: hsl( var(--clr-white) );}

/* typography */

.ff-serif { font-family: var(--ff-serif); } 
.ff-sans-cond { font-family: var(--ff-sans-cond); } 
.ff-sans-normal { font-family: var(--ff-sans-normal); } 

.letter-spacing-1 { letter-spacing: 4.75px; } 
.letter-spacing-2 { letter-spacing: 2.7px; } 
.letter-spacing-3 { letter-spacing: 2px; } 

.uppercase { text-transform: uppercase; }

.fs-900 { font-size: var(--fs-900); }
.fs-800 { font-size: var(--fs-800); }
.fs-700 { font-size: var(--fs-700); }
.fs-600 { font-size: var(--fs-600); }
.fs-500 { font-size: var(--fs-500); }
.fs-400 { font-size: var(--fs-400); }
.fs-300 { font-size: var(--fs-300); }
.fs-200 { font-size: var(--fs-200); }

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
    line-height: 1.1;
}



/* Style the body */

body {

  font-family: 'Montserrat', sans-serif;
  margin: 0;
	

}



ul {

	list-style-type: none;

}


/* ------------------- */
/* Compontents         */
/* ------------------- */



/* primary-header */


.KatesLogo{
	width: 100%;
	padding: 1rem;
}

.logo-sizing{
	max-width: 50%;
}


/* adds the gray color for the nav bar on all pages except the home page. */
.navbar {
  	display: flex;
  	/*background-color: #333;*/
	gap: var(--gap, 0rem);

}

.primary-header {
    justify-content: space-between;
    align-items: center;
	display: flex;
	flex-wrap: nowrap;
	
}


.primary-navigation {
	--gap: clamp(1.5rem, 5vw, 3.5rem);
    --underline-gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    background: hsl( var(--clr-white) / 0.05);
    backdrop-filter: blur(1.5rem);
}

.primary-navigation a {
    text-decoration: none;
}










/* mobile */

.mobile-nav-toggle {
    display: none;
	 cursor: pointer;
}

@media (max-width: 35rem) {
    .primary-navigation {
        position: fixed;
        z-index: 1000;
        inset: 0 0 0 35%;
        list-style: none;
        padding: min(20rem, 15vh) 2rem;
        margin: 0;
        flex-direction: column;
        transform: translateX(110%);
		transition: transform 400ms ease-in-out;
		background-color: hsla(0,0%,0%,.5);
		backdrop-filter: blur(1.5rem);
    }
	

	
	.primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }
    
    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 2000;
        right: 1rem;
        top: 2.5rem;
        background: transparent;
        background-image: url("images/icons/icon-hamburger-darker.svg");
		background-position: center;
        background-repeat: no-repeat;
        width: 1.5rem;
        aspect-ratio: 1;
        border: 0;
    }
	
    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url("images/icons/icon-close.svg");
    }
	
	.mobile-nav-toggle:focus-visible {
    outline: 5px solid white;
    outline-offset: 5px;
    
	}
}



/* large screens */
@media (min-width: 35em) {
    .primary-navigation {
        padding-inline: clamp(2rem, 6vw, 4rem); 
		display: flex;
		gap: var(--gap, 1rem);
    }
}

/* tablet */
@media (min-width: 35em) and (max-width: 44.999em) {
    .primary-navigation a > span {
        display: none;
		gap: var(--gap, 1rem);
    }
}


.underline-indicators > * {
    cursor: pointer;
    padding: var(--underline-gap, 1rem) 0;
    border: 0;
    border-bottom: .2rem solid hsla(0,0%,100%,0);
}

.underline-indicators > *:focus {
    border-color: hsla(0,0%,100%,.5);
}

@media (hover: hover) {
    .underline-indicators > *:hover{
    	border-color: hsla(0,0%,100%,.5);
    }
}

@media (min-width: 35rem) {
    .underline-indicators > .active,
    .underline-indicators > [aria-selected="true"] {
        color: hsla(0,0%,100%,.1);
        border-color: hsla(0,0%,100%,1); 
    }
}





/* ------------------- */
/* Utility classes     */
/* ------------------- */

/* general */



/*
.flex {
    display: flex;
    gap: var(--gap, 1rem);
}
*/

.grid {
    display: grid;
    gap: var(--gap, 1rem);
}


.d-block /* force element to inhabit row on it's own */ {
    display: block;
}

.flow > *:where(:not(:first-child)) {
    margin-top: var(--flow-space, 1rem);
}

.container {
    padding-inline: 2em;
    margin-inline: auto;
    max-width: 80rem;
}

.grid-container {
    text-align: center;
    display: grid;
    place-items: center;
    padding-inline: 1rem;

}

.grid-container * {
    max-width: 50ch;
}

.navbar a:hover {

  color: white;

}









/* Styles the ABOUT content */


/* Column container */

.AboutRow {  

  display: flex;
  flex-wrap: wrap;

}


/* Create two unequal columns that sits next to each other. Like on the ABOUT page */

/* Sidebar/left column */

.side {

	flex: 30%;
	padding: 0px;

}

/* Main column */

.main {

  flex: 70%;
  background-color: white;
  padding: 40px;

}

/* bio image styling */

.bioimage {

	padding: 0px;

}


/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */

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

  .AboutRow, .navbar {   

    flex-direction: column;

  }

}


.row {

  	display: flex;
  	flex-wrap: wrap;
	padding: 0 4px;	

}

------------












/* Create four equal columns that sits next to each other */

.column {

  	flex: 25%;
	max-width: 25%;
  	padding: 0 4px;
	position: relative;
	height: auto;

}

.columnSmaller {

  	flex: 20%;
	max-width: 20%;
  	padding: 0 4px;
	position: relative;
	height: auto;

}



.column img {

  	margin-top: 8px;
  	vertical-align: middle;
	display:flex;
	width: 100%;

}

.columnSmaller img {

  	margin-top: 8px;
  	vertical-align: middle;
	display:flex;
	width: 100%;

}


/* Responsive layout - makes a two column-layout instead of four columns */

@media (max-width: 45em) {

  	.column {

	    flex: 50%;
	    max-width: 50%;

  	}
	
	.columnSmaller {
		
		flex: 50%;
		max-width: 50%;
	}


}



/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media (max-width: 35em) {

  	.column {

    	flex: 100%;

    	max-width: 100%;

  	}
	
	
	.columnSmaller{
		
		flex: 100%;
		
		max-width: 100%;
		
	}

}















.overlay {

  position: absolute;

  top: 0;

  bottom: 0;

  left: 0;

  right: 0;

  height: 100%;

  width: 100%;

  opacity: 0;

  transition: .3s ease;

  background-color: black;

}



.testHover :hover .overlay {

  opacity: .6;

}



.text {

  color: white;

  font-size: 20px;

  position: absolute;

  top: 50%;

  left: 50%;

  -webkit-transform: translate(-50%, -50%);

  -ms-transform: translate(-50%, -50%);

  transform: translate(-50%, -50%);

  text-align: center;

}







/* Image and text bars VERTICAL CENTER*/



.FullWidthBars {

	position: relative;
	
	top: 50%; 

}


.FullWidthBars a {

	text-decoration: none;

	color: white;

}

/* Text Over Images*/


.text-block {

	position: absolute;
	width: inherit;
	top: 50%;
	left: 50%;

	transform: translate(-50%, -50%);

	font-size: 4vw;
	color: white;
 	padding-left: 0px;
	padding-right: 0px;
	margin-right: -400px;

}

.copyright {
	position: absolute;
	color: white;
	width:auto;
	top: 95%;
	left: 20px;
}


.under-construction {

	position: absolute;
	top: 50%;
	left: 75%;

	transform: translate(-50%, -50%);

	font-size: 4vw;
	color: black;
 	padding-left: 25px;
	padding-right: 25px;
	background-color: white;
	opacity: .5;

}

.TextOnTop {
	position: relative;
	top: 50%;
	left: 50%;	
	transform: translate(-50%, -50%);
	font-size: 2vw;
	
}

.ScrollingText {
	position:absolute;
	display: flex;
	overflow-x: auto;
	top: 20%;

}





@media (min-width: 801px) {


	.teachingboxes {

		display: block;

		margin-left: auto;

  		margin-right: auto;

		padding: 40px;

		width: 80%;

		background-color: white;

		height: auto;

	}
	
	
	.TextBodies {
		
		font-size: 1vw;

		display: block;

		margin-left: auto;

  		margin-right: auto;

		padding: 0px 20px 30px 20px;
		
		width: 80%;

		height: auto;
	}


}



@media (max-width: 800px) {

	

	.teachingboxes {

		display: block;

		margin-left: auto;

  		margin-right: auto;

		padding: 40px;

		width: 90%;

		background-color: white;

		height: auto;	}
	
	
	
	.TextBodies {
		
		font-size: 1vw;

		display: block;

		margin-left: auto;

  		margin-right: auto;

		padding: 0px 20px 30px 20px;
		
		width: 90%;

		height: auto;
	}

}


hr { 
    display: block;
    margin-end: auto;
    margin-start: auto;
    border: 1px inset;
    overflow: hidden;
    margin-before: 0.5em;
    margin-after: 0.5em;
}


.teachingboxes a {

	color: black;

}





/* Video frame for video player  */

.VideoFrame {
	text-align: center;
	padding: 20px 20px 0px 20px;
}



/* Video background  */

#myVideo {
 	position: fixed;
 	right: 0;
 	bottom: 0;
 	min-width: 100%; 
  	min-height: 90%;
	z-index: -1;
}

.CenteredContent {
	text-align: center;
}


