﻿button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  color: var(--ci-highlight-color);
  background-color: transparent;
  backdrop-filter: blur(4px);
  border: 2px solid var(--ci-highlight-color);
  border-radius: var(--radius-s);
  padding: var(--spacing-s) var(--spacing-m);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-medium),
    color var(--transition-medium);
}

button:hover,
.button:hover {
  background-color: var(--ci-highlight-color);
  color: var(--ci-background-color);
  text-decoration: none;
}

.surface-white,
.page-content-white {
  backdrop-filter: blur(8px);
}

.surface-white p,
.page-content-white p {
  color: var(--ci-highlight-color);
  font-size: 140%;
}

/*
.surface-white,
.page-content-white {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
}

.page-content-watermark {
  background-color: var(--ci-watermark-color);
}

.surface-white button,
.surface-white .button,
.page-content-white button,
.page-content-white .button {
  background-color: transparent;
  color: black;
  border: 2px solid black;
}

.surface-white button:hover,
.surface-white .button:hover,
.page-content-white button:hover,
.page-content-white .button:hover {
  background-color: black;
  color: white;
}

.surface-white label,
.surface-white .form-label,
.surface-white .form-label--optional,
.surface-white .headline-large,
.surface-white .headline-medium,
.page-content-white label,
.page-content-white .form-label,
.page-content-white .form-label--optional,
.page-content-white .headline-large,
.page-content-white .headline-medium {
  color: black;
}

.surface-white a,
.page-content-white a {
  color: black;
  text-decoration: none;
}

.surface-white a:hover,
.page-content-white a:hover {
  color: grey;
  text-decoration: underline;
}
*/

.fullwidth {
  width: 100%;
}

.text-center {
  text-align: center;
}

.centered {
  margin-left: auto;
  margin-right: auto;
}

button.circle {
  border: 2px solid transparent;
}

button.circle:hover {
  background-color: var(--circle-color) !important;
  border: 2px solid white;
}

.page-contact {
  box-shadow: 0 0 18px 2px rgba(0,0,0,0.1);
}

.align-right {
  margin-left: auto;
}

footer {  
  padding: var(--spacing-l) 0;
  background-color: var(--ci-watermark-color);
  bottom: var(--spacing-m);
  width: 100%;
  z-index: 100;
  min-height: 100px;
  color: var(--ci-highlight-color);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  text-align: center;
  color: var(--ci-background-color);
}
footer small {
  margin: var(--spacing-s) var(--spacing-m);
  text-align: center;
}

/* Headline fade animation */
.headline-fade {
  font-family: inherit;
  display: inline-block;
  transition: opacity 0.18s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
}
.headline-fade.is-fading {
  opacity: 0;
}
.headline-fade-in {
  animation: fadeIn 0.4s ease-out forwards;  
}
.headline-fade-out {
  animation: fadeOut 0.4s ease-out forwards;  
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
