:root {
  --am-block-max-width: 50rem;
  --am-block-margin-top: 2em;
  --am-container-padding: 2rem;
  --am-flex-gap: 2rem;
  --am-flex-min-block-width: 18rem;
}

html,
body {
  background-color: black;
  font-family: "stolzl", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(153, 153, 153);
}
.navbar a {
  color: rgb(153, 153, 153);
}

a {
  color: rgb(256, 256, 256);
}
a:hover {
  color: white;
}
/*NAVBAR*/
.navbar-menu {
  background-color: black;
}
.navbar {
  background-color: black;
}
.navbar-title {
  color: white;
}
.navbar-item {
  color: white;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-weight: 400;
  color: rgb(73, 73, 73);
}

.content blockquote {
  background-color: #171717;
  border-left: 5px solid #dbdbdb;
  padding: 1.25em 1.5em;
}

.title {
  font-weight: 500;
}

/*MAIN PAGE*/
.is-hidden {
  display: none;
}

.footer a {
  color: rgb(51, 51, 51);
  font-size: 12px;
}

.cookie_settings_manager h3 {
  font-size: 12px;
}

footer .cont {
  margin-bottom: 0 !important;
}

.footer a:hover {
  color: white;
}

.help {
  padding-left: 5px;
}

.button.is-primary {
  background-color: #333333;
  color: #999999;
  transition: fill 0.15s ease-in-out, box-shadow 0.3s ease-in-out;
  text-transform: uppercase;
  font-family: "stolzl", sans-serif;
}

.button.is-primary:hover {
  background-color: white;
  color: black;
}

.project-section:first-of-type {
  margin-top: 3rem !important;
  padding-top: 3rem;
}

.socials-block {
  margin-top: 0.8em;
}

.socials-block svg {
  height: 28px;
  min-width: 0;
  padding-right: 3px;
}

.socials-block .st0 {
  transition: fill 0.15s ease-in-out, box-shadow 0.3s ease-in-out;
}

.socials-block a:hover .st0 {
  fill: white;
}

.project-card {
  background-color: transparent;
  text-transform: uppercase;
}

.project-card h4 {
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project-card .project-description {
  transition: color 0.45s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-link:hover h4 {
  color: #fff;
}

.card-link:hover .project-description {
  color: rgb(153, 153, 153);
}

.project-description {
  font-weight: 300;
}

.card-content .content {
  margin: 0;
}

.card-image figure {
  overflow: hidden;
  margin: 0 auto;
  border-radius: 0.6rem !important;
}

.card-image img {
  width: 100%;
  transition: 0.3s ease-out;
}

.card-link:hover img {
  transform: scale(1.05);
}

.project-card {
  color: rgb(51, 51, 51);
}
.project-card h4 {
  color: rgb(153, 153, 153);
  font-weight: 400;
}

@media screen and (min-width: 769px), print {
  .field-body > .field:not(:last-child) {
    margin-right: 1.5rem;
  }
}

.field:not(:last-child) {
  margin-bottom: 1.5rem;
}

.input,
.textarea {
  border-color: #333333;
  background-color: #000;
  transition: 0.15s ease-in-out;
  border-radius: 10px;
  color: #999999;
  height: 3.5rem;
  padding-left: 1.5rem;
  border: 2px solid #333333;
}

.input::placeholder,
.textarea::placeholder {
  color: #999999;
}

.input:focus,
.textarea:focus {
  border-color: #999999;
  box-shadow: none;
}

/*PROJECT POST*/
@media only screen and (max-width: 769px) {
  .project-post am-1-2 {
    flex-basis: 100%;
  }
}
.project-post h1,
.project-post h2,
.project-post h3,
.project-post h4,
.project-post h5,
.project-post h6 {
  margin-bottom: 0;
}

iframe {
  width: 100% !important;
}

div:has(> iframe) {
  padding-top: 0 !important;
  position: relative;
  padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
  padding-right: 100%;
}

/* FOOTER */
footer {
  color: rgb(51, 51, 51);
  background-color: black !important;
  padding: 3rem 1.5rem 3rem !important;
}

#close_cookie {
  display: none;
}
#close_cookie:checked + #cookie_consent_popup {
  display: none;
}
#cookie_consent_popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 422px;
  background-color: rgb(51, 51, 51);
  padding: 20px;
  z-index: 999;
}

@media only screen and (max-width: 1023px) {
  #cookie_consent_popup {
    width: 331px;
  }
}

#cookie_consent_popup h1 {
  font-size: 1.2em;
}

#cookie_consent_popup h1 {
  font-size: 1.2em;
}
#cookie_consent_popup h1:before {
  content: "";
  padding: 0;
}
#cookie_consent_popup p {
  font-size: 0.7em;
}
#cookie_consent_popup #close_cookie_box {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 1.3em;
}
#cookie_consent_popup #ok_cookie_box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 1.6em;
  padding: 10px 20px;
  font-weight: 700;
  color: white;
}

#cookie_consent_popup button {
  background-color: #999;
  border-color: #999;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: "stolzl", sans-serif;
  padding-bottom: 2px;
}

#cookie_consent_popup h2 {
  color: white;
}

#cookie_consent_popup .cookie_titles_settings {
  color: white;
  font-size: 0.8rem;
}

#cookie_consent_popup #first {
  background-color: white !important;
  margin-right: 5px;
}
/* The switch - the box around the slider */
.switch {
  margin-top: 2px;
  position: relative;
  display: inline-block;
  width: 38px;
  height: 19px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

.disabled input:checked + .slider {
  background-color: #565656;
  cursor: not-allowed;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.am-button {
  padding: var(--am-button-padding-vertical) var(--am-button-padding-horizontal)
    0.375rem var(--am-button-padding-horizontal);
}
