/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
    margin: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
    font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
    isolation: isolate;
}



/* gyan.css styles */

@font-face {
    font-family: 'Drogowskaz Lekki Owalny';
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/Drogowskaz_lekki_owalny.woff2") format('woff2');
}

::selection {
    background: beige;
    color: maroon;
}

body {
    background: #e7e7e7;
    font-family: 'Drogowskaz Lekki Owalny', arial;
    margin: 0;
    padding: 10vw;
    user-select: none;
    line-height: 1.5;
    font-size: 20px;
    padding-bottom: 10vw
        /* animation: switch-fonts 500ms ease-in-out 1 alternate; */
}

header {
    font-family: "Drogowskaz Lekki Owalny", arial;
    font-size: 30px;
}

a {
    color: blue;
    margin-bottom: 8px;
    display: inline-block;
    padding: 1px 0px;
    transition: all ease-in-out 50ms;
    text-decoration: none;
    border-bottom: 2px solid #e7e7e7;
}

a:hover {
    transform: rotate3d(1, 1, 1, 2deg) scale(1.2);
    color: blue;
    border-bottom: 2px solid blue;
}

a:active {
    transform: rotate3d(1, 1, 1, -1deg) scale(.9);
    color: #ff0000;
    border-color: #ff0000;
}

footer {
    color: gray;
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    position: fixed;
    bottom: 0;
    left: 0;
    padding-left: 10vw;
    padding-top: 5vw;
    width: 100%;
    padding-bottom: 5vw;
    background: #e7e7e765;
    backdrop-filter: blur(10px);
}

footer img {
    margin-right: 10px;
    margin-left: 0px;
    animation: rotate 5s linear infinite;
    pointer-events: none;
    display: block;
    z-index: 1;
    transition: scale 100ms ease-in-out;
}

footer:hover img {
    animation-play-state: paused;
    filter: grayscale()
        /* scale: 2; */
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}