/* CSS files add styling rules to your content */

@font-face {
  font-family: Libertinus; 
  src: url("LibertinusSerif-Regular.ttf");
}

@font-face {
  font-family: Libertinus-Italic; 
  src: url("LibertinusSerif-Italic.ttf");
}

@font-face {
  font-family: Libertinus-Bold; 
  src: url("LibertinusSerif-Bold.ttf");
}

@font-face {
  font-family: Libertinus-Bold-Italic; 
  src: url("LibertinusSerif-BoldItalic.ttf");
}

@font-face {
  font-family: Open-Sans; 
  src: url("Open Sans.ttf");
}

@font-face {
  font-family: Open-Sans-Italic; 
  src: url("Open Sans Italic.ttf");
}

@font-face {
  font-family: Open-Sans-Light; 
  src: url("Open Sans Light.ttf");
}

@font-face {
  font-family: Young-Serif; 
  src: url("Young Serif.ttf");
}
 


* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Libertinus, Libertinus-Italic, Libertinus-Bold;
  margin: 2em;
  background-color: #e4f1ff;
}

a {
  color: #577cbe;
}

h1 {
  font-family: Libertinus, Libertinus-Italic;
  font-size: 75px;
  font-style: normal;
  font-weight: 250;
  letter-spacing: 2px;
  word-spacing: 10px;
  color: #f1aa9b;
  background-color: white;
}

h2 {
  font-size: 30px;
  font-family: Libertinus, Libertinus-Italic;
  line-height: 150%;
}

h3 {
  font-family: Libertinus, Libertinus-Italic;
  font-size: 30px;
  font-style: regular;
  line-height: 120%;
  color: black;
  padding: 0px;
}

h4 {
  font-size: 31px;
    font-family: Libertinus, Libertinus-Italic;
  line-height: 150%;
  text-align: center;
  color: #496eb4;
  font-style: regular;
}

h5 {
  font-family: Libertinus, Libertinus-Italic;
  font-size: 25px;
  font-style: regular;
  padding-bottom: 5px;
  text-align: left
}

.repeat {
  background-image: url("repeat.png");
  background-repeat: repeat;
  background-color: #e4f1ff;
}


.header {
  padding: 0px; 
  text-align: center; 
  background: white; 
  color: white; 
}

.headerimage {
  flex: 100%;
  background-color: white;
  padding: 0px 0px 0px 0px;
}

.nav {
  overflow: hidden;
  background-color: white;
}

.nav a {
  float: left;
  color: #496eb4;
  text-align: center;
  padding: 14px 44px;
  text-decoration: none;
  font-size: 22px;
}

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

.nav .icon {
  display: none;
}

.nav a.active {
  background-color: #f1aa9b;
  color: white;
}


* {
  box-sizing: border-box;
}


.row {
  display: flex;
  flex-wrap: wrap;
}


.side {
  flex: 20%; 
  padding: 20px; 
}


.main {
  flex: 68%; 
  padding: 20px; 
}

.filler {
  flex: 4%;
}

@media screen and (max-width: 800px) {
  .side, .main, .filler {
    width: 100%; 
  }
}


@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
    flex: 100%;
  }
}

@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}


@media screen and (max-width: 600px) {
  .nav a:not(:first-child) {display: none;}
  .nav a.icon {
    float: right;
    display: block;
  }
}


@media screen and (max-width: 600px) {
  .nav.responsive {position: relative;}
  .nav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}


.card {
  background: white;
  padding: 20px 50px 40px 50px;
  text-align: left;
  color: black;
  line-height: 150%;
  font-family: Open-Sans;
  font-size: 16px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.centercard {
  padding: 20px 30px 20px 30px;
  text-align: center;
  background-color: white;
  font-family: Open-Sans;
  color: black;
  line-height: 150%;
  word-spacing: 3px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.centercard.show {
  opacity: 1;
  transform: translateY(0);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.about {
  font-family: Open-Sans;
  font-size: 18px;
  background: #496eb4;
  padding: 20px 20px;
  text-align: left;
  color: white;
  line-height: 150%;
}

.abouttitle {
  flex: 45%;
  text-align: center;
  padding: 0px 10px 0px 10px;
}

.abouttext {
  flex: 55%;
  text-align: left;
  padding: 20px 30px 0px 30px;
}


.footer {
    padding: 10px 30px 12px 30px; 
  text-align: left; 
  background: #fffbf5;
  font-size: 12px;
}





/* IMAGE THIRDS */

.imagethird {
  float: left;
  width: 33.33%;
  padding: 5px;
}

.imagethird img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 500px) {
  .imagethird {
    width: 100%;
  }
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

/* IMAGE HALVES */

.imagehalve {
  float: left;
  width: 50%;
  padding: 5px;
}

.imagehalve img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 500px) {
  .imagehalve {
    width: 100%;
  }
}

/* IMAGE FULL */
  
.imagefull {
  float: left;
  width: 100%;
  padding: 5px;
}

.imagefull img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 500px) {
  .imagefull {
    width: 100%;
  }
}
  
/* END OF IMAGES */



/* YOUTUBE */

.youtube {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.youtube {
	padding-bottom:56.25%;
  height:0;
  position:relative;
	padding-top:30px;
	overflow:hidden;
}
.youtube iframe, 
.youtube object, 
.youtube embed {
	position:absolute;
	left:0;
  top:0;
	width:100%;
	height:100%;
}

/* END OF YOUTUBE */




@media screen and (max-width: 600px) {
  .nav a:not(:first-child) {display: none;}
  .nav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .nav.responsive {position: relative;}
  .nav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}



