@import url('https://fonts.googleapis.com/css2?family=Rowdies&family=Ubuntu&display=swap');

/* || RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.1s, background 0.1s, transform 0.05s;
}

/* || VARIABLES */

:root {
    /*FONT*/
    --FS: 1.5rem;
    --FS-SMALL: 0.5rem;
    --FS-LARGE: 2rem;
    --FS-VERY-LARGE: 3rem;
    --FF-CLICK: 'Rowdies', cursive;
    --FF-TEXT: 'Ubuntu', sans-serif;

    /*COLOR*/
    --FONT-COLOR: #B4F5F0;
    --FONT-COLOR-ADDITIONAL: #2CEEF0;
    --BG-COLOR-DARK: #041F60;
    --BG-COLOR-LIGHT: #0476D0;

    /*MARGIN AND PADDING*/
    --MARGIN: 1rem;
    --MARGIN-SMALL: 0.5rem;
    --MARGIN-BIG: 2rem;
    --PADDING: 1rem;
    --PADDING-SMALL: 0.5rem;
    --PADDING-BIG: 2rem;
    --PADDING-VERY-BIG: 3rem;

    /*BORDER*/
    --BORDER: 1px solid #B4F5F0;

}

/* || UTILITY CLASSES */

.nowrap {
    white-space: nowrap;
}

/* || GENERAL */

html, body {
    height: 100vh;
}

body {
    background-color: var(--BG-COLOR-LIGHT);
    color: var(--FONT-COLOR);
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: var(--FF-TEXT)
}

/* || ANIMATIONS */
  
@keyframes pulse_infinite {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.8);
    }
    100% {
      transform: scale(1);
    }
}

.pulse_infinite {
    animation: pulse_infinite 1s ease-in-out infinite;
}

.animate__flash {
    animation: animate__flash 0.5s;
}

.animate__fadeOut {
    animation: animate__fadeOut 0.15s;
}

.animate__pulse {
    animation: animate__pulse 0.15s;
}

/* || HEADER*/

.header{
    background-color: var(--BG-COLOR-DARK);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 0;
    border-bottom: var(--BORDER);
}

.header__h1  {
    padding: var(--PADDING-SMALL) 0;
    font-size: var(--FS-VERY-LARGE);
    text-shadow: 3px 3px 3px var(--BG-COLOR-LIGHT);
    color: var(--FONT-COLOR-ADDITIONAL);
    font-family: var(--FF-CLICK);
    letter-spacing: 0.2rem;
}

.header__p_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    align-items: baseline;
    width: 100%;
    visibility: hidden;
    padding: 0 var(--PADDING-SMALL);
    width: auto;
    height: auto;
}

.header__p {
    padding-bottom: var(--PADDING-SMALL);
    font-size: var(--FS);
}

.clicks_span {
    color: var(--FONT-COLOR-ADDITIONAL);
    font-weight: bold;
    text-shadow: 2px 1px 3px var(--BG-COLOR-LIGHT);
    font-size: var(--FS-LARGE);
    font-family: var(--FF-CLICK);
    letter-spacing: 0.2rem;
    width: auto;
    height: auto;
}

/* || MAIN */

.main {
    background: radial-gradient(var(--BG-COLOR-LIGHT), var(--BG-COLOR-DARK));
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.btn_click {
    z-index: 1;
    background-color: var(--BG-COLOR-DARK);
    color: var(--FONT-COLOR);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid var(--FONT-COLOR);
    box-shadow: 0px 0px 50px var(--FONT-COLOR);
    font-family: var(--FF-CLICK);
    width: 10vw;
    height: 5vw;
    min-width: 60px;
    min-height: 30px;
}

.btn_click:hover {
    cursor: pointer;
}

.btn_click:active {
    transform: scale(0.85);
}

.btn_extra {
    width: 4vw;
    height: 4vw;
    visibility: hidden;
    background-color: var(--FONT-COLOR);
    color: var(--BG-COLOR-DARK);
}

/* || MEDIA QUERIES */

/* || SMALL*/
@media screen and (max-width: 576px) {
    .header__p_container{
        gap: 1rem;
    }
    .header__h1 {
        font-size: var(--FS-LARGE);
    }
    .header__p {
        font-size: var(--FS);
    }
    .clicks_span {
        font-size: var(--FS);
    }
}

/* MOBILE DEVICE LANDSCAPE  */
@media screen and (max-height: 425px) and (min-aspect-ratio: 7/4) {

    .header{
        flex-direction: row;
        justify-content: flex-start;
        align-items: baseline;
        padding-bottom: 0;
    }

    .header__p_container{
        flex-direction: row;
        justify-content: flex-end;
        gap: 3rem;
        align-items: baseline;
        padding: 0 var(--PADDING);
        padding-bottom: 0;
    }

    .header__h1 {
        font-size: var(--FS-LARGE);
        padding: 0 var(--PADDING);
        padding-bottom: 0;
    }

    .header__p {
        padding-bottom: 0;
    }
}
