@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Courier Prime", monospace;
}

html, body {
    height: 100%;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/*
img.graphic-text {
    position: absolute;
    max-width: 100%;
    left:50%;
    transform: translateX(-50%);
}

img.graphic-text#heading {
    top: 24px;
}

img.graphic-text#click-me {
    bottom: 24px;
}
*/

.text-container {
    width:50%;
}

img.graphic-text {
    width:100%;
    max-width: 100%;
    height: auto;
}

img.graphic-text#heading {
    margin-bottom: -24px;
}
img.graphic-text#click-me {
    margin-top: -24px;
    padding-left: 10%;
    padding-right: 10%;
}

.natterjack-container {
    width: 100%;
    height: 200px;
    position: relative;
}

.natterjack-container img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*
.natterjack-container img{
    display: none;
}

.natterjack-container img:first-child {
    display: block;
}
*/

// Animation styles
img.visible {
    display: block;
}
img.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 860px) {
    .text-container {
        width: 80%;
    }
    .natterjack-container {
        height: 420px;
    }
    .text-container .graphic-text#heading {
        margin-bottom: -48px;
    }
    .text-container .graphic-text#click-me {
        margin-top: -48px;
    }
}

@media (max-width: 480px) {
    .natterjack-container {
        height: 280px;
    }
}