/* import josefin sans font family */
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:400,700');

body {
  background-position: bottom right;
  background-attachment: fixed;
  background-image: url('./bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Josefin Sans", sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, p {
  text-align: center;
}
.center {
  text-align: center;
}

.video {
  margin: 0;
  overflow: hidden;
  flex: 1;
  aspect-ratio: 16/9;
}

.flex-layout{
  display: flex;
  gap: 2em;
  max-width: 90%;
  text-align: center;
  margin: auto;
}

.text-section {
  width: 600px;
  text-align: center;
}

.text-card{
  margin: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
}

#g-top{
  -webkit-text-size-adjust: 100%;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Josefin Sans";
  font-weight: 400;
  box-sizing: inherit;
  display: block;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.00);
  color: #fff;
  background-image: url('./headerbg.jpg');
  background-size: cover;
  background-position: 50%;
}

.g-container {
  -webkit-text-size-adjust: 100%;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Josefin Sans";
  font-weight: 400;
  color: #fff;
  box-sizing: inherit;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.g-grid{
  -webkit-text-size-adjust: 100%;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Josefin Sans";
  font-weight: 400;
  color: #fff;
  box-sizing: inherit;
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  text-rendering: optimizespeed;
}

.g-block{
  -webkit-text-size-adjust: 100%;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Josefin Sans";
  font-weight: 400;
  color: #fff;
  list-style: none;
  text-rendering: optimizespeed;
  box-sizing: inherit;
  min-width: 0;
  min-height: 0;
  width: 100%;
  -webkit-box-flex: 0;
  flex: 0 100%;
  text-align: right !important;
}

.g-content{
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Josefin Sans";
  color: #fff;
  list-style: none;
  text-rendering: optimizespeed;
  box-sizing: inherit;
  padding: 0;
  margin: 5px 3.5em;
  text-align: right;
  font-size: 1.5em;
  font-weight: bold;
}

.white-link {
  color: #fff;
  text-decoration: none;
}

.nav-logo{
  height: 120px;
}

.navigation{
  height: 100px;
  margin-bottom: 40px;
  background: white;
  position: relative;
}

@media(max-width: 1400px){
  .text-section {
    width: 500px;
  }
}

@media(max-width: 1080px) {
  .flex-layout{
    flex-direction: column;
  }
  .text-section {
    width: 100%;
  }
  .navigation{
    text-align: center;
  }
}