@font-face {
    font-family: super-pixel;
    src: url(public/fonts/super-pixel.woff);
}

@font-face {
    font-family: pixelify-font;
    src: url(public/fonts/pixelify-font.ttf);
}

html {
    font-size: calc(14px + 0.5vw);
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(26, 26, 26);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(52, 0, 107);
}

a.links {
    display: flex;
    color: transparent;
}

/* header starts here */

header {
    display: flex;
    width: 90vw;
    margin-top: 2rem;
    height: 2.5rem;
    border-bottom: 2px solid white;
}

#header-text {
    margin: 0;
    align-content: center;
    font-family: 'super-pixel', Arial;
    font-size: 1.5rem;
    color: white;
}


#htext-link {
    display: flex;
    color: transparent;
}

#header-container {
    margin-left: auto;
    align-content: center;
}

#jump-footerlink {
    font-size: 1rem;
    font-family: 'pixelify-font', Arial;
    color: white;
}

#meow-button {
    height: 1.8rem;
    width: 1.8rem;
    margin: auto 5px;
    font-family: 'pixelify-font', Arial;
    font-size: 1.2rem;
    border-radius: 10px;
    border: 2px solid white;
    background-color: rgb(45, 45, 45);
    color: white;
}

#meow-button:active {
    background-color: white;
    border-color: black;
    color: black;
}

@media (max-width: 346px) {
    #header-container {
        display: none;
        margin: 0;
    }

    #header-text {
        content: url(public/images/whoreplex-icon.png);
        height: 3rem;
    }
    header {
        justify-content: center;
        align-items: center;
    }
}

/* header ends here */

/* service text starts here */

#service-container {
    display: flex;
    margin-bottom: 3rem;
    margin-top: 5rem;
}

#service-text {
    margin: 0;
    font-size: 2.3rem;
    font-family: 'pixelify-font', Arial;
    color: white;
}

/* service text ends here */

/* buttons start here */

#button-container {
    display: flex;
    justify-content: center;
    gap: 10vh;
    margin-bottom: 3rem;
}

@media (max-width: 880px) {
    #button-container {
        flex-direction: column;
        align-items: center;
    }

}

#button-services-plex {
    display: flex;
    flex-direction: column;
    border: 2px solid white;
    width: 18rem;
    height: 13rem;
    transition: border-color 0.3s ease;
    background-color: rgb(40, 26, 0);
}

#button-services-plex:hover {
    transition: border-color 0.3s ease;
    border-color: orange;
}

#button-services-plex:hover #plex-logo {
    transform: scale(1.15);
    transition: 0.3s ease;
}

#button-services-plex:active {
    box-shadow: 0 0 20px orange;
}

#button-services-seerr {
    display: flex;
    flex-direction: column;
    border: 2px solid white;
    width: 18rem;
    height: 13rem;
    transition: border-color 0.3s ease;
    background-color: rgb(16, 0, 36);
}

#button-services-seerr:hover {
    transition: border-color 0.3s ease;
    border-color: plum;
}

#button-services-seerr:hover #seerr-logo {
    transform: scale(1.15);
    transition: 0.3s ease;
}

#button-services-seerr:active {
    box-shadow: 0 0 20px plum;
}

div.button-text-container {
    margin-top: 5px;
    height: 10rem;
}

h2.button-text-plex {
    margin: 0;
    margin-bottom: 5px;
    font-family: 'pixelify-font', Arial;
    font-size: 1.5rem;
    color: orange;
}

p.button-paragraph-plex {
    margin: 0;
    font-family: 'pixelify-font', Arial;
    font-size: 0.8rem;
    color: orange;
}

#plex-logo {
    transition: transform 0.3s ease;
    margin-top: 1.8rem;
    width: 4rem;
    height: auto;
}

h2.button-text-seerr {
    margin: 0;
    margin-bottom: 5px;
    font-family: 'pixelify-font', Arial;
    font-size: 1.5rem;
    color: plum;
}

p.button-paragraph-seerr {
    margin: 0;
    font-family: 'pixelify-font', Arial;
    font-size: 0.8rem;
    color: plum;
}

#seerr-logo {
    transition: transform 0.3s ease;
    margin-top: 1.8rem;
    width: 4rem;
    height: auto;
}

@media (max-width: 282px) {
    #button-services-plex {
        width: 98vw;
    }

    #button-services-seerr {
        width: 98vw;
    }

    #plex-logo {
        width: 23vw;
    }

    #seerr-logo {
        width: 23vw;
    }

}

/* buttons end here */

/* wave animation starts here */

section {
    position: relative;
    margin-top: auto;
    width: 100vw;
    height: 7.25rem;
    background: transparent;
    overflow: hidden; /* hides the overflowing animation */
}

section .air {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    background: url(public/images/wave.png);
    background-size: 50rem 6rem
}

section .air.air1 {
    animation: wave 30s linear infinite;
    z-index: 1000;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}

section .air.air2 {
    animation: wave2 15s linear infinite;
    z-index: 999;
    opacity: 0.5;
    animation-delay: -5s;
    bottom: 10px;
}

section .air.air3 {
    animation: wave 30s linear infinite;
    z-index: 998;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 15px;
}

section .air.air4 {
    animation: wave2 5s linear infinite;
    z-index: 997;
    opacity: 0.7;
    animation-delay: -5s;
    bottom: 20px;
}

@keyframes wave {
    0%{
        background-position-x: 0px; 
    }
    100%{
        background-position-x: 50rem; 
    }
}

@keyframes wave2 {
    0%{
        background-position-x: 0px; 
    }
    100%{
        background-position-x: -50rem; 
    }
}

/* wave animation ends here */

/* footer starts here */

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    gap: 2rem;
    width: 100%;
    background-color: #000718;
}

h3.footer-header {    
    font-family: 'pixelify-font', Arial;
    font-size: 1rem;
    text-align: center;
    color: white;
}

a.footer-hyperlink {
    display: block;
    font-family: 'pixelify-font', Arial;
    font-size: 0.7rem;
    text-align: center;
    color: white;
}

p.footer-text {
    font-family: 'pixelify-font', Arial;
    font-size: 0.7rem;
    text-align: center;
    color: white;
}

/* footer ends here */