.iframe-container {
    position: relative;
    z-index: 10;
    top: 0;
    width: 100%;
    background: #b33939;
    padding: 1em;
}

#pref-parent {
    background: rgba(0,0,0, 0.9);
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
}

#pref-container {
    max-width: 500px;
    height: 100vh;
    overflow: auto;
    background: white;
    padding: 0 0.5em;
    z-index: 200000;
}

#pref-section {
    padding: 0.5em 1em;
    text-align: justify;
}

#pref-buttons {
    display: flex;
    padding: 1em;
    justify-content: space-between;
    background: white;
    position: sticky;
    bottom: 0;
    width:inherit;
    border: 1px solid lightgray;
}

#accept-all-pref-btn {
    padding: 1em;
    border-radius: .35em;
    border: none;
    background: #004d44;
    color: white;
    cursor: pointer;
}

#reject-all-pref-btn {
    padding: 1em;
    border-radius: .35em;
    border: none;
    cursor: pointer;
}

#save-current-pref-btn {
    padding: 1em;
    border-radius: .35em;
    border: none;
    /*background: #01aef0;*/
    /*color: white;*/
    cursor: pointer;
}

.cookie-sections {
    padding: 0.5em 1em;
    text-align: justify;
}


#cookie-container {
    display: flex;
    gap: 2em;
    background-color: white;
    position: fixed;
    max-width: 50em;
    margin: 0 auto 1.5em;
    text-align: justify;
    left: 1em;
    right: 1em;
    bottom: 0;
    overflow: hidden;
    padding: 1.3em 2em;
    width: unset;
    box-shadow: 0 0.625em 1.875em rgb(2 2 3 / 28%);
    z-index: 10;
    border-radius: .35em;
    font: inherit;
    font-size: 1em;
}

#cookie-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    /*justify-content: center;*/
}

#accept-btn {
    padding: 1em 1.7em;
    display: inline-block;
    cursor: pointer;
    font-size: .82em;
    font-weight: 600;
    background: #004d44;
    border: none;
    border-radius: .35em;
    color: white;
    text-align: center;
    border-radius: 4px;
}

#reject-btn{
    padding: 1em 1.7em;
    display: inline-block;
    cursor: pointer;
    font-size: .82em;
    font-weight: 600;
    background: #b33939;
    border: none;
    border-radius: .35em;
    color: white;
    text-align: center;
    border-radius: 4px;
}

#preference-btn {
    padding: 1em 1.7em;
    display: inline-block;
    cursor: pointer;
    font-size: .82em;
    font-weight: 600;
    background: whitesmoke;
    border: none;
    border-radius: .35em;
    text-align: center;
    border-radius: 4px;
}

.title-toggle {
    display: flex;
    justify-content: space-between;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked#necessary-toggle + .slider {
    background-color: rgba(0,77,68, 0.4);
}

label:after {
    content: "";
}

input:checked + .slider {
  background-color: #004d44;
}

input:focus + .slider {
  box-shadow: 0 0 1px #004d44;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.blur-background {
    display: flex;
    flex-direction: column;
    background-image: url("/img/blur.jpg");
    justify-content: center;
    padding: 1em;
    color: white;
    width: 100%;
    min-height: 300px;
    height: 100%;
    text-align: center;
}

.consent-btn {
    margin-top: 1.5em;
    background-color: #004d44;
    color: white;
    padding: 0.3em 1em;
    border: none;
    border-radius: 0.3em;
}

.main-color {
    color: #004d44;
}


#hero-section {
    color: white;
    padding: 7% 5%;
    background: rgba(0, 77, 68, 0.85);
}


.top-container {
    padding-top: 3em;
    padding-right: 5em;
    padding-left: 5em;
}

.general-container {
    padding: .7em 5em;
}
