@font-face {
  font-family: skript1;
  src: url(/Fonts/Tangerine-Regular.ttf);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #fdf8f1;
  color: #333;
}
/*Navigační lišta*/
nav {
  font-family: skript1;
  font-size: 40px;
  background: #FBF2E5;
  padding: 15px;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  overflow: hidden;
  width: 100%;
}
nav a {
  text-decoration: none;
  color: #333;
  display: inline-block;
  position: relative;
}
/*Animace hover*/
nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #333;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
/*Sekce obecně*/
section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
  min-height: 10vh;
  border-top: solid 3px #B8A487;
}
section h1, h2{
  text-align: center;
  font-weight: normal;
}
section h2{
  font-family: skript1;
  font-size: 100px;
  /*color: #333;*/
  color: #B8A487;
  margin: 80px 0px 50px 0px;
}
ul {
  text-align: left;
  margin: 0 auto;
  max-width: 600px;
}
/*Sekce HOME*/
#main_logo{
  background-image: url("/Images/main_logo2.png");
  background-size: cover;
  width: 350px;
  height: 350px;
  margin: 20px auto 0px auto;
}
#home{
  text-align: center;
}
#home h1{
  display: none;
}
#home_table{
  margin: auto;
  background-color: #FBF2E5;
  border-radius: 50px;
}
#home_table td{
  padding: 40px;
}
td:first-child {
  border-right: solid 3px #fdf8f1;
}
#home_table .data{
  font-size: 20px;
  font-weight: bold;
}
#countdown{
  font-family: skript1;
  font-size: 55px;
  color: #333;
  margin: 50px 0px 50px 0px;
}
#note{
  font-family: Monospace;
  font-size: 20px;
  color: #B8A487;
  //margin: 80px 0px 50px 0px;
}
#home p{
  font-family: skript1;
  font-size: 55px;
  margin: 20px auto;
}
#home a{
  text-decoration: none;
  font-family: skript1;
  font-size: 55px;
  font-weight: bold;
  color: #B8A487;
  display: inline-block;
  position: relative;
  border-bottom: solid 1px #B8A487;
  display: inline-block;
  background-color: #e0e0e0;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
/*Sekce LOCATION*/
#location{
  text-align: center;
}
#location img{
  max-width: 800px;
}
/*Sekce DRESS CODE*/
#dress {
  text-align: justify;
}
#dress p{
  font-size: 17px;
}
/*Sekce ACCOMMODATION*/
#accommodation{
  text-align: justify;
}
/*Sekce GIFTS*/
#gifts{
  text-align: justify;
}
#gifts_thank{
  text-align: center;
  margin-top: 60px;
  font-family: skript1;
  font-size: 50px;
  color: #B8A487;
}
/*Sekce FAQ*/
#faq{
  text-align: justify;
}
#faq .faq_question{
  text-align: center;
  margin: 50px 0px 10px 0px;
  font-family: skript1;
  font-size: 50px;
  color: #B8A487;
}
#faq .faq_answer{
  margin: 0px;
}
/*Sekce RSVP*/
#rsvp{
  text-align: center;
}
#rsvp a{
  text-decoration: none;
  font-family: skript1;
  font-size: 55px;
  font-weight: bold;
  color: #B8A487;
  display: inline-block;
  position: relative;
  border-bottom: solid 1px #B8A487;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.mobile_navbar{
  display:none;
  z-index:999;
  width:auto;
}
.popup_wrapper{
  display:none;
  overflow: hidden;
  white-space: nowrap;
}

.mobile_navbar .nav-left a,.mobile_navbar .nav-right a{
  display:block;
}
.mobile_navbar .nav-right{
  display:inline-block;
  margin-top:25px;
}

.navbar_hamburger{
  display:inline-block;
}
.navbar_hamburger span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #ccc;
  border-radius: 3px;
}

@media only screen and (max-width: 971px) {
  .navbar{
    display:none;
  }
  .mobile_navbar{
    display:block;
  }
}