html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}
.intro {
  height: 100%;
  width: 100%;
  margin: auto;
  background: url(Image/modern1200-min.jpg);
  display: table;
  top: 0;
  background-size: cover;
}
.button {
  background-color: #800000; /* Green */
  border: rgb(194, 199, 201);
  border-style: solid;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 8px;
}
.button:hover {
  background-color: #0582e3;
  color: white;
}
.red {
  color: #800000;
}
.flip {
  height: 240px;
  width: 240px;
}

.flip:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip .flip-inner {
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  height: 100%;
  width: 100%;
}

.flip .flip-inner .front,
.flip .flip-inner .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  overflow: hidden;
}

.flip .flip-inner .front {
  transform: translateZ(1px);
}

.flip .flip-inner .back {
  transform: rotateY(180deg);
}

.flip .flip-inner .thumbnail {
  width: 100%;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 3rem;
}

h1,
h2 {
  font-weight: 200;
  margin: 0.4rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2rem;
  color: #aaa;
}

/* Cursor */
.txt-type > .txt {
  border-right: 0.2rem solid #777;
}

@media (min-width: 1200px) {
  h1 {
    font-size: 5rem;
  }
}

@media (max-width: 800px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
