/*
Theme Name: Darau Tau
Author: TotalDC
Author URI: https://github.com/Totaldc
Description: The official theme for darautau.lt
Version: 1.0
*/

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  /* font-weight: 600 !important; */
}

h2 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.card-title {
  font-family: "Playfair Display", serif;
}

.card-text {
  /* font-weight: 300; */
}

.card a {
  color: #000;
  text-decoration: none;
}

/* HEADER */

header {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  background-color: #cfc3ba;
}

nav a {
  text-decoration: none;
  color: #000;
  padding: 5px 10px;
}

nav a:hover {
  text-decoration: none;
  color: #000;
}

nav a,
nav a:after,
nav a:before {
  /* transition: all 0.5s; */
}

/* STROKE */

nav.stroke a {
  position: relative;
}
nav.stroke a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background: #000;
  height: 1px;
}
nav.stroke a:hover:after {
  width: 100%;
}

.mainNav {
  display: none;
  margin: 0;
}

.menu-icon {
  display: none;
  /* margin: 0; */
}

/* END OF STROKE */

/* FULLSCREEN MENU STROKE */

.overlay.stroke a {
  position: relative;
}
.overlay.stroke a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background: #000;
  height: 1px;
}
.overlay.stroke a:hover:after {
  width: 100%;
}

.mainNav {
  display: none;
  margin: 0;
}

.menu-icon {
  display: none;
  /* margin: 0; */
}

.btn-3::after {
  left: 0;
  bottom: 0;
  /* transition-delay: 0.6s; */
}
.btn-3 span::after {
  /* transition-delay: 0.4s; */
  right: 0;
  bottom: 0;
}
.btn-3::before {
  right: 0;
  top: 0;
  /* transition-delay: 0.2s; */
}
.btn-3 span::before {
  /* transition-delay: 0s; */
  left: 0;
  top: 0;
}

.btn-3:hover::after {
  /* transition-delay: 0s; */
}
.btn-3:hover span::after {
  /* transition-delay: 0.2s; */
}
.btn-3:hover::before {
  /* transition-delay: 0.4s; */
}
.btn-3:hover span::before {
  /* transition-delay: 0.6s; */
}

/* END OF LEFT STROKE */

.logo img {
  width: 100px;
}

/* END OF HEADER */

/* HERO SECTION */

.hero {
  background-image: url("./img/hero_bg.jpg");
  /* background-color: #fcf6f2; */
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute; /* Sit on top of the page content */

  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  background-color: rgba(
    255,
    255,
    255,
    0.2
  ); /* Black background with opacity */
}

.hero-txt {
  position: absolute;
  width: 50%;
  top: 35%;
  left: 5%;
  /* opacity: 0; */
}

.hero-txt h1 {
  margin-bottom: 40px;
}

.hero-txt a {
  text-decoration: none;
  color: #000;
  position: relative;
  margin-left: 10px;
  margin-top: 20px;
}

.btn {
  line-height: 50px;
  text-align: center;
  width: 250px;
  cursor: pointer;
  align-items: center;
}

.btn:focus {
  box-shadow: none;
}
/*
========================
      BUTTON ONE
========================
*/
.btn-one {
  color: #000;
  transition: all 0.3s;
  position: relative;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: #000;
  border-bottom-color: #000;
}
.btn-one span {
  transition: all 0.3s;
}
.btn-one::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: #000;
  border-bottom-color: #000;
  transform: scale(0.1, 1);
}
.btn-one:hover span {
  letter-spacing: 2px;
}
.btn-one:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}
.btn-one::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
}
.btn-one:hover::after {
  opacity: 0;
  transform: scale(0.1, 1);
}

/* END OF HERO SECTION */

/* INDEX GALLERY SECTION */

.gallery-section {
  min-height: 100vh;
  align-items: center;
  display: flex;
}

/* .mt-5 {
  margin-top: 0 !important;
} */

.fp-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.card-more {
  position: relative;
  margin: 20px;
  margin-top: 20px;
  width: fit-content;
  float: right;
}

/* END OF INDEX GALLERY SECTION */

/* FRONT PAGE CREATORS SECTION */

.bg-cream {
  background-color: #fcf6f2;
}

.container {
  min-height: calc(100vh - 100px);
  box-sizing: border-box;
}

.container a {
  word-wrap: break-word;
}

/* .main-sec .container {
  height: 100vh;
} */

.main-card {
  width: 100%;
  height: 80%;
  /* opacity: 0; */
  display: flex;
  background-color: white;
  overflow: hidden;
  text-overflow: hidden;
}

.main-card-title {
  width: 100%;
  height: 80%;
  /* opacity: 0; */
  display: flex;
  background-color: white;
  overflow: hidden;
  text-overflow: hidden;
}

.event-card {
  width: 100%;
  height: 320px;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  background-color: white;
}

.gallery-btn a {
  position: relative;
  color: #000;
  float: right;
  margin: 20px;
}

.gallery-btn a:hover {
  text-decoration: none;
}

.left a {
  position: relative;
  color: #000;
  margin: 20px;
  width: fit-content;
}

.left a:hover {
  text-decoration: none;
}

.left {
  width: 50%;
  box-sizing: border-box;
  margin: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.left {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  /* align-items: center; */
  align-content: stretch;
  text-align: left;
}

.left h2 {
  margin-left: 0;
  margin-bottom: 20px;
}

.title {
  float: left !important;
}

.right {
  width: 50%;
}

.right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* END OF FRONT PAGE CREATORS SECTION */

/* FOOTER SECTION */

footer {
  bottom: 0;
  width: 100%;
  height: 70px;
  background-color: #cfc3ba;
  margin-top: -50px;
}

footer a {
  color: #000;
  text-decoration: none;
}

footer a:hover {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

footer a i:hover {
  color: #000;
  text-decoration: none;
}

/* END OF FOOTER SECTION */

/* BLOG CARD LIST */

.g-card {
  opacity: 0;
  width: 100%;
}

.blog-list {
  margin-top: 50px;
  margin-bottom: 50px;
}

.blog-list h1 {
  text-align: center;
}

.blog-category-list a {
  color: #000;
  text-decoration: none;
  padding: 10px 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.card-list {
  justify-items: center;
}

.card {
  opacity: 0;
}

.card-list .card {
  margin: 15px;
  width: 30%;
  margin-top: 10px;
  border: none;
}

.card-list .card .card-img-top {
}

.card-list img {
  width: 100%;
  /* height: 300px; */
  object-fit: cover;
}

.blog-list a:last-child {
  text-decoration: none;
  color: #000;
}

/* END OF BLOG CARD LIST */

/* CONTACTS PAGE */

.contacts p {
  width: 60%;
}

input {
  border: none;
  background-color: #cfc3ba;
  opacity: 0.7;
  width: 100%;
  margin: 10px 0;
  padding: 10px 20px;
}

input[type="email"] {
  margin-bottom: 0;
}

input[name="fname"] {
  float: left;
  width: 48%;
  margin-bottom: 10px;
}

input[name="surname"] {
  float: right;
  width: 48%;
  margin-bottom: 10px;
}

textarea {
  height: 150px;
  width: 100%;
  border: none;
  background-color: #cfc3ba;
  opacity: 0.7;
}

input:focus {
  outline: none;
}

textarea:focus {
  outline: none;
}

textarea {
  padding: 10px 20px;
  box-sizing: border-box;
}

input[type="submit"] {
  cursor: pointer;
}

form {
  margin-bottom: 50px;
}

/* END OF CONTACTS PAGE */

/* GALLERY IMAGE ZOOM */

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 40%;
  max-width: 700px;
}

.modal-content img {
  width: 100%;
}

.close {
  text-decoration: none;
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.modal-content,
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  height: 150px;
}

.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* END OF GALLERY IMAGE ZOOM */

/* APPEAR ON SCROLL SECTIONS */

#box {
  background-color: cornflowerblue;
}

.animate {
  animation: animate 0.3s ease-in-out forwards;
}

@keyframes animate {
  from {
    background-color: cornflowerblue;
    border-radius: 0;
  }
  to {
    background-color: green;
    border-radius: 100px;
  }
}

/* END OF APPEAR ON SCROLL SECTIONS */

/* KUREJAI PAGE */

.page-title {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* END OF KUREJAI PAGE */

/* SINGLE POST PAGE */

.single-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  margin-bottom: 50px;
}

.post-nav a {
  text-decoration: none;
  color: #000;
}

/* ABOUT SECTION */

/* .about-txt {
  width: 60%;
} */

.about-img img {
  width: 60%;
}

/* EVENTS */

.event-card .card-img-top {
  width: 50%;
}

.event-card .card-body {
  width: 50% !important;
  border: 1px solid #000;
}

.event-card a {
  color: #000;
  text-decoration: none;
}

/*
==============================================
slideUp
==============================================
*/

.slideUp {
  z-index: 0;
  animation-name: slideUp;
  -webkit-animation-name: slideUp;

  animation-duration: 0.6s;
  -webkit-animation-duration: 0.6s;

  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;

  visibility: visible !important;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
  }
  /* 50% {
    transform: translateY(-8%);
  }
  65% {
    transform: translateY(4%);
  }
  80% {
    transform: translateY(-4%);
  }
  95% {
    transform: translateY(2%);
  }
  100% {
    transform: translateY(0%);
  } */
}

@-webkit-keyframes slideUp {
  0% {
    -webkit-transform: translateY(100%);
  }
  /* 50% {
    -webkit-transform: translateY(-8%);
  }
  65% {
    -webkit-transform: translateY(4%);
  }
  80% {
    -webkit-transform: translateY(-4%);
  }
  95% {
    -webkit-transform: translateY(2%);
  }
  100% {
    -webkit-transform: translateY(0%);
  } */
}

/*
==============================================
slide left
==============================================
*/

.slide-left {
  animation-name: slide-left;
  -webkit-animation-name: slide-left;

  animation-duration: 1s;
  -webkit-animation-duration: 1s;

  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;

  visibility: visible !important;
}

@keyframes slide-left {
  0% {
    transform: translateX(100%);
  }
  /* 50% {
    transform: translateY(-8%);
  }
  65% {
    transform: translateY(4%);
  }
  80% {
    transform: translateY(-4%);
  }
  95% {
    transform: translateY(2%);
  }
  100% {
    transform: translateY(0%);
  } */
}

@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(100%);
  }
  /* 50% {
    -webkit-transform: translateY(-8%);
  }
  65% {
    -webkit-transform: translateY(4%);
  }
  80% {
    -webkit-transform: translateY(-4%);
  }
  95% {
    -webkit-transform: translateY(2%);
  }
  100% {
    -webkit-transform: translateY(0%);
  } */
}

@media only screen and (max-width: 1200px) {
  /* input {
    width: 100%;
  } */
}

@media only screen and (max-width: 990px) {
  .gallery-section {
    /* height: 100vh; */
    /* box-sizing: border-box;
    contain: content; */
  }

  header .logo {
    margin-right: 20px;
  }

  .hero-txt {
    top: 20%;
  }

  .card {
    margin: 10px !important;
  }

  .hero-txt {
    position: absolute;
    width: 50%;
    top: 40%;
    left: 5%;
    /* opacity: 0; */
  }

  .hero-txt h1 {
    margin-bottom: 20px;
  }

  .hero-txt span {
    margin: 0;
  }

  /* .event-card {
    flex-direction: column;
    height: 100%;
  } */

  .btn {
    line-height: 50px;
    text-align: center;
    width: 200px;
    cursor: pointer;
    align-items: center;
  }
}

@media only screen and (max-width: 770px) {
  .card-list .card {
    /* width: 100%; */
  }

  .menu-icon {
    display: block;
    margin-left: 25px;
  }

  nav {
    display: none;
  }

  .gallery-section {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .hero-txt {
    position: absolute;
    width: 50%;
    top: 40%;
    left: 5%;
    /* opacity: 0; */
  }

  .hero-txt h1 {
    margin-bottom: 20px;
  }

  .hero-txt span {
    margin: 0;
  }

  /* .hero-txt h1 {
    font-size: 32px;
  } */

  .hero-txt p {
    font-size: 14px;
  }

  .mainNav {
    display: block;
  }

  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    overflow-x: hidden;
    overflow-y: hidden;
    /* transition: 0.5s; */
  }

  .overlay-content {
    position: relative;
    top: 0;
    width: 85%;
    text-align: center;
    margin-top: 30px;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    /* transition: 0.3s; */
  }

  .overlay a:hover,
  .overlay a:focus {
    color: #000;
  }

  .overlay .closebtn {
    position: absolute;
    top: 20px;
    left: 85%;
    font-size: 60px;
    color: #000;
  }

  a {
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
    left: 30px;
  }

  a:hover {
    text-decoration: none;
    color: #000;
  }

  a,
  a:after,
  a:before {
    /* transition: all 0.5s; */
  }

  /* STROKE */

  .stroke a {
    position: relative;
  }
  .stroke a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    /* content: ".";
    color: red;
    background: #000; */
    height: 10px;
  }
  .stroke a:hover:after {
    width: 18%;
  }

  .card {
    width: 100% !important;
  }

  .g-card img {
    width: 100%;
  }

  .event-card {
    flex-direction: column;
    height: 100%;
  }

  .event-card .card-body {
    width: 100% !important;
  }

  .card-img-top {
    width: 100% !important;
  }
}

@media only screen and (max-width: 410px) {
  body {
    width: 100%;
  }

  .hero-txt {
    top: 5%;
  }

  /* .hero-txt h1 {
    font-size: 32px;
  } */

  .hero-txt {
    position: absolute;
    width: 50%;
    top: 25%;
    left: 5%;
    /* opacity: 0; */
  }

  .hero-txt h1 {
    margin-bottom: 20px;
  }

  .hero-txt span {
    margin: 0;
  }
}

@media only screen and (max-width: 360px) {
  .main-sec {
    padding-bottom: 20px;
  }

  .left p {
    /* font-size: 14px; */
    box-sizing: border-box;
    margin: 10px;
    margin-bottom: 0;
  }

  .left h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
  }

  .left {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 0;
  }

  .main-card {
    opacity: 0;
    flex-direction: column;
    height: 100%;
  }

  .additional-margin {
    margin-top: 50px;
  }

  .additional-margin:first-child {
    padding-bottom: 20px;
  }

  .main-card .right {
    width: 100%;
    box-sizing: border-box;
  }

  .main-card .right img {
    object-fit: contain;
  }

  .main-card .left {
    width: 100%;
  }

  .main-card .left {
  }

  .main-card-title {
    flex-direction: column;
    height: 100%;
  }
  .main-card-title .right {
    width: 100%;
    box-sizing: border-box;
  }

  .main-card-title .right img {
    object-fit: contain;
  }

  .main-card-title .left {
    width: 100%;
  }

  .main-card-title .left {
  }
}

@media only screen and (max-width: 350px) {
  body {
    width: 100%;
  }

  .hero-txt {
    position: absolute;
    width: 50%;
    top: 40%;
    left: 5%;
    /* opacity: 0; */
  }

  .hero-txt h1 {
    margin-bottom: 20px;
  }

  .hero-txt span {
    margin: 0;
  }

  .overlay a {
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

@media only screen and (max-width: 320px) {
  .left p {
    font-size: 12px;
  }

  .card-body {
  }
}
