html {
  scroll-behavior: smooth;
  scroll-padding: var(--scroll-padding, 5rem);
}

nav {
  background-color: rgba(0, 0, 0, 0.75); /* Black w/opacity/see-through */
  transition: all 0.8s;
}
nav .nav-link {
  color: white;
  font-weight: bold;
  font-size: 1.1em;
}
nav .nav-link:hover {
  color: white;
}

/* hero background image */
.bgimage {
  height: 100vh;
  background: url("images/hero.jpg");
  background-size: cover;
  position: relative;
}
/* text css above hero image*/
.hero_title {
  font-size: 4.5rem;
}
.hero_desc {
  font-size: 2rem;
}
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw !important;
  transform: translate(-50%, -50%);
  color: white;

  background-color: rgba(0, 0, 0, 0.65); /* Black w/opacity/see-through */
  border: 3px solid #f1f1f1;
  z-index: 2;
}

/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
  background-color: black;
  height: 5rem;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.65);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
						/* Gombok pozicionálása az oldal szélére */
						.carousel-control-prev,
						.carousel-control-next {
							width: 5%;
							/* Gombok szélessége kisebb */
							background-color: black;
							/* Gombok fekete háttérrel */
						}

						.carousel-control-prev {
							left: -5%;
							top: 50%;
							translate: 0 -45%;
							/* Bal oldalon */
						}

						.carousel-control-next {
							right: -5%;
							top: 50%;
							translate: 0 -45%;
							/* Jobb oldalon */
						}

						/* Gombikon színének módosítása */
						.carousel-control-prev-icon,
						.carousel-control-next-icon {
							background-color: black;
							/* Fekete ikonok */
						}
.teteje {
  position: fixed;
  bottom: 800px;
  right: 40px;
  width: 40px;
  height: 40px;
  background: darkgray url("images/up-chevron.png");
  border-radius: 50%;
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}
.teteje.active {
  bottom: 40px;
  visibility: visible;
  opacity: 1;
}
#preloader {
  width: 100%;
  height: 100%;
  display: table;
  position: fixed;
  background: #fff;
  opacity: 0.9;
  z-index: 9999;
  display: grid;
  align-items: center;
  justify-items: center;
}
/* social media icons styling */
.social-icons {
  font-size: 36px;
  cursor: pointer;
}

/* services section css */
.servicesText.card {
  cursor: pointer;
  height: fit-content;
  cursor: pointer;
  min-height: 400px;
}
.servicesIcon {
  font-size: 36px;
  text-align: center;
  width: 100%;
}
.contactIcon {
  font-size: 28px;
  text-align: center;
  margin-right: 10px;
  margin-left: 10px;
}
.card-title {
  text-align: center;
}
.card:hover .servicesIcon {
  color: #008000;
}
.servicesText:hover {
  border: 1px solid #008000;
}
/* spacing on all sections */
#price,
#services,
#portfolio,
#contact {
  margin-top: 4rem;
  padding-top: 4rem;
}
#services,
#contact,
#price {
  background: #f5f8fd;
  padding-bottom: 4rem;
}
#portfolio {
  padding-bottom: 4rem;
  margin-top: 0rem !important;
}
.speech-bubble {
  position: fixed;

  border-radius: 0.4em;

  left: 20px;
  top: 100px;
  width: 185px;
  text-align: center;
  color: white;
  height: 77px;
  background-color: rgba(0, 0, 0, 0.65); /* Black w/opacity/see-through */
  border: 3px solid black;
  z-index: 2;
  padding-right: 5px;
  padding-left: 5px;
  transition: 1s ease-in-out;
  display: grid;
  align-items: center;
}

.speech-bubble:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 0.625em solid transparent;
  border-right-color: #000000;
  border-left: 0;
  margin-top: -0.625em;
  margin-left: -0.625em;
}
.speech-bubble h2 {
  font-size: 1em;
  transition: 1s ease-in-out;
}
.speech-bubble:hover {
  width: 260px;
  height: 150px;
}
.speech-bubble h2:hover {
  font-size: 1.6em;
}

.btn-ajanlat {
  background-color: #4caf50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
}
.btn-ajanlat:hover {
  box-shadow: 0 12px 16px 0 rgba(255, 255, 255, 0.24),
    0 17px 50px 0 rgba(255, 255, 255, 0.24);
  color: white;
}
.btn-ajanlat:link,
.btn-ajanlat:visited,
.btn-ajanlat:hover,
.btn-ajanlat:active {
  text-decoration: none;
}

.card-img-top {
  height: 300px;
  object-fit: cover;
  cursor: pointer;
}

/***** Footer *****/

.footer-top {
  padding: 60px 0;
  background: #333;
  text-align: left;
  color: #aaa;
}
.footer-top h3 {
  padding-bottom: 10px;
  color: #fff;
}

.footer-about img.logo-footer {
  max-width: 150px;
  margin-top: 0;
  margin-bottom: 18px;
}
.footer-about p a {
  color: #aaa;
  border-bottom: 1px dashed #666;
}
.footer-about p a:hover,
.footer-about p a:focus {
  color: #fff;
  border-color: #aaa;
}

.footer-contact p {
  word-wrap: break-word;
}
.footer-contact i {
  padding-right: 10px;
  font-size: 18px;
  color: #666;
}
.footer-contact p a {
  color: #aaa;
  border-bottom: 1px dashed #666;
}
.footer-contact p a:hover,
.footer-contact p a:focus {
  color: #fff;
  border-color: #aaa;
}

/* .footer-social a {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 8px;
  color: #777;
  border: 0;
}
.footer-social a:hover,
.footer-social a:focus {
  color: #aaa;
  border: 0;
} */

.footer-social i {
  font-size: 24px;
  vertical-align: middle;
}

.footer-bottom {
  padding: 15px 0;
  background: #444;
  text-align: left;
  color: #aaa;
}

.footer-copyright p {
  margin: 0;
  padding: 0.5rem 0;
}
.footer-copyright a {
  color: #fff;
  border: 0;
}
.footer-copyright a:hover,
.footer-copyright a:focus {
  color: #aaa;
  border: 0;
}

.owl-carousel .card {
  width: 9rem;
  height: 10rem;
}
.owl-carousel .card-body {
  align-content: space-around;
  display: grid;
  align-items: center;
}
.owl-carousel .card-text {
  text-align: center;
  font-weight: bold;
  font-size: 1em;
}
.accordion-body {
  text-align: justify;
}

h2 .accordion-button {
  font-weight: bold;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}
/* Safari */

.video-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
}

.video-container::after {
  padding-top: 56.25%;
  display: block;
  content: "";
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.portfolioContent {
  object-fit: cover;
  max-height: 240px;
  height: 240px;
  width: 322px;
}
.cookieconsent-optout-marketing {
  margin-top: 1.5rem;
}

/* .cookieconsent-optout-marketing {
  display: block !important;
  background: #fffbe6;
  color: #333;
  padding: 1rem;
  margin: 1rem 0;
  border: 2px solid #ff9800;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
  z-index: 999999 !important;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
}

@media (max-width: 600px) {
  .cookieconsent-optout-marketing {
    position: fixed !important;
    bottom: 80px !important;
    left: 2.5vw !important;
    right: 2.5vw !important;
    margin: 0 auto !important;
    width: 95vw !important;
    max-width: 500px !important;
    z-index: 999999 !important;
  }
} */



@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media only screen and (max-width: 1340px) {
  .hero_text {
    margin-top: 2rem !important;
  }
  .hero_title {
    font-size: 3.5rem;
  }
  .hero_desc {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 1030px) {
  .speech-bubble {
    display: none;
  }
}

@media only screen and (max-width: 770px) {
  .contactContent {
    flex-wrap: wrap;
  }
  .footer-top {
    justify-content: center;
    display: grid;
    text-align: center;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 710px) {
  .hero_title {
    font-size: 3rem;
  }
  .hero_desc {
    font-size: 1.4rem;
  }
}

/* @media only screen and (max-width: 664px) {
  .hero_title {
    font-size: 3rem;
  }
  .hero_desc {
    font-size: 1.4rem;
  }
}
 */
@media only screen and (max-width: 620px) {
  .hero_title {
    font-size: 2.5rem;
  }
  .hero_desc {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 600px) {
  .hero_title {
    font-size: 2.4rem;
  }
  .hero_desc {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 577px) {
  .hero_title {
    font-size: 2.3rem;
  }
  .hero_desc {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 490px) {
  .hero_title {
    font-size: 2rem;
  }
  .hero_desc {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 432px) {
  .hero_title {
    font-size: 1.9rem;
  }
  .hero_desc {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 410px) {
  .hero_text {
    margin-top: 2rem !important;
  }
  .hero_title {
    font-size: 1.8rem;
  }
  .hero_desc {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 380px) {
  .hero_title {
    font-size: 1.7rem;
  }
  .hero_desc {
    font-size: 1.1rem;
  }
}

@keyframes wave {
  from,
  to {
    transform: translate(-50%, 0%);
  }

  50% {
    transform: translate(-50%, -20%);
  }
}

#bubble-wrapper {
  height: 100%;
  width: 100%;

  position: fixed;
  bottom: 0px;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  height: max(200px, 20vw);
  width: max(200px, 20vw);

  background-color: rgb(33, 150, 243);
  border-radius: 100%;

  position: absolute;
  left: 50%;
  top: 100%;

  animation: wave 2s ease-in-out infinite;
}

@media (prefers-reduced-motion) {
  .bubble {
    animation: none;
    display: none;
  }
}

:root {
  --purple: rgb(123, 31, 162);
  --violet: rgb(103, 58, 183);
  --pink: rgb(244, 143, 177);
}

@keyframes background-pan {
  from {
    background-position: 0% center;
  }

  to {
    background-position: -200% center;
  }
}

@keyframes scale {
  from,
  to {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(180deg);
  }
}

h1 > .magic {
  display: inline-block;
  position: relative;
}

h1 > .magic > .magic-star {
  --size: clamp(20px, 1.5vw, 30px);

  animation: scale 700ms ease forwards;
  display: block;
  height: var(--size);
  left: var(--star-left);
  position: absolute;
  top: var(--star-top);
  width: var(--size);
}

h1 > .magic > .magic-star > svg {
  animation: rotate 1000ms linear infinite;
  display: block;
  opacity: 0.7;
}

h1 > .magic > .magic-star > svg > path {
  fill: var(--violet);
}

h1 > .magic > .magic-text {
  animation: background-pan 3s linear infinite;
  background: linear-gradient(
    to right,
    var(--purple),
    var(--violet),
    var(--pink),
    var(--purple)
  );
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
