/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Climate+Crisis&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Stalinist+One&display=swap&family=Orbitron:wght@400..900&display=swap');




/************************/
/* GLOBAL */
:root {
    --black: #13120d;
    --white: rgb(255, 255, 255);
    --lgrey: rgb(240, 239, 238);
    --red:  rgb(238, 59, 0);
    --blue: rgb(23, 23, 191);

    --beige: rgb(230, 224, 202);

    --green: #a8e647;
    --green2: #95c73d;
    --bright-green: #a8e647;
    --yellow: #ddb513;
    --yellow2: #d28809;
    --bright-yellow: #ffd639;

    --dgrey: #1c1b19;
    --dark-grey: #1c1b19;
    --grey: #959594;
    --focus-ring: #4d90fe;



    scroll-behavior: smooth;
    cursor: none;

}


.inner-cursor {
    position: fixed;
    left: 10px;
    top: 10px;
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%);
    background: white;
    mix-blend-mode: difference;
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.5s height 0.5s;
    pointer-events: none;
    z-index: 9999;
    display: none;

}


.outer-cursor {
    position: fixed;
    left: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    transform: translate(-50%, -50%);
    border: 1px solid white;
    mix-blend-mode: difference;
    border-radius: 50%;
    pointer-events: 0.5ms;
    transition: 0.01s;
    pointer-events: none;
    z-index: 9999;
    display: none;

}



/* CORE SECTIONS */
body {
 

    color: var(--black);
    background-color: var(--white);
    font-family: Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 200;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}
body.lightMode {
    color: var(--white);
    background-color: var(--black);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    position: relative;
    grid-area: header;
}


main {
    grid-area: main;
    display: grid;
    max-width: 1200px;
    margin: 40px auto 100px;
    height: auto;
    padding: 20px;

}

footer {
    font-size: 15px;
    grid-area: footer;
    text-align: center;

    padding: 20px;

}

.layout {
    display: grid;

    grid-template-areas:
        "header"
        "main"
        "footer";
}

/* headers type style */
h1 {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
}
h2 {
    font-size: 20px;
    font-weight: 600;
}
h3 {
    font-size: 20px;
    font-weight: 500;
}

/************************/
/* LINKS & BUTTONS */
a {
    color: var(--black);
    text-decoration: none;
    cursor: none;
}

.external {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-family: noto sans;

}

.external:hover {
    text-decoration: underline;

}

/************************/
/* NAVIGATION FEATURES*/
/* skip links */
.skip {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 1em;
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
}

.skip:focus {
    left: 0;
    top: 0;
}



.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    cursor: none;


}



.hide {
    display:none;
}

.hover_image:hover img:first-child {
    display:none;
}

.hover_image:hover img:last-child {
    display:flex;
}


button:focus, a:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}




/* Desktop Navigation */
    .desktop-nav {
        display: flex;
        justify-content: left;
        gap: 8px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-family: Raleway, helvetica;
        font-weight: 500;
    }

    .desktop-nav a {
        color: var(--black);
        text-decoration: none;
        padding: 10px 10px;
        border-radius: 50px;
        transition: all 0.3s ease;
        font-size: 16px;
    }

    .desktop-nav a:hover, .desktop-nav a:focus {
        color: var(--black);
        font-weight: 800;
    }



/* Mobile Navigation */
    /* MENU BUTTON */
        .menu-toggle {
            font-size: 40px;
            background: transparent;
            border: none;
            border-radius: 50px;
            display: none; /* Hidden */
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: var(--black);
            padding: 10px;
            cursor: none;

        }

        .menu-toggle:hover {
            background-color: var(--lgrey);
            color: var(--black);

        }

    /* Menu once open*/
        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(255, 255, 255);
            z-index: 1000;
            padding: 50px 20px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            cursor: none;

            font-family: Raleway, helvetica;
            font-weight: 300;
        }

        .mobile-nav.active {
            display: flex;
        }

        .mobile-nav nav {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            width: 100%;
            max-width: 550px;
            transition: all 0.3s ease;
        }

    /* mobile nav buttons */
        .mobile-nav a {
            color: var(--black);
            font-size: 24px;
            text-decoration: none;
            display: block;
            text-align: center;
            width: auto;
            background-color: none;
            border-radius: 50px;
            padding: 10px;
            transition: all 0.3s ease;
            cursor: none;

        }
        .mobile-nav a:hover, .mobile-nav a:focus {
            color: var(--black);
            font-weight: 500;
        }


    /* mobile menu close X button */
        .menu-close {
            position: absolute;
            top: 30px;
            right: 30px;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: var(--black);
            padding: 0;
            border: none;
        }
        .menu-close:hover, .menu-close:focus {
            background-color: var(--lgrey);
            color: var(--black);
            border-radius: 50px;
            padding: 10px;
            top: 20px;
            right: 20px;
            cursor: none;

        }







/* MEDIA QUERIES */
    @media screen and (max-width: 1600px) {
        .desktop-nav {
            left: 0%;
            transform: translateX(10%);
        }

    }

    @media screen and (max-width: 1150px) {
        /* Hide desktop nav, show mobile menu toggle */
        .desktop-nav {
            display: none;
        }
                
        .menu-toggle {
             display: flex;
         }


    }


    @media screen and (max-width: 880px) {
        header {
            /* display: flex; */
            flex-wrap: wrap;
            padding-bottom: 2px;
        }

    }

    @media screen and (max-width: 600px) {
        .menu-toggle{
            padding: 5px;
        }
        header {
            padding: 0;
            margin: 20px;

        }

        main {
            width: auto;
            margin-top: 0;
            margin-bottom: 50px;
            margin-left: 20px;
            margin-right: 20px;
            padding: 0;
        } 
}


/*CURSOR, ONLY WHEN MOUSE IS USED */
@media (pointer:fine) {

    .inner-cursor {
        display: flex;
    }
    
    .outer-cursor {
       display: flex;
    }
}


