@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;500;600;700;800&display=swap');

@font-face {
	font-family: 'GI';
	src: url('../fonts/gi-bold-web.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'GI';
	src: url('../fonts/gi-regular-web.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}


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

html {
  color: #333;
  font-family: 'Open Sans', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-color: #ecf0f9;
  background-attachment: fixed;
}

.content {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
}
hr {
	height: 2rem;
  color: none;
  border: none;
}

@media (max-width: 575px) {
    hr {
		height: 2 rem;
	}
  }

.color-white {
    color: #fff;
}


a {
    color: #ff9900;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #dc3522;
    outline: 0;
    text-decoration: none;
}

h1 {
    font-family: 'Merriweather Sans', sans-serif;
	font-size: 6.5rem;
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	padding: 2rem 0;
}

@media (max-width: 575px) {
    h1 {
		font-size: 3.8rem;
		font-weight: 700;
		line-height: 1.8;
    }
  }

  h2 {
    font-family: 'Merriweather Sans', sans-serif;
	font-size: 3.5rem;
	font-weight: 400;
	line-height: 1.3;

}

@media (max-width: 575px) {
    h2 {
		font-size: 3rem;
		font-weight: 300;
		line-height: 1.2;
    }
  }

h3 {
	font-family: 'Righteous', sans-serif;
	font-size: 55px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 575px) {
    h3 {
		font-size: 35px;
		font-weight: 500;
		line-height: 1.5;
    }
  }

h4 {
	font-size: 2em;
	font-weight: 500;
	font-style: italic;
	line-height: 1.3;
	text-align: center;
	padding: 2rem 0;
}

@media (max-width: 575px) {
    h4 {
		font-size: 1.6em;
		font-weight: 500;
		line-height: 1.4;
    }
  }

h5 {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: 30px;
}

@media (max-width: 575px) {
    h5 {
		font-size: 2.5rem;
		font-weight: 700;
		line-height: 1.5;
    }
  }

h6 {
	font-size: 2rem;
	font-weight: 400;
	line-height: 2.1;
}


.info {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
}

.info h1 {
  font-size: 5rem;
  line-height: 1.2;
  font-weight: 700;
  padding-top: 1rem;
  text-align: center;
}
 
.info h2 {
  font-size: 2rem;  
  font-weight: 600;
  line-height: 1.2;
  padding-bottom: 1rem;
  padding-top: 3rem;
}

.info p {
  font-size: 1.5rem;
  line-height: 2.2rem;
  margin-bottom: 1rem;
}

.info .dateline {
  font-size: 1.8rem;
  line-height: 2.8rem;
  margin-bottom: 2rem;
  font-style: italic;
  text-align: le;
}

@media screen and (max-width: 575px) {
  .info  {
    max-width: 80vw;
  }
  .info h1 {
    font-size: 3rem;
    line-height: 1.5;
  }
  .info h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .info p {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
  .info .dateline {
    font-size: 1.5rem;
  }
}

img {
  padding-top: 1rem;
	width: 100%;
	height: auto;
	background-size: cover;  
  }

  figure {
    padding: 1rem;
    margin: 1rem;
  }
  
  figcaption {
    font-style: italic;
    margin: 1rem 1rem;
    padding: 0 2rem;
  }

  @media screen and (max-width: 575px) {
    figcaption {
      margin: 1rem 0.1rem;
      padding: 0 0.1rem;
    }
  }

.heading {
  width: 100%;
  margin-left: 1rem;
  font-weight: 900;
  font-size: 1.618rem;
  text-transform: uppercase;
  letter-spacing: 0.1ch;
  line-height: 1;
  padding-bottom: 0.5em;
  margin-bottom: 1rem;
  position: relative;
}
.heading:after {
  display: block;
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #1a9be6, #1a57e6);
  bottom: 0;
}

.description {
  width: 100%;
  margin-top: 0;
  margin-left: 1rem;
  margin-bottom: 3rem;
}

.card {
  color: inherit;
  cursor: pointer;
  width: calc(33% - 2rem);
  min-width: calc(33% - 2rem);
  height: 300px;
  min-height: 300px;
  perspective: 1000px;
  margin: 1rem;
  position: relative;
}
@media screen and (max-width: 800px) {
  .card {
    width: calc(45% - 1rem);
  }
}
@media screen and (max-width: 575px) {
  .card {
    width: 100%;
    height: 300px;
    min-height: 350px;
  }
}

.front,
.back {
  display: flex;
  border-radius: 6px;
  font-size: 1.1rem;
  background-position: center;
  background-size: cover;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: ease-in-out 600ms;
}

.front {
  background-size: cover;
  padding: 2rem;
  font-size: 1.618rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  font-family: Poppins, sans-serif;
}
.front:before {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a9be6, #1a57e6);
  opacity: 0.25;
  z-index: -1;
}
.card:hover .front {
  transform: rotateY(180deg);
}
.card:nth-child(even):hover .front {
  transform: rotateY(-180deg);
}

.back {
  background: #fff;
  transform: rotateY(-180deg);
  padding: 0 2em;
}

.back a {
  color: #031c3a;
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
  text-decoration: none;
}

.back a:hover,
a:focus {
  color: #031c3a;
  outline: 0;
  text-decoration: none;
}

.back .button {
  background: linear-gradient(135deg, #1a9be6, #1a57e6);
}
.back .button:before {
  box-shadow: 0 0 10px 10px rgba(26, 87, 230, 0.25);
  background-color: rgba(26, 87, 230, 0.25);
}
.card:hover .back {
  transform: rotateY(0deg);
}
.card:nth-child(even) .back {
  transform: rotateY(180deg);
}
.card:nth-child(even) .back .button {
  background: linear-gradient(135deg, #1a9be6, #1a57e6);
}
.card:nth-child(even) .back .button:before {
  box-shadow: 0 0 10px 10px rgba(230, 26, 60, 0.25);
  background-color: rgba(230, 26, 60, 0.25);
}
.card:nth-child(even):hover .back {
  transform: rotateY(0deg);
}

.button {
  transform: translateZ(40px);
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  font-weight: bold;
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 100px;
  font: inherit;
  border: none;
  position: relative;
  transform-style: preserve-3d;
  transition: 300ms ease;
}
.button:before {
  transition: 300ms ease;
  position: absolute;
  display: block;
  content: "";
  transform: translateZ(-40px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  border-radius: 100px;
  left: 10px;
  top: 16px;
}
.button:hover {
  transform: translateZ(55px);
}
.button:hover:before {
  transform: translateZ(-55px);
}
.button:active {
  transform: translateZ(20px);
}
.button:active:before {
  transform: translateZ(-20px);
  top: 12px;
}

.credit{
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
}

@media screen and (max-width: 575px) {
  .credit  {
    font-size: 0.8rem;
  }
}
