/* General styles */
:root {
    --primary-color: #333;
    --secondary-color: azure;
    --accent-color: palevioletred;
    --font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    --border-radius: 30px;
    --box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    --transition-speed: 600ms;
    --transition-ease: cubic-bezier(0.075, 0.82, 0.165, 1);
    --transition-ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    --transition-ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --transition-ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-bounce-in: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    --transition-bounce-out: cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce-in-out: cubic-bezier(0.86, 0, 0.07, 1);
    --dropdown-transition: 0.3s ease-in-out;
    --dropdown-transition-delay: 0.1s;
    --dropdown-transition-duration: 0.3s;
    --dropdown-transition-timing-function: ease-in-out;
    --dropdown-transition-delay-out: 0.1s;
    --dropdown-transition-duration-out: 0.3s;
    --dropdown-transition-timing-function-out: ease-in-out;
    --dropdown-blur: 10px;
    --dropdown-blur-out: 0px;
    --dropdown-scale: 0.9;
    --dropdown-scale-out: 1;
    --dropdown-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    --dropdown-box-shadow-out: 0 0 0 rgba(0, 0, 0, 0.5);
    --dropdown-box-dimensions: width 0 15 height 0 15;

}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: auto;
    padding: auto;
}

.header {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.header__item {
    margin: 0 10px 0 25px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
    padding: 6px;
    font-weight: bold;
    font-kerning: none;
}



.header__nav--active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    z-index: 1;
}

.header__nav {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
}

.header__list {
    list-style: none;
    display: flex;
    justify-content: center;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header__link {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 0 0 0;
}

.header__link:hover {
    color: var(--accent-color);
}



.header__dropdown {
    display: none;

}

.header__item:hover .header__dropdown {
    display: flex;
    position: absolute;
    top: 180%;
    width: 200%;
    /* max-width: fit-content; */
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    margin-top: 1px;
    border: 1px solid #505050;
    z-index: 1;
    padding: 1rem;
    box-shadow: #333;

}



.dropdown__title {
    display: flex;
    justify-content: center;
}

.dropdown__body {
    font-family: var(--font-family);
    color: var(--secondary-color);
    text-decoration: none;
    text-align: center;
}


.header__article {
    font-family: var(--font-family);
    color: var(--accent-color);
    /* display: flex; */
    justify-content: center;
    /* align-items: center; */

}

/* Main content */
main {
    display: grid;
    grid-template-columns: repeat(3 1fr);
    grid-gap: 1rem;
    color: azure;
    margin: 1rem 5rem;
}


/* h2 {
    margin: 0;
    padding: 0;
} */

/* p {
    margin: 0;
    padding: 0;
} */

span {
    font-weight: bold;
    font-size: 50px;
}

button {
    cursor: pointer;
    background-color: transparent;
    border: none;
}





.click-handler {
    grid-column: 1 / 3 ;
    font-size: 44px;
}


.click-handler__button {
    grid-column: 1;
    grid-row: span 2;
    background-color: transparent;
}

.click-handler__button img {
    max-width: 30%;
    z-index: 1;
}

.click-handler__button img:active {
    transform: scale(110%);
}

.click-handler__text {
    grid-column: 2 ;
    grid-row: 2;
    font-size: 30px;
}  

.click-handler__count {
    grid-row: 2 span 2;
    grid-column: 2;
    font-size: 50px;
    font-weight: bold;
}

.card {
    display: flex;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: #3333333d;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
}

/* section {
    background-color: rgba(55, 55, 55, 0.348);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    font-family: var(--font-family);
    font-size: auto;
    position: relative;
} */

.auto-clicker__title {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row: 4;
}

.auto-clicker__text {
    grid-column-start: 1;
    font-size: 30px;
}

.auto-clicker__count {
    grid-row: 6;
    grid-column: 1;
    font-size: 50px;
}

.auto-clicker__button {
    grid-column: 2;
    grid-row: span 2;
}

.auto-clicker__button img {
    max-width: 30%;
}

/* #buy-auto-clicker {
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
} */


/* #click-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
} */

#click-button:active {
    /* transform: translateY(4px); */
}

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

    to {
        transform: rotate(360deg);
    }
}

/* #click-button img {
    position: relative;
    max-width: 50%;
} */

#click-button img.rotate {
    animation: rotate 2s linear;
}

/* #donut-count {
    font-family: var(--font-family);
    color: var(--secondary-color);
} */

#reset-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    border: var(--secondary-color) 1px solid;
    cursor: pointer;
    overflow: hidden;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--border-radius);
    padding: 6px;
    position: relative;
}

#reset-button:active {
    transform: translateY(4px);
}

#reset-button:hover {
    background-color: var(--secondary-color);
    color: red;
}

/* Background video */
#background-image {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    
}