:root {
    --color-background: #e0e0e0;
    --color-lightblue: #90C4F5;
    --color-darkblue: #122436;
    --color-white: #fff;
    --color-brown: #754D0B;
    --color-orange: #D9A95C;
    --color-blue: #0A4175;
    --color-cardbg: radial-gradient(circle 280px at 0% 0%, #e2e2e2, #f0efef);
    /*--color-cardbg: radial-gradient(circle 280px at 0% 0%, #444444, #2c2c2c);*/
}

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto-Light.ttf');
    font-weight: light;
}

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto-Medium.ttf');
    font-weight: medium;
}

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto-ExtraBold.ttf');
    font-weight: bold;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;   
}

body {
    background-color: var(--color-background);
    font-family: "Roboto";
}

h2 {
    font-size: 3em;
    color: var(--color-blue);
    margin-bottom: 50px;
}

.wrapper {
    width: 100vw;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.logo {
    margin: 50px auto;
    width: 100%;
    max-width: 400px;
}

.logo img {
    width: 100%;
}

@media (max-width: 475px) {
    .outer {
        width: 65%;
        aspect-ratio : 1 / 1;
    }

    .logo {
        margin: 50px auto;
        width: 70%;
        max-width: 400px;
    }
}

.references {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    margin: 0 auto;
    width: 100%;
}

.references div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
}

.references div img {
    width: 100%;
    max-width: 350px;
}

.outer {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    padding: 1px;
    position: relative;
    margin: 10px;
}

.card {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: solid 1px var(--color-orange);
    background: var(--color-cardbg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);

}


@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.card:hover:after, .card:hover:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: conic-gradient(from var(--angle), var(--color-background), #D9A95C);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 3px;
  border-radius: 20px;
  animation: 3s spin linear infinite;
}

.card:hover:before{
  filter: blur(0.25rem);
  opacity: 0.5;
}

@keyframes spin{
  from{
    --angle: 0deg;
  }
  to{
    --angle: 360deg;
  }
}

.productTitle {
    position: absolute;
    display: inline-block;
    top: 10px;
    color: var(--color-brown);
    width: 70%;
    font-weight: medium;
    font-size: 1em;
}

.aimage {
    padding: 40px;
}

.aimage img {
    max-width: 240px;
    max-height: 140px;
}

.price {
    position: absolute;
    bottom: 60px;
    color: var(--color-orange);
    text-transform: uppercase;
    z-index: 5;
    font-weight: bold;
    font-size: 2.5em;
    padding: 5px 8px;
}

.badge {
    position: absolute;
    bottom: 50px;
    color: var(--color-brown);
    text-transform: uppercase;
    z-index: 5;
    font-weight: light;
    font-size: 0.6em;
}

.adlogo {
    position: absolute;
    bottom: 15px;
    color: var(--color-brown);
    border: solid 2px var(--color-brown);
    border-radius: 10px;
    padding: 5px 8px;
    width: 70%;
    color: var(--color-brown);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1em;
}

.adlogo a {
    color: var(--color-brown);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1em;
}

.abschluss {
    text-align: center;
    margin: 30px;
    color: var(--color-brown);
    font-size: 0.75em;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

.footer div {
    color: var(--color-brown);
}

.footer div a {
    color: var(--color-brown)
}

.disclaimer {
    color: var(--color-darkgray);
    text-align: center;
    margin: 100px 0;
    font-size: 1.2em;
}

.disclaimer p {
    margin: 20px 0;
}

.disclaimer p a {
    color: var(--color-blue)
}

#cookie {
  position: fixed;
  z-index: 10;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  color: white;
  background-color: var(--color-orange);
  text-align: center;
}

#cookie > * {
  margin: 0.5em;
}

#cookie a {
    color: var(--color-white);
}

.btn {
    display: inline-block;
    margin: 20px;
    padding: 10px 50px;
    border: solid 2px #754D0B;
    border-radius: 5px;
    background-color: var(--color-brown);
    color: var(--color-white);
    font-size: 1.0em;
    font-weight: bold;
}

.btn {
    display: inline-block;
    margin: 20px;
    padding: 10px 50px;
    border: solid 2px #754D0B;
    border-radius: 5px;
    background-color: var(--color-brown);
    color: var(--color-white);
    font-size: 1.0em;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--color-background);
    color: var(--color-brown);
}

.rahmen {
    display: inline-block;
    padding: 10px 50px;
    margin: 20px;
}
  
input {
    display: none;
}

input:not(:checked) ~ span::before {
    content: '';
    display: inline;
}

input:checked ~ * {
    display: none;
    pointer-events: none;
}
