@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,SOFT,WONK@9..144,100,1&display=swap');

@font-face {
    font-family: Sligoil-Micro;
    src: url(fonts/Sligoil-Micro.woff2);
  }

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



header, footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin: 30px 0;
}

footer {
    margin: 70px 0;
}

header, footer, .grid, .grid-blekkk, .galerie, .grid-blekkk-mobile {
    width: 90vw; 
    margin-left: auto;
    margin-right: auto;
}

.arrow {
    position: fixed;
    right: 15px;
    bottom: 50px;
}

.arrow a {
    font-size: 100px;
    font-family: Fraunces;
    text-decoration: none;
    color: blue;
}

h1 {
    font-family: Sligoil-Micro;
    font-size: 24px;
    color: black;
}

a {
    text-decoration: none;
    font-family: Sligoil-Micro, sans-serif;
    font-size: 16px;
    color: black;
    text-decoration: none;
    transition: 300ms ease-out;
}

a:hover {
    rotate: 180deg;
    text-decoration: line-through;
}

.rotate {
    rotate: 180deg;
}

.logo {
    display: flex;
}

nav {
    display: flex;
    width: 40%;
    justify-content: space-between;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: solid 2px blue;
    border-radius: 50px;
    padding: 20px 20px 20px 20px;
    width: 25%;
}

.contact a, .wanna-do a {
    color: blue;
}

h2 {
    font-family: Fraunces;
    font-size: 64px;
    font-weight: 200;
    line-height: 100%;
}

.colours, .type {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50vh;
    color: #FFFFFF;
}

.colours {
        text-align: center;

}

.type {
    height: auto;
    display: block;
    margin: 50px 0;
}

h3 {
    font-family: Fraunces;
    font-size: 64px;
    font-size: 80px;
    font-weight: 200;
    line-height: 100%;
    color: black;
    margin-bottom: 50px;
    animation: come-in 2s ease-in-out 0s 1 both;
}

@keyframes come-in {
    0% {
        opacity: 0;
        transform: translate(0,5vw)
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
        transform: translate(0,0);
    }
}

p, ul {
    font-family: Sligoil-Micro;
    font-size: 32px;
    color: black;
    animation: come-in 4s ease-in-out 0s 1 both;
}

ul {
    list-style-type:none;
}

.leistungen a {
    font-size: 32px;
}


h4 {
    font-family: Sligoil-Micro;
    font-size: 20px;
    font-weight: 100;
    color: black;
    margin-top: 30px;
}

.grid, .grid-blekkk-mobile, .grid-blekkk {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 70px;
}

.grid img, .grid-blekkk img, .grid-blekkk-mobile img {
    width: 100%;
}

.grid-blekkk-mobile {
    display: none;
}

.web-darecraft, .web-mircom, .web-ASK {
    display: flex;
    justify-content: end;
    align-items: end;
    width: 100%;
    height: 100vh;
    padding-right: 100px;
    padding-bottom: 100px;
    background-size: cover;
    background-position: center;
}

.web-darecraft {
    background-image: url(pictures/Darecraft/Darecraft-web-2.jpg);
}
.web-mircom {
    background-image: url(pictures/MIRcom/MIRcom-web.jpg);
}
.web-ASK {
    background-image: url(pictures/ASK/ASK-web-1.jpg);
}

input.button {
    background-color: #FFFFFF;
    border: none;
    color: black;
    padding: 10px 30px;
    font-family: Sligoil-Micro, sans-serif;
    font-size: 24px;
    border-radius: 50px;
    transition: 0.5s;
}

input.button:hover {
    background-color: blue;
    color: #FFFFFF;
    rotate: 180deg;
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.wanna-do {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.wanna-do .type {
    margin-top: 0;
    margin-bottom: 20px;
}

.wanna-do p {
    font-size: 24px;
    margin-bottom: 30px;
}

.wanna-do a {
    font-size: 20px;
}

.video video, .wanna-do img, .wanna-do .giffy-galerie {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.video video {
    border: solid 1px black;

}

.three img, .two img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.giffy {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 400px; 
    overflow:hidden; 
    position:relative; 
}


.giffy img {
    position:absolute; 
    animation:giffy 4s infinite; 
    opacity:0; 
    width: 100%;
}

@keyframes giffy {0% {opacity:1;} 12.5%{opacity:1;} 13%{opacity:0;}}
.giffy img:nth-child(8){animation-delay:0s;}
.giffy img:nth-child(7){animation-delay:0.5s;}
.giffy img:nth-child(6){animation-delay:1s;}
.giffy img:nth-child(5){animation-delay:1.5s;}
.giffy img:nth-child(4){animation-delay:2s;}
.giffy img:nth-child(3){animation-delay:2.5s;}
.giffy img:nth-child(2){animation-delay:3s;}
.giffy img:nth-child(1){animation-delay:3.5s;}



.galerie {
    columns: 300px;
}

/*.galerie {
    display: flex;
    gap: 10px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
*/

.galerie img, .galerie video {
    width: 100%;
    object-fit: cover;
    padding-bottom: 15px;
}

.giffy-galerie, .giffy-galerie-6s, .giffy-galerie-12s {
    display: flex;
    align-items: center;
    height: 300px;
    overflow:hidden; 
    position:relative; 
}

.giffy-galerie img, .giffy-galerie-6s img, .giffy-galerie-12s img {
    position:absolute; 
    animation:giffy-galerie 4s infinite; 
    opacity:0; 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes giffy-galerie {0% {opacity:1;} 12.5%{opacity:1;} 13%{opacity:0;}}
.giffy-galerie img:nth-child(8){animation-delay:0s;}
.giffy-galerie img:nth-child(7){animation-delay:0.5s;}
.giffy-galerie img:nth-child(6){animation-delay:1s;}
.giffy-galerie img:nth-child(5){animation-delay:1.5s;}
.giffy-galerie img:nth-child(4){animation-delay:2s;}
.giffy-galerie img:nth-child(3){animation-delay:2.5s;}
.giffy-galerie img:nth-child(2){animation-delay:3s;}
.giffy-galerie img:nth-child(1){animation-delay:3.5s;}

.giffy-galerie-6s img {
    animation: giffy-galerie-6s 6s infinite;
}
@keyframes giffy-galerie-6s {0% {opacity:1;} 12.5%{opacity:1;} 13%{opacity:0;}}
.giffy-galerie-6s img:nth-child(8){animation-delay:0s;}
.giffy-galerie-6s img:nth-child(7){animation-delay:0.75s;}
.giffy-galerie-6s img:nth-child(6){animation-delay:1.5s;}
.giffy-galerie-6s img:nth-child(5){animation-delay:2.25s;}
.giffy-galerie-6s img:nth-child(4){animation-delay:3s;}
.giffy-galerie-6s img:nth-child(3){animation-delay:3.75s;}
.giffy-galerie-6s img:nth-child(2){animation-delay:4.5s;}
.giffy-galerie-6s img:nth-child(1){animation-delay:5.25s;}

.giffy-galerie-12s img {
    animation: giffy-galerie-12s 12s infinite;
}
@keyframes giffy-galerie-12s {0% {opacity:1;} 12.5%{opacity:1;} 13%{opacity:0;}}
.giffy-galerie-12s img:nth-child(8){animation-delay:0s;}
.giffy-galerie-12s img:nth-child(7){animation-delay:1.5s;}
.giffy-galerie-12s img:nth-child(6){animation-delay:3s;}
.giffy-galerie-12s img:nth-child(5){animation-delay:4.5s;}
.giffy-galerie-12s img:nth-child(4){animation-delay:6s;}
.giffy-galerie-12s img:nth-child(3){animation-delay:7.5s;}
.giffy-galerie-12s img:nth-child(2){animation-delay:9s;}
.giffy-galerie-12s img:nth-child(1){animation-delay:10.5s;}

.four {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    padding: 50px 0 50px 0;
    background-color: #ededed;
}

.four img {
    width: 60%;
}

.carousel {
    display: flex;
    overflow-x: auto;
    margin-bottom: 50px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

@keyframes spin {
    from {translate: 0;}
    to {translate: -100%;}
}

.partner {
    display: flex;
    animation: spin 60s infinite linear;
}

.ref {
    width: 250px;
    border: solid 1px black;
    border-radius: 30px;
    margin-right: 10px;
    padding: 10px;
    text-align: center;
}

.ref img {
    width: 90%;
}

.flex {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.leistungen {
    border: solid 1px black;
    border-radius: 30px;
    padding: 20px;
}





@media (max-width: 1080px) {

header, footer {
    flex-wrap: wrap;
    justify-content: end;
}

footer h1 {
    display: none;
}

.contact {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 30px;
}

.contact a {
    font-size: 12px;
    text-align: center;
}

nav {
    width: 100%;
    margin-top: 30px;
}

.type {
    margin-top: 10px;
}

p, .leistungen a, ul {
    font-size: 24px;
}


h3 {
    font-size: 50px;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
}

.galerie {
    display: block;
}

.giffy-galerie, .giffy-galerie-6s, .giffy-galerie-12s {
    height: 400px;
}

.colours {
    height: 25vh;
}

.web-darecraft, .web-mircom, .web-ASK {
    height: 50vh;
}

input.button {
    font-size: 12px;
}

.web-darecraft, .web-mircom, .web-ASK {
    padding-right: 30px;
    padding-bottom: 30px;
}

.two {
    display: block;
    width: 100%;
}

.three {
    height: 30vh;
}

.wanna-do {
    display: block;
}

.wanna-do .type {
    margin-top: 50px;
}

.video video {
    width: 100%;
    height: auto;
}

.wanna-do img, .two img {
    height: 400px;
}

.wanna-do .giffy-galerie {
    height: 400px;
}

.two .giffy {
    max-height: 500px;
}

.grid-blekkk-mobile {
    display: block;
}

.grid-blekkk {
    display: none;
}

.arrow {
    position: fixed;
    right: 10px;
    bottom: 20px;
}

.arrow a {
    font-size: 60px;

}

}