html, body {
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  display: block;
  color: #9C2F2F;

}

h1 {
  position: relative;
  font-size: 8vw;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  width: 45%;
  flex-wrap: nowrap;
}


.topnav {
    
    position: fixed;
    width:100vw;
    height:100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:rgba(255, 255, 255, 0.9);    
    z-index: 10;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
    left: 100vw;
  }

.topnav a {
  display: block;
  color: #6b1111;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 2rem;
  font-family: Cambria;
  font-weight: 800;
}

.slideback {
left: 0;
}


.navbar {
  position: fixed;
  top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 3rem;
  background-color: white;
  z-index: 10;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
}

.mob{
  display: none;
}

#tr_left {
  position: absolute;
  left: 0px;
  top: 3rem;
  width: 0;
  height: 0;
  border-right: 1.5vh solid #303030;
  border-bottom: 1.5vh solid transparent;
}

#tr_right {
  position: absolute;
  left: calc(100vw - 1.5vh);
  top: 3rem;
  width: 0;
  height: 0;
  border-left: 1.5vh solid #303030;
  border-bottom: 1.5vh solid transparent;
}

.logo img {
  height: 6.4rem;
  width: auto;
  transform: translate(0, -11px);
  padding-right: 2rem;
}

.navbar ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.navbar li {
  padding: 1rem 2rem;
  transition: all 0.5s ease;
  overflow: hidden;
  white-space: nowrap;
}

.selected, ul .navBtn:hover{
  background-color: #9C2F2F;
  max-height: 3rem;
}

.selected>a, ul .navBtn:hover a {
  color: white;

}

/*---------------------*/

.topcolor {
  background-color: #9C2F2F;
  height: 110px;
}

/*---------------------*/

.button {
  color: black;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  display: block;
  padding: 0.5rem 2rem;
  max-width: 9rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  border: 3px solid black;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
}

.button:hover {
  background-color: rgba(156, 47, 47, 0.6);
}

/*---------------------*/

.main {
  background-color: rgb(126, 83, 83);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/*---------------------*/

.main1 {
  max-width: 100%;
}

.main1 video {
  width: 115%;
  height: auto;
  background-size: cover;
  transition: 1s opacity;
  z-index: 4;
}

.main1 img {
  position: absolute;
  display: block;
  left: calc(50% - 15vw);
  top: 25%;
  width: 30vw;
  height: auto;
  z-index: 5;
}

/*---------------------*/

.main2 {
  width: 100%;
  height: 65vw;
  display: flex;
  flex-direction: column;
  background-size: cover;
}

.main2 h1 {
  color: white;
  padding-top: 15vw;
  padding-left: 50%;
  z-index: 2;
}

.main2 .btns   {
  position: relative;
  left: 50%;
  flex-wrap: nowrap;
}

/*---------------------*/

.main3 {
  z-index: 0;
  overflow: hidden;
  width: 100vw;
  height: 130vh;
}

.main3 img {
  position: relative;
  z-index: 0;
  width: 130vw;
  top: -100px;
}

.main3 .btns {
  position: relative;
  top: 15rem;
  margin-left: 5%;
  display: flex;
  z-index: 1;
  /* border: 2px solid  red; */
}

.main3 .button {
  left: 0;
  margin: 5%;
  /* border: 2px solid  red; */
}

/*---------------------*/

.main4 {
  z-index: 1;
  overflow: hidden;
  width: 100vw;
  height: 130vh;
}

.main4 img {
  position: relative;
  z-index: 1;
  width: 120vw;
  transform: translateX(-200px);
}

.main4 .btns {
  position: relative;
  top: 12rem;
  left: 0;
  margin: 5% 5% 5% 10%;
}

/*---------------------*/

.topText {
  display: flex;
  position: relative;
  flex-direction: column;
  z-index: 2;
}

.topText h1 {
  top: 10rem;
  z-index: 10;
  color: white;
  padding: 0 10%;
}

/*---------------------*/

.footer {
  display: flex;
  flex-direction: column;
  background-color: #C7C7C7;
  border-top: 4px solid #DBAC76;
  border-bottom: 4px solid #DBAC76;
}

.footer_top {
  padding: 0.4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: arial;
  color: #303030;
  font-size: 0.7rem;
}

#smiley {
  max-width: 10%;
  height: auto;
}

.footer_top .smiley-link {
  width: 10%;
}

.footer_top .smiley-link #smiley {
  max-width: 100%;
}

#facebook {
  max-width: 3%;
  height: auto;
}

.footer_bottom {
  text-align: center;
  padding-bottom: 1rem;
  font-family: arial;
  color: #303030;
  letter-spacing: 4px;
  font-size: 0.9rem;
}

@media only screen and (max-width: 900px) {

mob {
  display: initial;
}
a.mob {
  padding: 1rem;
  display: block;
  position: fixed;
  color: lightgrey;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  z-index: 100;
  right: 0;}

.topnav {
  /* display: flex; */
  /* transform: translateX(-100vw) */
}
  

   .navbar, .topcolor, .main3 img, .main4 img  {
    display: none;
  }

  .main1 img {
    left: 50%; 
    transform: translate(-50%,0); 
    height: 60% ;
    width: auto;
  }

  .main1 video {
    height: 100vh;
    width: auto;
  }


  .main2, .main3, .main4 {
    width: 100%;
    height: 100vh;
    display: flex;
  }

  .main3 {
    background-image: url("../images/background2.jpg");
    background-position: center;
    background-size: cover;
  }

  .main4 {
    background-image: url("../images/background3.jpg");
    background-position: center;
    background-size: cover;
  }

   .main h1 {
    display: block;
    left: 0;
    top:0;
    padding: 5rem 0.5rem 1rem 0.5rem;
    font-size: 12vw;
    margin: 2rem auto;
    text-align: center;
    width: 60%;
  }

  .main .topText {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: space-around;
  }
  .main .btns {
    display: inline-block;
    position: static;
    left:0;
    top:0;
    margin: 0 auto;
    padding: 1rem;
    /* top:0;
    left:0; */
  }

}
