/**
 * poempelz 2023 CSS
 *
 * @copyright poempelz
 * @author Mario Weiss <mario.weissbier@gmail.com>
 */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('img/perser_arrow.png'), auto;
}


/* add styles for h1 and h2*/
h1 {
    font-family: 'Ink Free', Courier, monospace;
    font-size: 40px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 20px;
}

h2 {
    /* border: solid 3px rgb(0, 255, 4); */
    font-family: 'Ink Free', Courier, monospace;
    font-size: 30px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 10px;
}

h3 {
    font-family: 'Ink Free', Courier, monospace;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    animation: changeColor 4s infinite;
}

h3.email a,
h3.link a {
    /* text-decoration: none; */
    color: inherit;
}

h4 {
    font-family: 'Ink Free', Courier, monospace;
    font-size: 20px;
    font-weight: 700;
    color: #ffdd00;
    text-align: center;
    margin-bottom: 10px;
}

@keyframes changeColor {
    0% {
        color: #fa0303;
    }

    20% {
        color: #e1ff00;
    }

    40% {
        color: #00ff48;
    }

    60% {
        color: #008cff;
    }

    80% {
        color: #d000ff;
    }

    100% {
        color: #ff4400;
    }
}

.header-box {
    /* border: solid 3px rgb(0, 255, 4); */
    overflow-x: hidden;
    position: relative;
    background-image: url('img/himmel-ohne-logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    /* width: auto; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: flex-end; */
}

.logo-box {
    /* border: solid 3px rgb(30, 0, 255); */
    overflow-x: hidden;
    /* Hide horizontal scrollbar */
    background-image: url('img/poempelz_logo_farbe.png');
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    width: 360px;
    height: 215px;
    margin-top: 20px;
}

.moving-moon {
    /* border: solid 3px rgb(30, 0, 255); */
    background-image: url('img/website-mond.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50px;
    width: 174px;
    height: 164px;
    animation: moveRight 5s linear infinite;
}

@keyframes moveRight {
    0% {
        left: calc(0% - 174px);
    }

    100% {
        left: calc(100%);
    }
}

/* Links */
.links-box {
    display: flex;
    justify-content: center; /* center items on each row, including wrapped rows */
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.links-box a {
    /* border: solid 1px rgb(93, 93, 93); */
    text-align: center;
    display: inline-block;
    margin-top: 0px;
}

.links-box img {
    max-width: 115px;
    max-height: 80px;
}

.links-box a:hover {
    background-color: rgba(0, 0, 0, 0.167);
    border-radius: 20px;
    transition: 0.2s;
}

.water-box {
    /* border: solid 3px rgb(0, 251, 255); */
    background-image: url('img/website-wasser.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    text-align: center;
    height: 2500px;
    padding-top: 1px;
}


.octopus-box {
    /* border: solid 3px rgb(0, 255, 68); */
    background-image: url('img/datenkrake.png');
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
    height: 100%;
    width: 100%;
}

.runde-sachen-box {
    /* border: solid 3px rgb(255, 196, 0); */
    background-image: url('img/runde_sachen.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    text-align: left;
    width: 350px;
    height: 350px;
    position: relative;
    cursor: url('img/perser_grabbing_open.png'), auto;
}

.gif-box {
    /* border: solid 3px rgb(255, 0, 0); */
    display: flex;
    flex-direction: line;
    align-items: center;
    justify-content: center;
    /* height: 100%;
    width: 100%; */
}

.footer-box {
    background-color: #333;
    text-align: center;
    color: #ddd;
    font-size: 12px;
    padding: 5px;
}

@keyframes coolTurnsAnimation {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}