.class1 {
  text-align: left;
}

.class2 {
  text-align: center;
}

.class3 {
  text-align: right;
}

body {
  -webkit-text-size-adjust: 100%;
}

header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0px;
  background: #a0d8ef;
  box-sizing: border-box;
}

.title:before {
  position: relative;
  top: 5px;
  margin: 0 10px 0 0;
  content: url('./images/646025.png');
}

main {
  margin-top: 200px;
}

.margin2 {
  margin-top: 100px;
}

.margin3 {
  margin-top: 50px;
}

.green{
  color:#00ff00;
  font-size: 35px;
  font-weight: bold;
}

.pink{
  color:#FF99CC;
  font-weight: bold;
}

p {
  font-size: 30px;
  line-height: 130%;
}

a {
  font-size: 30px;
  line-height: 130%;
}

h1 {
  font-size: 50px;
}

h2 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  font-size: 40px;
  color: #000000;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  padding: 0.3em 0;
  border-top: solid 10px #ffee07;
  border-bottom: solid 10px #ffee07;
  width: 600px;
}

h3 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  padding: 5px 26px 5px 42px;
  background: #fff0d9;
  font-size: 35px;
  font-style: italic;
  color: #522f60;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  width:80%;
  line-height: 1.3;
  border-bottom: solid 3px orange;
  z-index:-2;
}

h3:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index: -1;
}

h3:after {
  position: absolute;
  content: '';
  right: -3px;
  top: -7px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px transparent;
  border-bottom: solid 79px white;
  z-index: -1;
}

h4 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  font-size: 25px;
  color: #000000;
  letter-spacing: 0.1em;
  text-indent: 0.3em;
  padding: 0.3em 0;
  border-top: solid 8px #89bdde;
  border-bottom: solid 8px #89bdde;
  width: 600px;
}

.text-line-parent {
  display: flex;
  justify-content:center;
  height: 50px;
  margin-top: 10px;
  margin-bottom: 0px;
}

.text-line {
  width: 80%;
  display: flex;
  align-items: center;
  letter-spacing: 2em;
  text-indent: 2em;
}

.text-line:before,
.text-line:after {
  content: "";
  flex-grow: 1;
  border-top: 4px dotted #444;
}

.text-line-parent2 {
  display: flex;
  justify-content:center;
  height: 50px;
  margin-top: 50px;
  margin-bottom: 0px;
}

.text-line2 {
  width: 80%;
  display: flex;
  align-items: center;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
}

.text-line2:before,
.text-line2:after {
  content: "";
  flex-grow: 1;
  border-top: 4px dotted #444;
}

.container-parent {
  display: flex;
  justify-content:center;
  /*background-color: red;*/
}

.container {
  display: flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  /*background-color: yellow;*/
  width: 90%;
}

.container-child {
  displlay: flex;
  justify-content:center;
  flex-direction: column;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  width: 49%;
  /*background-color: blue;*/
}

video {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: auto;
}

.video2 {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border: solid 1px;
}

.img-db {
  width: 100%;
  height: auto;
  margin: auto;
  border: solid 1px ;
}

.hr1 {
  border-top: 10px double #aaa;
}

.slideshow_parent {
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 800px;
  height: 600px;
}

.slideshow {
  position: absolute;
  width: 80vw;
  max-width: 800px;
  height: 60vw;
  max-height: 600px;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: cover;
  animation-name: reitaphotos;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 32s;
  opacity: 1;
  transform: scale(1.2);
}
.slideshow-image:nth-child(1) {
  animation-name: reitaphotos-1;
  z-index: 7;
}
.slideshow-image:nth-child(2) {
  animation-name: reitaphotos-2;
  z-index: 6;
}
.slideshow-image:nth-child(3) {
  animation-name: reitaphotos-3;
  z-index: 5;
}
.slideshow-image:nth-child(4) {
  animation-name: reitaphotos-4;
  z-index: 4;
}
.slideshow-image:nth-child(5) {
  animation-name: reitaphotos-5;
  z-index: 3;
}
.slideshow-image:nth-child(6) {
  animation-name: reitaphotos-6;
  z-index: 2;
}
.slideshow-image:nth-child(7) {
  animation-name: reitaphotos-7;
  z-index: 1;
}
.slideshow-image:nth-child(8) {
  animation-name: reitaphotos-8;
  z-index: 0;
}

@keyframes reitaphotos-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  0.78125% {
    opacity: 1;
  }
  11.71875% {
    opacity: 1;
  }
  13.28125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
  99.21875% {
    opacity: 0;
    transform: scale(1.2117647059);
  }
  100% {
    opacity: 1;
  }
}
@keyframes reitaphotos-2 {
  11.71875% {
    opacity: 1;
    transform: scale(1.2);
  }
  13.28125% {
    opacity: 1;
  }
  24.21875% {
    opacity: 1;
  }
  25.78125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes reitaphotos-3 {
  24.21875% {
    opacity: 1;
    transform: scale(1.2);
  }
  25.78125% {
    opacity: 1;
  }
  36.71875% {
    opacity: 1;
  }
  38.28125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes reitaphotos-4 {
  36.71875% {
    opacity: 1;
    transform: scale(1.2);
  }
  38.28125% {
    opacity: 1;
  }
  49.21875% {
    opacity: 1;
  }
  50.78125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes reitaphotos-5 {
  49.21875% {
    opacity: 1;
    transform: scale(1.2);
  }
  50.78125% {
    opacity: 1;
  }
  61.71875% {
    opacity: 1;
  }
  63.28125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes reitaphotos-6 {
  61.71875% {
    opacity: 1;
    transform: scale(1.2);
  }
  63.28125% {
    opacity: 1;
  }
  74.21875% {
    opacity: 1;
  }
  75.78125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes reitaphotos-7 {
  74.21875% {
    opacity: 1;
    transform: scale(1.2);
  }
  75.78125% {
    opacity: 1;
  }
  86.71875% {
    opacity: 1;
  }
  88.28125% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes reitaphotos-8 {
  86.71875% {
    opacity: 1;
    transform: scale(1.2);
  }
  88.28125% {
    opacity: 1;
  }
  99.21875% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}