@import url("nav-menu.css");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam&display=swap');
/* reset*/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	border:0;
}
.video embed,
.video object,
.video iframe {
	width: 100%;
	height: auto;
}
video {
	width: 90%;
	height: auto;
}
* {
  box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 100%;
    color: #595959;
    background-color: #fff;
}
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    margin: 2% 0 0 0;
    color: #114a8a;
}
p {
    line-height: 1.5;
    padding: 1%;
}
.container {
    width: 90%;
    margin: 1% auto;
}
.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}
.column-home {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  margin: 2% 0;
}
.double-column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
}
/** keep image from streching in flex column**/
.nostretch {
	align-self: center;
}
.logo {
    align-self: flex-start;
}
.header-info {
    font-size: 113%;
    text-align: right;
}
.footer-text {
    text-align: center;
    font-size: 88%;
    padding: 0;
}
.outer-box {
	border: 1px solid #e6e6e6;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	margin: 2% 0;
}
.help-project {
    width: 140px;
    text-align: center;
    margin: 0 auto;
}
ul.content-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	/*display: inline-block; */
	text-align: left;
}
.content-list li {
	padding: 4% 0;
    font-weight: bold;
}
.content-list li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0da  ";
  color: #f00;
}
footer {
    margin-top: 2%;
}
.letter-date {
    text-align: right;
}
.centerit {
    text-align: center;
    margin: 0 auto;
}
.home-titles {
    font-size: 150%;
    margin: 2% 0;
}
a:link {
    color: #114a8a;
    text-decoration: none;
}
a:visited {
    color: #114a8a;
}
a:hover {
    color: #ed1c24;
}
/** For Gallery Photos **/
.gallery {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30ch, 1fr));
   /* grid-template-columns: auto auto auto;*/
  gap: 1rem;
}

.gallery img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: var(--gallery-height);
  transform: scale(1) translate(0, 0);
  transition: transform 1200ms ease-in;
}

.gallery figure {
  --gallery-height: 15rem;
  --gallery-aspect-ratio: 4/3;
  /* reset figure default margin */
  margin: 0;
  height: var(--gallery-height);
  background-color: #010709;
  display: grid;
  grid-template-areas: "card";
  place-items: end;
  border-radius: 0.5rem;
  overflow: hidden;
}

@supports (aspect-ratio: 1) {
  .gallery figure,
.gallery img {
    aspect-ratio: var(--gallery-aspect-ratio);
    /* Remove height to prevent distorting aspect-ratio */
    height: auto;
  }
}
.gallery figure > * {
  grid-area: card;
}

.gallery figcaption {
  transition: transform 800ms 400ms ease-in;
  /* Visual styles for the caption */
  padding: 0.25em 0.5em;
  border-radius: 4px 0 0 0;
  background-color: rgba(255, 255, 255, 0.87);
  /* provide stacking context */
  z-index: 1;
}

.gallery figure:hover figcaption,
.gallery figure:focus figcaption {
  transform: translateY(0);
}

.gallery figure:hover img,
.gallery figure:focus img {
  transform: scale(1.3) translate(-8%, -3%);
}

.gallery figure:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .gallery figcaption {
    transform: translateY(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery * {
    transition-duration: 0ms !important;
  }

  .gallery img {
    transform: none !important;
  }

  .gallery figcaption {
    transition-delay: 0ms;
  }
}
/* Vignette */
.gallery figure::after {
  content: "";
  grid-area: card;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 2rem 1rem rgba(0, 0, 0, 0.65);
  position: relative;
}
/** end of gallery **/
/** annimate things **/
.js-scroll {
  opacity: 0;
  transition: opacity 500ms;
}

.js-scroll.scrolled {
  opacity: 1;
}

.scrolled.fade-in {
  animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
  animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
  animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
  animation: slide-in-right 1s ease-in-out both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-2-11 23:32:31
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/** button **/
button {
	background: #ED1C24;
	color: #fff;
	border: none;
	position: relative;
	font-size: 113%; 
	padding: 2%;
	cursor: pointer;
	transition: 800ms ease all;
	outline: none;
    border-radius: 4px;
}
button:hover {
  background:#fff;
  color:#ED1C24;
}
button:before,button:after {
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #ED1C24;
  transition:400ms ease all;
}
button:after {
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
button:hover:before,button:hover:after {
  width:100%;
  transition:800ms ease all;
}

/** stick note for testimonials **/
.postit {
    margin-bottom: 8%;
}
.sticky-text {
    padding: 1% 6% 0 2%;
}
/* Some positioning and ratios */
.sticky-container {
  max-width: 75%;
  position: relative;
}

.sticky-outer {
  display: flex;
  padding-top: 92.5925926%;
  position: relative;

  width: 100%;
}

.sticky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Shadow behind the sticky note */
.sticky:before {
  box-shadow: -2px 2px 15px 0 rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.25);
  content: '';
  width: 90%;
  left: 5px;
  height: 75%;
  position: absolute;
  top: 30%;
}

/* The sticky note itself */
.sticky-content {
 /* background: linear-gradient(
    180deg,
    rgba(187, 235, 255, 1) 0%,
    rgba(187, 235, 255, 1) 12%,
    rgba(170, 220, 241, 1) 75%,
    rgba(195, 229, 244, 1) 100%
  );*/
    background: linear-gradient(135deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  width: 100%;
  height: 100%;

  /*display: flex;
  justify-content: center;
  align-items: center;*/
  font-family: 'Kalam', cursive;
 font-size: 125%;

  clip-path: url(.stickyClip);
}
