* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 62.5%;

  --main: #006bcf;
  --mainTintBg: #d9edff;
  --mainShade: #004f99;
  --white: #fff;
  --paragraph: #555;
  --headings: #333;
}

@media screen and (max-width: 800px) {
  :root {
    font-size: 57.5%;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", serif;
  color: #555;
  font-size: 1.6rem;
}

p {
  font-family: "Poppins", serif;
  line-height: 1.55;
  color: var(--paragraph);
}

h1,
h2,
h3 {
  color: var(--headings);
  font-weight: 600;
}

h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3.2rem;
}

h1 {
  font-size: 3.8rem;
}

img {
  max-width: 100%;
}

video {
  max-width: 100%;
  max-height: 100%;
}

.subtitle {
  text-transform: uppercase;
  background-color: var(--main);
  display: inline-block;
  padding: 0.2rem 0.8rem;
  color: var(--white);
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.heading-secondary-container {
  margin-bottom: 5rem;
}

.under-hedaing-paragraph {
  margin-top: 1rem;
}

.mainColor {
  color: var(--main);
}

a:link,
a:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--headings);
  font-weight: 500;
  display: inline-block;
}

a:hover,
a:active {
  color: var(--mainShade);
  text-decoration: underline;
}

.link-text:link,
.link-text:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--main);
  font-weight: 600;
  display: inline-block;
}

.link-text:hover,
.link-text:active {
  color: var(--mainShade);
  text-decoration: underline;
}

.button:link,
.button:visited {
  background-color: var(--main);
  padding: 0.8rem 1.4rem;
  color: white;
  border-radius: 10px;
  font-weight: 500;

  transition: all 0.2s ease;
}

.button:hover,
.button:active {
  background-color: var(--mainShade);
  text-decoration: none;
}

.button-outline:link,
.button-outline:visited {
  background-color: var(--white);
  padding: 0.8rem 1.4rem;
  color: var(--headings);
  border-radius: 10px;
  font-weight: 500;
  box-shadow: inset 0 0 0 2px var(--main);

  transition: all 0.2s ease;
}

.button-outline:hover,
.button-outline:active {
  background-color: var(--mainTintBg);
  text-decoration: none;
}

.buttonReal {
  background-color: var(--main);
  padding: 0.8rem 1.4rem;
  color: white;
  border-radius: 10px;
  font-weight: 500;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.6rem;

  transition: all 0.2s ease;
}

.buttonReal:hover {
  background-color: var(--mainShade);
  cursor: pointer;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

.container-hero {
  max-width: 1320px;
}

@media screen and (max-width: 800px) {
  .container {
    padding: 5rem 5%;
  }
  .container-hero {
    padding: 3rem 5%;
  }
}

.outer-wapper {
  /* background-color: var(--mainTintBg); */
  background-color: #efefef;
}

.logo {
  max-width: 20rem;
}

@media screen and (max-width: 800px) {
  .logo {
    max-width: 16rem;
  }
}

.site-hero {
  text-align: center;
}

.arrow-box {
  position: relative;
}

.arrow-svg {
  position: absolute;
  left: 50%;
  bottom: -14rem;
  max-width: 6rem;

  transform: translate(-50%, -50%);
}

/* nav - desktop */
.desktop-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem;

  display: none;
  align-items: center;
  justify-content: space-between;
}

.desktop-list {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.desktop-list li {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* nav - mobile */

.mobile-nav {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 3.2rem;
  height: 2.2rem;
  justify-content: space-between;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 0.4rem;
  background-color: #333;
}

.mobile-nav-menu {
  position: absolute;
  top: 0;
  left: -100%;
  background-color: rgba(255, 255, 255, 0.97);
  width: 100%;
  height: 100vh;
  z-index: 100;
  padding: 6rem 4rem;
  transition: all 0.3s ease;
}

.mobile-nav-menu.open {
  left: 0;
}

.mobile-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 25rem;
  list-style: none;
}

.mobile-list li a {
  font-size: 2.2rem;
  font-weight: 500;
}

@media screen and (min-width: 800px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }
}

body.open,
body.open html {
  overflow: hidden;
}

/* footer  */
footer {
  margin: -8rem auto 0 auto;
  padding: 8rem 2rem;
  background-color: white;
}

@media screen and (max-width: 800px) {
  .container {
    padding: 5rem 5%;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

@media screen and (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

@media screen and (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}

.logo-footer {
  margin-bottom: 3rem;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-paragraph {
  margin-bottom: 2rem;
}

.social-footer-icons {
  max-width: 3.2rem;
  max-height: 3.2rem;

  transition: all 0.2s ease;
}

.social-footer-icons:hover {
  opacity: 0.7;
}

.footer-social-flex {
  display: flex;
  gap: 3rem;
}

.footer-list {
  list-style: none;
}

.margin-top-auto {
  margin-top: auto;
}

/* cookies */

.popup {
  background-color: var(--white);
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.2rem 2.4rem;
  border: 2px solid var(--main);
  border-radius: 1rem;

  position: fixed;
  right: -37rem;
  bottom: 1rem;

  transition: right 0.5s;
}

.popup.show {
  right: 1rem;
}

.cookie-icon {
  max-width: 3.2rem;
  max-height: 3.2rem;
}

.cookie-btn-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cookie-container-icon {
  display: flex;
  align-items: flex-end;
}

.cookieAllowPopup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 2rem;
  display: none;
}

.cookieAllowPopup.show {
  display: block;
}

/* inline styles */

.clear-margin {
  margin: 0;
}

.aligin-items-center {
  align-items: center;
}

.margin-bottom-xs {
  margin-bottom: 1rem;
}

.margin-bottom-s {
  margin-bottom: 2rem;
}

.margin-bottom-m {
  margin-bottom: 3.4rem;
}

@media screen and (max-width: 800px) {
  .image-100-max-width {
    max-width: 60%;
  }
}

@media screen and (max-width: 524px) {
  .image-100-max-width {
    max-width: 80%;
  }
}

/* AUTO RESPONSIVE */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 624px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* grid 1fr 1fr */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}

@media screen and (max-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* grid 1fr 1fr 1fr 1fr */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}

@media screen and (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 800px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.hint {
  color: var(--main);
  position: relative;
  cursor: pointer;
  font-weight: 700;
  padding: 0 1rem;
}

.hint-container {
  position: absolute;
  background-color: var(--white);
  padding: 1rem;
  border: 2px solid var(--main);
  border-radius: 0rem 1rem 1rem 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  width: 30rem;
  left: 0;
  bottom: 0;
  transform: translate(1rem, 100%);
  opacity: 0;
  user-select: none;
  pointer-events: none;
  z-index: 99;
  display: none;
  overflow-x: auto;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);

  transition: all 0.2s ease;
}

.hint-container.show {
  display: block;
  opacity: 0.98;
}

.hint-image {
  border-radius: 1rem;
}

/* announcement */
.announcement-link {
  display: block;
  text-decoration: none;
  width: 100%;
}

.announcement-link:hover {
  text-decoration: none;
}

.announcement {
  display: block;
  text-decoration: none;
  background-color: var(--main);
  color: white;
  padding: 1rem 2rem;
  text-align: center;
}

.announcement p {
  color: white;
}

/* portfolio */
.portfolio-container {
  position: relative;
}

.play-icon {
  max-width: 4.8rem;
  max-height: 4.8rem;

  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}

.portfolio-img {
  border-radius: 1rem;
}

.portfolio-img:hover {
  opacity: 0.8;
}
