@import url("variables.css");

/*General*/
body {
  background-color: var(--light-color);

  margin: 0;
  padding: 50px;
  height: 100%;
  width: 100%;

  box-sizing: border-box !important;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  overflow-x: hidden;
}

body *:not(img) {
  font-family: var(--font-body);
  width: 100%;
  color: var(--dark-color);
}

.black-btn {
  font-family: var(--font-header) !important;
  text-decoration: none;
  background-color: var(--dark-color);
  color: var(--light-color) !important;
  padding: 15px;
  border-radius: 20px;
  text-align: center;
  box-sizing: border-box;
}

button {
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

main p,
main a,
main summary {
  font-size: 18px;
  text-align: center;
}

.row-btwn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.h-captcha {
  margin: 0;
}

.banner {
  background: rgb(207, 207, 207);
  background: -moz-linear-gradient(
    128deg,
    rgba(207, 207, 207, 1) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  background: -webkit-linear-gradient(
    128deg,
    rgba(207, 207, 207, 1) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  background: linear-gradient(
    128deg,
    rgba(207, 207, 207, 1) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cfcfcf",endColorstr="#000000",GradientType=1);
  height: 50px;
}

.gradient {
  background: rgb(207, 207, 207);
  background: -moz-linear-gradient(
    128deg,
    rgba(207, 207, 207, 1) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  background: -webkit-linear-gradient(
    128deg,
    rgba(207, 207, 207, 1) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  background: linear-gradient(
    128deg,
    rgba(207, 207, 207, 1) 0%,
    rgba(0, 0, 0, 1) 40%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cfcfcf",endColorstr="#000000",GradientType=1);
}

.title-lines {
  background-color: var(--dark-color);
  height: 5px;
  width: 70%;
}

main h1 {
  font-size: 30px;
  font-family: var(--font-header);
  text-align: center;
}

/*details tag*/
details {
  padding: 10px;
  margin: 5px;
  border: solid 2px var(--dark-color);
}

summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

summary,
details p,
details strong,
details em,
details a {
  font-family: var(--font-header) !important;
  text-align: left !important;
  font-size: 18px !important;
}

details p,
details strong,
details em,
details a {
  font-size: 16px !important;
}

details p {
  padding-top: 10px;
  border-top: solid 2px var(--dark-color);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: ">";
  transform: rotate(90deg);
  transition: all 0.2s ease-in-out;
}

details[open] summary::after {
  transform: rotate(-90deg);
}

details .content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
}

::details-content {
  transition: height 0.3s ease-in-out,
    content-visibility 0.3s ease-in-out allow-discrete;
  height: 0;
  overflow: clip; /*not supported in safari*/
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  [open]::details-content {
    height: auto;
  }
}

/*Header*/
#main-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#top-cta-container {
  background-color: var(--dark-color);
  height: 30px;

  display: flex;
  justify-content: center;
  align-items: center;
}

#top-cta {
  color: var(--light-color) !important;
  font-family: var(--font-header) !important;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
}

#menu-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#menu-banner > a {
  max-width: -moz-fit-content;
  max-width: -webkit-fit-content;
  max-width: fit-content;
}

#menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  padding-top: 70px;
}

#menu * {
  text-decoration: none;

  text-align: center;

  font-size: 20px;
  font-weight: bold;
  font-family: var(--font-header) !important;
}

#menu *:hover {
  transform: scale(1.05);
}

#dropdown-icon {
  width: 60px;
  height: 40px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
  display: none;
  margin-right: 20px;
}

#dropdown-icon span {
  height: 4px;
  background-color: var(--dark-color);
  border-radius: 2px;
  padding: 0;
  margin: 1px;
}

/*Footer*/
footer {
  height: 400px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 10px !important;
  margin-top: 200px;
  padding: 0px !important;

  box-sizing: border-box;

  background-color: transparent !important;
  overflow: hidden;
  position: relative;

  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

footer > section {
  background-color: transparent !important;
}

footer a {
  text-decoration: underline !important;
}

footer > img {
  margin-left: 50px;
}

#stroke-holder {
  height: 200% !important;
  display: flex;
  justify-content: center;
  transform: rotateZ(20deg);
}

.stroke {
  width: 15% !important;
  z-index: 200;
  height: 200%;
}

.gray-stroke {
  height: 60%;
}

.black-stroke {
  background-color: var(--dark-color);
}

.top-stroke {
  align-self: flex-start;
  background: var(--light-color);
  background: -webkit-linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(93, 93, 93, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  background: -moz-linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(93, 93, 93, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(93, 93, 93, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--light-color)", endColorstr="#000000", GradientType=0);
}

.bottom-stroke {
  align-self: flex-end;
  background: var(--light-color);
  background: -webkit-linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(93, 93, 93, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  background: -moz-linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(93, 93, 93, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(93, 93, 93, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--light-color)", endColorstr="#000000", GradientType=0);
}

#background {
  height: 50%;
  width: calc(85% - 200px) !important;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--dark-color);
  z-index: -5;
}

footer section ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

footer > section:not(#footer-rights-section) {
  align-self: flex-end;
}

footer > section > ul li,
footer > section > ul p,
footer > section > ul a,
footer > section > ul strong,
footer > section > ul em {
  margin: 0;
  padding: 0;

  list-style-type: none;
  text-decoration: none;
  font-family: var(--font-header) !important;
  color: var(--light-color) !important;
}

footer > section > ul li {
  padding: 5px;
}

#footer-rights-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 0;

  position: absolute;
  right: 5px;
  top: 45%;
}

#footer-rights-section > * {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: var(--font-header) !important;
  text-align: right;
}

/*Cookies*/
.cookies {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--dark-color);
  color: var(--light-color);
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-size: 14px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

.cookies * {
  font-size: 15px !important;
}

.cookies a {
  color: var(--light-color) !important;
  text-decoration: underline;
}

.cookies p {
  color: var(--light-color) !important;
  width: fit-content !important;
}

.cookies button {
  background: var(--light-color);
  border: none;
  color: var(--dark-color);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  width: 10% !important;
  box-sizing: border-box;
  margin-left: 50px;
  font-weight: bold;
}

.hidden {
  display: none;
}


@media only screen and (max-width: 1200px) {
  /*Header*/
  #dropdown-icon {
    display: flex;
  }

  #menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: calc(100% - 270px);
    top: 210px;
    width: 200px;
    height: 0px;
    padding: 0;
    margin: 0;
    z-index: 100;
    visibility: hidden;
  }

  #menu > a {
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    border: solid 2px var(--dark-color);
    margin: 1px;
    background-color: var(--light-color);
    box-sizing: border-box;
    box-shadow: 0px 0px 3px var(--dark-color);
  }

  /*footer*/
  #aka {
    display: none;
  }
}

@media only screen and (min-width: 1200px) {
  #menu {
    margin-left: 40%;
  }
  #menu * {
    width: 25%;
  }
}

@keyframes collapse-down {
  0% {
    visibility: hidden;
    opacity: 0;
    height: 0px;
  }
  10% {
    opacity: 0;
  }
  100% {
    visibility: visible;
    opacity: 1;
    height: 150px;
  }
}
@keyframes collapse-up {
  0% {
    visibility: visible;
    opacity: 1;
    height: 150px;
  }
  100% {
    visibility: hidden;
    opacity: 0;
    height: 0px;
  }
}

.collapse-down-animation {
  animation: collapse-down 0.5s ease-in-out forwards;
}

.collapse-up-animation {
  animation: collapse-up 0.5s ease-in-out forwards;
}

@media only screen and (max-width: 1100px) {
  .stroke {
    width: 25% !important;
  }

  #footer-rights-section {
    width: 30% !important;
    top: 40%;
  }
  footer li {
    transform: scale(0.8);
  }

  #footer-nav {
    margin-right: 30px;
  }

  #footer-business > ul {
    margin-left: 0px;
    padding-left: 0px;
  }
}

@media only screen and (max-width: 950px) {
  footer {
    flex-direction: column;
    background-color: var(--dark-color) !important;
    height: auto;
    padding: 20px !important;
  }

  footer img, #background, #stroke-holder {
    display: none;
  }

  #footer-rights-section {
    width: 100% !important;
    position: relative;
  }

  #footer-rights-section * {
    color: var(--light-color) !important;
    text-align: center;
  }

  footer li {
    text-align: center;
  }

  #footer-business a {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}
