/* main.css */
/* font */
@font-face {
  font-family: font1;
  src: url(font/Arizonia_regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: Visby;
  src: url(font/VisbyCF-Bold.otf);
  font-weight: bold;
}

@font-face {
  font-family: Visby;
  src: url(font/VisbyCF-Medium.otf);
  font-weight: medium;
}

/* object attribute */
.center-absolute {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.center-relative {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.center-relative-inline {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* item */
a {
  text-decoration: none;
  color: #777;
  /* font-weight: bold; */
}

a:hover {
  color: #9cf;
}

input {
  font-size: 20px;
  font-family: "Visby";
  width: 200px;
  padding: 10px;
  margin: 5px;
  border: 2px solid #ddeffe;
  border-radius: 2px;
  text-align: center;
}

input[type=submit] {
  font-size: 20px;
  background-color: #8ba4b8;
  color: #ebf2f7;
}

.icon {
  width: 80px;
}

p {
  padding: 0px 50px 0px 50px;
}
/* body */
html {
  font-family: "Visby", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  letter-spacing: 1px;
}

body::after {
  content: "";
  background: url('../media/head/wood-table.jpg');
  background-repeat: repeat-y;
  opacity: .3;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
}

/* ./head */
.head {
  display: block;
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 800px;
  border-bottom: 5px solid #fff;
  box-shadow: 0px 0px 35px 0px #555;
  /* text-shadow: 0px 2px 5px #555; */
  background: url('../media/head/bg-1.jpg');
  opacity: .95;
  background-size: cover;
}

.head-title {
  max-width: 300px;
  z-index: 20;
  top: 80px;
  color: #fff;
  font-family: "Visby";
  font-size: 4em;
  text-align: center;
  text-shadow: 0px 5px 8px rgb(0, 0, 0);
  filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, .2));
}

.head-caption {
  z-index: 20;
  color: #fff;
  top: 250px;
  font-family: "Visby";
  font-size: 1.4em;
  text-align: center;
  text-shadow: 0px 5px 8px rgba(0, 0, 0, .7);
}

.head-continue {
  border: 0px;
  top: 570px;
}

.head-continue-image {
  width: 50px;
}

/* nav */
.nav {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 50px;
  z-index: 100;
  background-color: rgb(27, 35, 43);
  /* background-color: #999; */
  opacity: 80%;
  text-align: center;
  /* box-shadow: 0px 0px 1px 1px #535960; */
  /* border-radius: 0px 0px 4px 4px; */
  /* transform: rotateZ(90deg); */
  transition: opacity .5s;
}

.nav a {
  color: #fff;
}

.nav a:hover {
  color: #faa;
}

.nav-item {
  font-size: 1.6em;
  display: inline-block;
  padding: 7px 5px 12px 5px;
}

/* content main */
.content {
  z-index: 20;
  opacity: 1;
  top: 650px;
  max-width: 900px;
  color: #666;
  box-shadow: 0px 0px 10px -5px #555;
  /* border-radius: 5px; */
}

.block {
  z-index: 10;
  display: block;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  padding: 5px 5px 5px 5px;
  text-align: center;
  background-color: rgba(109, 132, 150, 0.1);
  opacity: 100%;
  /* border-radius: 5px; */
}

.block-item {
margin: 50px 0px 50px 0px;
}

.block:hover {}

.block::before {
  top: 100px;
}

.block-title {
  z-index: 20;
  font-size: 1.6em;
  padding: 20px;
  margin: 0px 0px 0px 0px;
  border-radius: 1px 1px 0 0;
  background-color: rgb(59, 107, 63);
  color: #ffffff;
  /* box-shadow: 0px 5px 10px -3px #666; */
}

.block-subtitle {
  width: 90%;
  z-index: 20;
  font-size: 1.4em;
  padding: 10px;
  margin: 20px 0px 20px 0px;
  border-radius: 15px 15px 0 0;
  background-color: rgb(123, 183, 127);
  color: #ffffff;
  /*  box-shadow: 0px 5px 10px -3px #666; */
}

.block:nth-child(odd) {
  background-color: #ffffff;
}

.block:nth-child(even) {
  background-color: #ffffff;
}

.block-1-img {
  width: 50px;
  padding: 20px;
}

/* footer */
.foot {
  z-index: 50;
  top: 650px;
  padding: 20px 0px 20px 0px;
  background-color: #1b232b;
  color: #fff;
}

.foot img{
  width: 50px;
  margin: 10px;
}

/* media */
video {
  width: 100%;
  border-radius: 10px;
  background-color: rgb(0, 0, 0);
}

audio {
  width: 100%;
  margin: 0px 0px 20px 0px;
}

.audio-item {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}

/* effect */
.gallery {
  display: inline-block;
  position: relative;
  padding: 5px;
  margin: 3px;
  width: 250px;
  /* box-shadow: 0px 0px 10px -5px #555; */
  /* border-radius: 5px; */
}

.effect-1:hover {
  transition: transform .2s;
  transform:
    scale(1.1) rotate(-2deg) translate(0px, 0px);
}
