@charset "UTF-8";
html{
  font-size: 100%;
}
a{
  text-decoration: none;
}
img{
  max-width: 100%;
}
footer{
  background: #000;
  text-align: center;
  padding: 26px 0;
  position: relative;
  bottom: 0;
}
footer p{
  color: #fff;
  font-size: 0.875rem;
}
body{
  font-family: 'Libre Baskerville', serif;
  line-height: 1.7;
}
nav{
  display: none;
  top:0;
  position: absolute;
  background:rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;

}
.main-nav{
position: absolute;
  display: flex;
  justify-content: space-around;
  color: #fff;
  padding-top: 350px;
  font-size: 2rem;
  width: 100%;
}
.close-button{
  position: absolute;
  margin: 0 auto;
  right: 0;
  width: 50px;

}
/*.wrapper{*/
  /* max-width: 1100px;
  margin: 0 auto;
  /* padding: 0 4%; */
/*}*/
.page-header{
  background-image: url(../img/ring.jpg);
   background-size: cover;
  background-repeat: no-repeat;
   background-position: center top;
   width: 100%;
   height: 100%;

}
/* .home-img{
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 40px;
} */


.home-content{
  display: grid;
  grid-template-columns: 1fr 1fr;

}
.menu-button{
  position: absolute;
  width: 50px;
  left:0;
  top: 0;
}
.right-button{
  position: absolute;
  right: 0;
  top:50%;
  width: 50px;
}
.left-button{
  position: absolute;
  left: 0;
  top: 50%;
  width: 50px;
}
.content{
  opacity: 0;
  transition: all 2s;
  -webkit-transition: all 2s;
  -moz-transition: all 2s;
  -o-transition: all 2s;
  -ms-transition: all 2s;

}
.content h2{
  font-size: 200%;
  text-align: center;
  margin-top: 10%;

}
.content p{
  margin: 5% 35px;

}
/* .content{
  opacity: 0;
} */
.fadein{
  opacity: 1;
}
  /* animation-name: fadeIn;
  -webkit-animation-duration: 5s;
  -webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes fadeIn{
  0% {
    opacity: 0;
  }
  100%{
    opacity: 1;
    transform: translate(0);
  }
} */
@media screen and (min-width:769px){
.home-content_sp{
    display:none;
}
.page-header p{
  position: relative;

  width:300px;
 top:600px;
}
.page-header h1{
  text-align: center;
  font-size: 400%;
  position: relative;
  top:50px;
}
}
@media all and(-ms-high-contrast:none){
  .home-content{
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width:768px){

.page-header h1{
  text-align: center;
  font-size: 250%;
  position: relative;
  top:400px;
}

.main-nav{
    flex-direction:column;
    padding-top:150px;
    text-align: center;

}
.main-nav li{
    margin:10px auto;
}
.home-content{
    display:none;
}
.home-content_sp{
display:flex;
 flex-direction:column;
 margin-bottom:70px;
}
.page-header p{
  position: relative;
   margin: 0 auto;
   top:100px;
width:200px;

}
}
