@import url('https://fonts.googleapis.com/css?family=Raleway:300,400i,600,800,900');

body {
	font-family: "Raleway", sans-serif;
	font-weight: 600;
	line-height: 1.6;
	background-image: url('../images/wisconsin_autumn.jpg');
	background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
	margin: 0;
	padding: 0;
}

/* Loading Icon */
.loading-icon {
	width: 64px;
	height: 64px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.primary-content {
    
}

.secondary-content {
    background-color: #D4C096;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 3px 12px rgba(0.1,0.1,0.1,0.3);
    border-radius: 12px;
}

.photo-embed-box {
    box-shadow: 0 3px 12px rgba(0.1,0.1,0.1,0.3);
}

/*LANDING PAGE*/

#bg-intro1 {
	z-index: 2;
	position: fixed;
	top: calc(20px + 3vw);
	left: 30px;
	font-size: 60px;
	font-weight: 800;
}

.bg-subtext1 {
	z-index: 2;
	position: fixed;
	bottom: calc(3vw + 20px);
	right: 20px;
	text-align: right;
	font-size:calc(1vw + 12px);
	text-shadow: 0px 2px 3px rgba(0,0,0,0.9);
	text-shadow: 0px 4px 7px rgba(0,0,0,0.7);
	text-shadow: 0px 8px 14px rgba(0,0,0,0.5);
	opacity: 0;
	animation: 2s fadeInAnimation ease-in 1s 1 forwards;
}

/* Login Button */
#login-form-div {
    z-index: 9999;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(120,230,150,0.4);
	padding: 10px;
	border: 1px solid #b0c0b0;
	box-shadow: 0 3px 12px rgba(0,0,0,0.3);
	font-size: 24px;
	font-weight: 800;
}

/* Menu.ejs or Navbar settings */

.navbar {
	padding-top: 15px;
	padding-bottom: 15px;
	margin-bottom: 0;
	font-size: 18px;
	letter-spacing: 5px;
	background-image: url('https://kautzacorp.com/public/images/keith-misner-wood.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 3px 12px rgba(0.1,0.1,0.1,0.3);
	text-shadow: 0px 2px 3px rgba(0.1,0.1,0.1,0.9);
	text-shadow: 0px 4px 7px rgba(0.1,0.1,0.1,0.7);
	text-shadow: 0px 8px 14px rgba(0.1,0.1,0.1,0.5);
}

.nav-link {
    color: #fffdd0;
    text-shadow: 0px 2px 3px rgba(0.1,0.1,0.1,0.9);
	text-shadow: 0px 4px 7px rgba(0.1,0.1,0.1,0.7);
	text-shadow: 0px 8px 14px rgba(0.1,0.1,0.1,0.5);
}

.navbar-nav  li a:hover, a:focus {
	color: #1abc9c !important;
	text-decoration: none;
	background: transparent;
}

.dropdown-toggle:hover, .dropdown-toggle:focus {
	color: #1abc9c !important;
	text-decoration: none;
	background: transparent;
}

li .active>a {
	color: #1abc9c !important;
}

.navbar-brand:hover {
	color: #3cdebe !important;
	background: transparent;
}

/*.navbar .dropdown a {*/
/*	background-color: #1e1e1e;*/
/*}*/

@media screen and (max-width: 400px) {
	.navbar-brand {
		font-size: 1.2em;
	}
}


/* RECIPES PAGES */

.recipeOne {
    width: 100%;
    height: 100%;
    background-color: #FCB991;
    background-position: center;
    background-size: cover;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.recipeTwo {
    width: 100%;
    height: 100%;
    background-color: #FFE5B4;
    background-position: center;
    background-size: cover;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.recipeThree {
    width: 100%;
    height: 100%;
    background-color: #FADADD;
    background-position: center;
    background-size: cover;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
    .mh-210 {
        max-height: 210px;
        object-fit: cover; /* Ensures the image fills the area without distortion */
    }
    
    .mh-420 {
        max-height: 420px;
        object-fit: cover; /* Ensures the image fills the area without distortion */
    }
}



/* GENERAL */

.background {
	height: 100%;
	width: 100%;
}

.bg-txt {
	align-self: right;
	color: white;
	text-shadow: 0px 3px 4px rgba(0,0,0,0.8);
	text-shadow: 0px 8px 13px rgba(0,0,0,0.6);
	text-shadow: 0px 18px 23px rgba(0,0,0,0.4);
}



/* Masonry Content */
.main-page-content {
	margin-left: 260px;
	width: auto;
	overflow: hidden;
	position: relative;
}

.grid-item { 
	margin-top: 20px;
	width: 370px;
	display: flex;
	overflow: hidden;
}

.grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.masonry-caption {
	position: absolute;
	justify-content: center;
	align-items: center;
	width: 100%;
	background: rgba(1,1,1,0.6);
	bottom: 30px;
	box-shadow: 0 0 5px 2px rgba(0,0,0,0.4),
		0 0 10px 4px rgba(0,0,0,0.2);
	margin: none;
	padding: none;
}

.phone-width-about-heading {
	display: none;
}

/* Modal Windows */

#who-modal {
	background: rgba(0,0,0,0.7);
}

.modal-bg {
	width: 100%;
}

.modal-content, .modal-header, .modal-footer {
	background: #111;
}

.modal-header h5 {
	margin: 0;
}

.modal-content h5 {
	color: #1abc9c;
}


.modal-footer, .modal-header {
	border-color: #1abc9c;
}

.custom-btn-color {
	color: #1abc9c;
}

.custom-btn-color:hover {
	color: #3cdebe;
}

.close {
	color: red;
}

.tab {
	text-indent: 40px;
}




/* IDK WHAT I'M DOING DOWN HERE, BE CAREFUL */

/* Resizing */

@media screen and (max-width: 1023px) and (min-width: 786px) {
	.about-page-content {
		margin-left: 100px;
	}
	.sidebar, #pseudo-sidebar {
		width: 90px;
	}
	.sidebar-extended-titles {
		display: none;
	}
}

@media screen and (max-width: 785px) and (min-width: 400px) {
	.about-page-content {
		margin-left: 100px;
	}
	.sidebar, #pseudo-sidebar {
		width: 90px;
	}
	.sidebar-extended-titles {
		display: none;
	}
}


@media screen and (max-width: 399px) {
	.about-page-content {
		margin: 5%;
	}
	.sidebar-toggle {
		transform:translate3d(1px,0,0);
		transition: 0.5s ease-out;
	}
	.sidebar, #pseudo-sidebar {
		width: 200px;
		transform:translate3d(-230px,0,0);
		transition: 0.3s ease-in;
	}
	.grid-item {
		width: 100%;
	}
	.phone-width-about-heading {
		display: block;
	}
}


/*------  LANDING PAGE ANIMATIONS  ------*/

img.bg-img { /*Universal to bg images*/
	min-height: 100%;
	width: 100%;
	height: auto;
	position: fixed;
	top: 0;
	left: 0;
	-webkit-transition: opacity 5s ease-in-out;
	-moz-transition: opacity 5s ease-in-out;
	-o-transition: opacity 5s ease-in-out;
	transition: opacity 5s ease-in-out;
}

@keyframes FadeInOut {
	/*	22.2222% - Fully visible
		11.1111% - Transition from visible to hidden
		55.5556% - Fully hidden
		11.1111% - Transition from hidden to visible */	
	0% { 
		opacity: 0;
		z-index: -1;
	}
	55.5556% {
		opacity: 0;
		z-index: -1;
	}
	66.6667% {
		opacity: 1;
		z-index: 0;
	}
	88.8889% {
		opacity: 1;
		z-index: 0;
	}
	100% {
		opacity: 0;
		z-index: -1;
	} 
}

@keyframes FadeInOutCredits {
	/*	22.2222% - Fully visible
		11.1111% - Transition from visible to hidden
		55.5556% - Fully hidden
		11.1111% - Transition from hidden to visible */
	/* Separate due to Z-index - Credit links need to be clickable */
	0% { 
		opacity: 0;
		z-index: -1;
	}
	55.5556% {
		opacity: 0;
		z-index: -1;
	}
	66.6667% {
		opacity: 1;
		z-index: 2;
	}
	88.8889% {
		opacity: 1;
		z-index: 2;
	}
	100% {
		opacity: 0;
		z-index: -1;
	} 
}

/* First Image */

img.skyline {	/*image specific*/
	min-width: 1350px;
	z-index: -1;
	animation: FadeInOut;
	animation-iteration-count: infinite;
	animation-duration: 18s;
	animation-delay: 12s;
}

@media screen and (max-width: 1350px) { 
	img.skyline {
		left: 50%;
		margin-left: -675px;   /* 50% */
	}
}


/* Second Image */

img.code {	/*image specific*/
	min-width: 2048px;
}

@media screen and (max-width: 2048px) { 
	img.code {
		left: 50%;
		margin-left: -1024px;   /* 50% */
		opacity: 0;
		z-index: -2;
		animation: FadeInOut;
		animation-iteration-count: infinite;
		animation-duration: 18s;
		animation-delay: 6s;
	}
}

/* Third Image */

img.piano {	/*image specific*/
	min-width: 1504px;
	z-index: -2;
	animation: FadeInOut;
	animation-iteration-count: infinite;
	animation-duration: 18s;
	animation-delay: 0s;
}

@media screen and (max-width: 1504px) { 
	img.piano {
		left: 50%;
		margin-left: -752px;   /* 50% */
	}
}

.bg-filter {
	z-index:1;
    background-color: rgba(25, 25, 25, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@keyframes fadeInAnimation { 
	0% { 
		opacity: 0; 
	} 
	100% { 
		opacity: 1;
	} 
} 

.delayed {
	opacity: 0;
	animation: 2s fadeInAnimation ease-in 4s 1 forwards;
}

.glitch {
  position: relative;
  color: white;
  mix-blend-mode: lighten;

  }
  &:before,
  &:after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      width: 100%;
      background: black;
      clip: rect(0, 0, 0, 0);
  }
  
  &:before {
      left: -1px;
      text-shadow: 1px 0 rgba(red,0.7);
  }

  &:after {
      left: 1px;
      text-shadow: -1px 0 rgba(blue,0.7);
  }

  &:hover {
    &:before {
      text-shadow: 4px 0 rgba(red,0.7);
      animation: glitch-loop-1 0.8s infinite ease-in-out alternate-reverse;
    }
    &:after {
      text-shadow: -5px 0 rgba(blue,0.7);
      animation: glitch-loop-2 0.8s infinite ease-in-out alternate-reverse;
    }
  }
}

@keyframes glitch-loop-1 {
  0% { clip: rect(36px, 9999px, 9px, 0) }
  25% { clip: rect(25px, 9999px, 99px, 0) }
  50% { clip: rect(50px, 9999px, 102px, 0) }
  75% { clip: rect(30px, 9999px, 92px, 0) }
  100% { clip: rect(91px, 9999px, 98px, 0) }
}

@keyframes glitch-loop-2 {
  0% { top: -1px; left: 1px; clip: rect(65px, 9999px, 119px, 0) }
  25% { top: -6px; left: 4px; clip: rect(79px, 9999px, 19px, 0) }
  50% { top: -3px; left: 2px; clip: rect(68px, 9999px, 11px, 0) }
  75% { top: 0px; left: -4px; clip: rect(95px, 9999px, 53px, 0) }
  100% { top: -1px; left: -1px; clip: rect(31px, 9999px, 149px, 0) }
}
