/*
   1) FONT - Loaded via HTML <head> for better performance */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

/* Accessibility: Focus styles for keyboard users */
a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

/*
   2) THEME (CSS VARIABLES) + BASE
*/
:root {
  --bg-color: #080808;
  --second-bg-color: #131313;
  --text-color: #fff;
  --main-color: #fff;
}

html {
  font-size: 50%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

section {
  min-height: 100vh;
  padding: 10rem 10% 10rem;
}

/*
   Skip to main content link (accessibility)
*/
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--main-color);
  color: var(--bg-color);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  font-size: 1.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.skip-to-main:focus {
  top: 0;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/*
   3) HEADER + NAV
*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 4rem 10% 4rem;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.header img {
  width: 70px;
  height: auto;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}

.logo-text {
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.2rem;
}

.logo span {
  text-shadow: 0 0 20px var(--main-color);
}

.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  transition: transform 0.3s ease, border-bottom 0.3s ease,
    text-shadow 0.3s ease;
  display: inline-block;
}

.navbar a:hover,
.navbar a:focus {
  transform: translateY(-5px);
  text-shadow: 0 0 20px var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  display: none;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  border: none;
  padding: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

#menu-icon:focus {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

#menu-icon:hover {
  transform: scale(1.1);
  color: var(--main-color);
}

/*
   4) HOME
*/
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15rem;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  text-align: left;
  margin-top: 2.5rem;
}

.home-content h1 {
  font-size: 7rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.home-content h3 {
  margin: 1rem 0 2rem;
  font-size: 3.5rem;
}

.home-content p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
  max-width: 1000px;
}

.home img {
  border-radius: 50%;
  margin-top: -6.5rem;
  position: relative;
  overflow: hidden;
}

.home-img img {
  width: 20vw;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 20px var(--main-color);
  transition: 0.4s ease-in-out;
  cursor: pointer;

  /* animasyon başlangıç */
  opacity: 0;
  padding: 1rem;
  transform: translateX(200px) translateY(200px);
  animation: way_home 4s ease-in-out 0.5s forwards;
}

@keyframes way_home {
  0% {
    opacity: 0.2;
    transform: translateX(200px) translateY(200px);
  }
  15% {
    opacity: 0.4;
    transform: translateX(-100px) translateY(-200px);
  }
  30% {
    opacity: 0.5;
    transform: translateX(100px) translateY(-200px);
  }
  45% {
    opacity: 0.6;
    transform: translateX(100px) translateY(200px);
  }
  60% {
    opacity: 0.7;
    transform: translateX(-100px) translateY(100px);
  }
  75% {
    opacity: 0.8;
    transform: translateX(-150px) translateY(-75px);
  }
  90% {
    opacity: 0.9;
    transform: translateX(150px) translateY(75px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(40px);
  }
}

@keyframes way_home_mobile {
  0% {
    opacity: 0.2;
    transform: translateX(200px) translateY(200px);
  }
  15% {
    opacity: 0.4;
    transform: translateX(-100px) translateY(-200px);
  }
  30% {
    opacity: 0.5;
    transform: translateX(100px) translateY(-200px);
  }
  45% {
    opacity: 0.6;
    transform: translateX(100px) translateY(200px);
  }
  60% {
    opacity: 0.7;
    transform: translateX(-100px) translateY(100px);
  }
  75% {
    opacity: 0.8;
    transform: translateX(-150px) translateY(-75px);
  }
  90% {
    opacity: 0.9;
    transform: translateX(150px) translateY(75px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(10px);
  }
}

.home-img img:hover {
  box-shadow: 0 0 20px var(--main-color), 0 0 50px var(--main-color),
    0 0 100px var(--main-color);
}

/* Image lazy loading placeholder */
img[loading="lazy"] {
  background: var(--second-bg-color);
  min-height: 200px;
}

/*
   5) SOCIAL ICONS + BUTTON
*/
.social-icons {
  display: flex;
  justify-content: start;
  gap: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3.1rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 0;
  transition: 300ms ease-in-out;
}

.social-icons a:hover,
.social-icons a:focus {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 0 200px;
  background-color: var(--main-color);
  color: var(--bg-color);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-group .btn {
  display: inline-block;
  font-size: 1.6rem;
  padding: 1rem 2.8rem;
  background-color: var(--main-color);
  border-radius: 4rem;
  color: var(--bg-color);
  letter-spacing: 0.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: 300ms ease-in-out;
}

.btn-group .btn:hover,
.btn-group .btn:focus {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 0 20px;
  background-color: var(--bg-color);
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

/*
   6) TEXT ANIMATION
*/
.text-animation {
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
}

.text-animation span {
  position: relative;
}

.text-animation span::before {
  content: "";
  color: var(--main-color);
  animation: words 20s infinite;
}

.text-animation span::after {
  content: "";
  background-color: var(--bg-color);
  height: 100%;
  width: calc(100% + 8px);
  position: absolute;
  right: -2px;
  border-left: 3px solid var(--bg-color);
  animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
  to {
    border-left: 2px solid var(--main-color);
  }
}

@keyframes words {
  0%,
  100% {
    content: "Hoşgeldiz";
  }
}

@keyframes typing {
  10%,
  15%,
  30%,
  35%,
  50%,
  55%,
  70%,
  75%,
  90%,
  95% {
    width: 0;
  }
  5%,
  20%,
  25%,
  40%,
  45%,
  60%,
  65%,
  80%,
  85% {
    width: calc(100% + 8px);
  }
}

/*
   7) SECTION HEADING
*/
.heading {
  font-size: 6rem;
  text-align: center;
  margin: 3.8rem 0;
}

/*
   8) MY WORK (Timeline)
*/
.my-work {
  background-color: var(--second-bg-color);
  padding: 100px 15px;
}

.my-work-items {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.my-work-items::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: var(--main-color);
  left: calc(50% + 1px);
}

.my-work-item {
  margin-bottom: 40px;
  width: 100%;
  position: relative;
}

.my-work-item:last-child {
  margin-bottom: 0;
}

.my-work-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
}

.my-work-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.my-work-dot {
  height: 21px;
  width: 21px;
  background-color: var(--main-color);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--main-color), 0 0 40px var(--main-color);
  position: absolute;
  left: calc(50% - 9px);
  top: 10px;
}

.my-work-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.my-work-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--second-bg-color);
  border: 1px solid var(--main-color);
  padding: 1rem;
  border-radius: 2rem;
  width: auto;
  margin-top: 10px;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  overflow: hidden;
}

.my-work-card-img img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.my-work-card-content h3 {
  text-align: center;
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--main-color);
  letter-spacing: 2px;
}

.my-work-card-content p {
  text-align: center;
  margin: 0;
  color: var(--main-color);
  font-size: 1.2rem;
}

.my-work-card:hover,
.my-work-card:focus-within {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 12px var(--main-color);
}

/*
   9) SERVICES (Grid)
*/
.services-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
  gap: 2.5rem;
  min-height: 100vh;
}

.services-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 25rem;
  height: 30rem;
  border-radius: 4rem;
  background-color: var(--bg-color);
  color: var(--main-color);
  text-align: center;
}

.services-card::before {
  content: "";
  position: absolute;
  width: 15rem;
  height: 140%;
  background-color: #fff;
  box-shadow: 0 0 20px #fff;
  animation: animate 4s linear infinite;
}

.services-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background-color: var(--bg-color);
  border-radius: 3.5rem;
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.services-card-content {
  max-width: 25rem;
  min-height: 30rem;
  padding: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.services-card-icon {
  font-size: 8rem;
}

.services-card-title h3 {
  font-size: 2rem;
}

.services-container::before,
.services-container::after {
  content: "";
  position: absolute;
  background-color: var(--main-color);
}

.services-container::before {
  width: 2px;
  height: 100%;
  left: calc(50% + 1px);
}

.services-container::after {
  width: 100%;
  height: 2px;
  top: calc(50% - 1px);
}

.services-container-dot {
  height: 21px;
  width: 21px;
  background-color: var(--main-color);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 20px var(--main-color), 0 0 40px var(--main-color),
    0 0 60px var(--main-color), 0 0 30px var(--main-color);
}

.dot-left {
  left: calc(23.7%);
}
.dot-right {
  right: calc(23.7%);
}
.dot-top {
  top: calc(20%);
  left: calc(50% - 9px);
}
.dot-bottom {
  bottom: calc(20%);
  left: calc(50% - 9px);
}

/*
   10) ABOUT
*/
.about {
  background-color: var(--second-bg-color);
}

.about .about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20rem;
  margin-bottom: 8rem;
}

.about h2 {
  margin-bottom: 9rem;
}

.about-text {
  width: 50%;
  text-align: center;
}

.about-text h3 {
  font-size: 4rem;
  margin-bottom: 3rem;
}

.about-text p {
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  line-height: 1.7rem;
}

.my-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 25rem;
  height: 30rem;
  border-radius: 4rem;
  background-color: var(--bg-color);
  color: var(--main-color);
  text-align: center;
}

.my-photo::before {
  content: "";
  position: absolute;
  width: 20rem;
  height: 30rem;
  background-color: #fff;
  box-shadow: 0 0 20px #fff;
  animation: my-photoanimate 4s linear infinite;
}

.my-photo::after {
  content: "";
  position: absolute;
  inset: 2px;
  background-color: var(--bg-color);
  border-radius: 3.5rem;
}

@keyframes my-photoanimate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.my-photo img {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  z-index: 1;
  border-radius: 3.5rem;
}

/*
   11) CONTACT (WhatsApp)
*/
.whatsapp-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  margin-top: 6rem;
}

.whatsapp-box textarea {
  width: 70%;
  height: 22rem;
  font-size: 1.8rem;
  padding: 2.5rem;
  border-radius: 4rem;
  resize: none;
  color: #fff;
  background-color: var(--second-bg-color);
  border: 2px solid var(--main-color);
  font-family: inherit;
}

.whatsapp-box textarea:focus {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

.whatsapp-box button {
  width: 40%;
  font-size: 1.6rem;
  padding: 1.2rem 2.8rem;
  background-color: var(--main-color);
  color: var(--bg-color);
  font-weight: 600;
  cursor: pointer;
  border-radius: 4rem;
  transition: 300ms ease-in-out;
}

.whatsapp-box button:hover,
.whatsapp-box button:focus {
  transform: translateY(-5px);
  box-shadow: 0 0 20px;
  background-color: var(--bg-color);
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

/*
   12) FOOTER
*/
footer {
  width: 100%;
  background-color: #131313;
  padding: 4.5rem;
  bottom: 0;
}

footer .social-icons {
  justify-content: center;
}

footer .social-icons a {
  margin: 0 2rem;
  height: 6rem;
  width: 6rem;
}

footer .social-icons i {
  font-size: 3.5rem;
}

footer nav {
  text-align: center;
  margin-top: 2rem;
  margin-left: -10rem;
}

footer .copyright {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
}

/*
   13) SCROLLBAR
*/
::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 4rem;
}

/*
   14) RESPONSIVE (MOBILE)
*/
@media (max-width: 1085px) {
  html {
    font-size: 50%;
  }
  section {
    margin-top: 0;
  }
}

@media (max-width: 920px) {
  html {
    font-size: 45%;
  }
  section {
    margin-top: 0;
  }
}

@media (max-width: 836px) {
  html {
    font-size: 42%;
  }
}

@media (max-width: 784px) {
  html {
    font-size: 32%;
  }

  /* Header mobil görünüm - padding azaltıldı */
  .header {
    padding: 2rem 5% 2rem;
  }

  /* Header menu */
  #menu-icon {
    display: block;
    cursor: pointer;
    font-size: 6rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                color 0.3s ease,
                opacity 0.3s ease;
  }

  #menu-icon:hover {
    transform: scale(1.15) rotate(5deg);
  }

  /* Hamburger ikon animasyonu - X'e dönüşürken */
  #menu-icon.bx-x {
    transform: rotate(180deg);
    animation: iconRotate 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  #menu-icon.bx-menu {
    animation: iconRotateBack 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  @keyframes iconRotate {
    0% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
    }
    50% {
      transform: rotate(90deg) scale(1.2);
      opacity: 0.7;
    }
    100% {
      transform: rotate(180deg) scale(1);
      opacity: 1;
    }
  }

  @keyframes iconRotateBack {
    0% {
      transform: rotate(180deg) scale(1);
      opacity: 1;
    }
    50% {
      transform: rotate(90deg) scale(1.2);
      opacity: 0.7;
    }
    100% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
    }
  }

  header nav a {
    padding: 1rem 0 1rem 1rem;
    text-align: start;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  header nav {
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom-left-radius: 2rem;
    top: 100%;
    right: 0;
    position: absolute;
    width: 50%;
    text-align: center;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    padding: 1rem 0 1rem 1rem;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    animation: menuSlideDown 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .navbar.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .navbar.active a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .navbar.active a:nth-child(2) {
    transition-delay: 0.15s;
  }

  .navbar.active a:nth-child(3) {
    transition-delay: 0.2s;
  }

  .navbar.active a:nth-child(4) {
    transition-delay: 0.25s;
  }

  .navbar.active a:nth-child(5) {
    transition-delay: 0.3s;
  }

  @keyframes menuSlideDown {
    0% {
      opacity: 0;
      transform: translateY(-20px) scale(0.95);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Home */
  .home {
    flex-direction: column-reverse;
    gap: 5rem;
  }

  /* Home img mobil - daha büyük logo ve yukarı konum */
  .home-img img {
    width: 35vw;
    animation: way_home_mobile 4s ease-in-out 0.5s forwards;
  }

  /* My work mobil */
  .my-work {
    padding-bottom: 52rem !important;
  }

  .my-work .my-work-items::before {
    left: 0;
  }

  .my-work .my-work-items .my-work-dot {
    left: calc(0% - 10px);
    top: 9rem;
  }

  .my-work .my-work-items .my-work-item:nth-child(odd) {
    text-align: left;
    padding-right: 0;
  }

  .my-work-item:nth-child(even),
  .my-work-item:nth-child(odd) {
    padding-left: 37px;
  }

  .my-work-card {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.6rem;
    overflow: hidden;
  }

  .my-work-card-img {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .my-work-card-img img {
    max-width: 100%;
    width: min(260px, 100%);
    height: auto;
    object-fit: contain;
  }

  .my-work-card-content {
    width: 100%;
    text-align: center;
  }

  .my-work-card-content h3,
  .my-work-card-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .my-work-card-content h3 {
    margin: 0.6rem 0 0.8rem;
    font-size: 2.6rem;
    letter-spacing: 0.1rem;
  }

  /* About mobil */
  .about-container {
    flex-direction: column-reverse;
    gap: 8rem !important;
  }

  .about-text {
    width: 100% !important;
  }

  .about-container .about-text p {
    font-size: 2rem !important;
    line-height: 2.2rem;
  }

  .about-container .about-text h3 {
    font-size: 6rem !important;
    line-height: 6rem;
  }

  /* About photo mobil */
  .my-photo {
    width: 100%;
    max-width: 30rem;
    height: auto;
    margin: 0 auto;
  }

  .my-photo::before {
    width: 100%;
    height: 100%;
  }

  .my-photo img {
    width: calc(100% - 4px);
    height: auto;
    min-height: 30rem;
  }

  /* Services mobil */
  .services-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 0;
  }

  .services-card {
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
  }

  /* Footer mobil */
  footer nav {
    margin-left: 0;
  }

  footer .social-icons a {
    margin: 0 1rem;
    height: 5rem;
    width: 5rem;
  }

  footer .social-icons i {
    font-size: 3rem;
  }

  /* WhatsApp contact mobil */
  .whatsapp-box textarea {
    width: 90%;
  }
  .whatsapp-box button {
    width: 70%;
  }

  /* Override: Navbar ile BK logo arasındaki boşluğu kaldır */
  section {
    margin-top: 0 !important;
    padding: 10rem 8% 8rem !important; /* üst padding küçültüldü */
    min-height: auto;                  /* 100vh mobilde fazla boşluk üretebilir */
  }

  .home {
    margin-top: 0 !important; /* en kritik: 30rem boşluğu kaldırır */
    padding-top: 15rem !important;  /* önceki 13rem -> biraz daha aşağı */
    gap: 4rem;
  }

  .home img {
    margin-top: 0 !important;       /* resmi yukarı çeken negatif margin iptal */
  }

  .header {
    padding: 1.6rem 5% !important; /* mobilde header daha kompakt */
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
   15) COOKIE CONSENT BANNER
*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--second-bg-color);
  border-top: 2px solid var(--main-color);
  padding: 2rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 1.4rem;
  color: var(--text-color);
  flex: 1;
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 4rem;
  cursor: pointer;
  transition: 300ms ease-in-out;
  border: 2px solid var(--main-color);
  font-family: inherit;
}

.cookie-accept {
  background-color: var(--main-color);
  color: var(--bg-color);
}

.cookie-accept:hover,
.cookie-accept:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--main-color);
}

.cookie-reject {
  background-color: transparent;
  color: var(--main-color);
}

.cookie-reject:hover,
.cookie-reject:focus {
  background-color: var(--main-color);
  color: var(--bg-color);
}

@media (max-width: 784px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}
