:root {
    /* --color-primary: #3740ff;
    --color-primary-dark: #272eb5;
    --color-primary-light: #3740ff;
    --color-primary-x-light: #e8f0fe;
    --color-light: #ffffff;
    --color-dark: #202124;
    --color-off-white: #f3f4f4;
    --color-mid: #5f6368;
    --color-mid-dark: #3c4043;
    --color-stroke: #dadce0;
    --metric-gutter: 1.5rem; */
    --metric-box-spacing: 0.5rem;
    --reveal-width: 320px;
    --reveal-height: 170px;
    --reveal-overlay-width: 405px;
    --reveal-overlay-height: 100px;
    /* --metric-radius: 3px;
    --generic-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3),
      0px 2px 6px 2px rgba(60, 64, 67, 0.15);
    --font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; */
    --reveal-text-font-size: 18px;
    --reveal-overlay-text-font-size: 21px;
}


html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    /* display: flex; */
    /* align-items: center; */
    justify-content: center;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    /* margin: var(--metric-box-spacing); */
}

p {
    padding: var(--metric-box-spacing);
    margin-block-start: var(--metric-box-spacing);
}

header,
footer {
    /* text-align: center; */
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

header {
    padding: var(--metric-box-spacing);
    /* background-color: hsl(140deg 70% 95%); */
    /* font-size: 1.4em; */
    justify-content: start;
}

header h1,
.title  {
    /* margin: 0.5em 0; */
    /* color: rgb(66, 133, 244); */
    color: rgb(95, 99, 104);
    font-size: 20px;
    /* Responsive font size */
    height: 1rem;
    font-family: "Google Sans", "Helvetica Neue", sans-serif;
    font-weight: 400;
}

main {
    min-block-size: calc(100vh - 7.5em);
}

article {
    /* background-color: hsl(60deg 70% 95%); */
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.main-content {
    justify-content: start;
    max-width: 400px;
    min-width: 300px;
}

aside {
    /* background-color: hsl(0deg 70% 95%); */
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

article,
aside {
    padding: var(--metric-box-spacing);
    margin: var(--metric-box-spacing);
}

footer {
    /* align-items: start; */
    padding: calc(var(--metric-box-spacing) / 2);
    /* background-color: hsl(200deg 70% 95%); */
    justify-content: start;
    font-family: "Google Sans", "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

@media (min-width: 65em) {
    :root {
        --reveal-width: 640px;
        --reveal-height: 340px;
        --reveal-overlay-width: 810px;
        --reveal-overlay-height: 100px;
        --reveal-text-font-size: 36px;
        --reveal-overlay-text-font-size: 42px;
    }

    main {
        display: flex;
        flex-direction: row;
    }

    main article {
        flex: 1;
    }

    main aside {
        flex: 1;
    }
}


@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
        color: white;
    }

    input {
        background-color: black;
        color: white;
        border-color: white;
    }

    button {
        background-color: white;
        color: black;
    }

    header h1, .title {
        /* margin: 0.5em 0; */
        /* color: rgb(66, 133, 244); */
        color: rgb(95, 99, 104);

    }

    a {
        color: #ddd;
    }
}


/* Reveal */

.reveal {
    display: flex;
    width: var(--reveal-width);
    height: var(--reveal-height);
    /* background-color: deeppink; */
    border-radius: 3px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0, 0, 0.3, 1);
    position: relative;
}

.reveal::before {
    content: '';
    display: block;
    position: absolute;
    left: 10px;
    top: 12px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: #000;
    box-shadow: 0 0 12px 6px #000;
    transition: transform 0.4s cubic-bezier(0, 0, 0.3, 1),
        opacity 0.4s cubic-bezier(0, 0, 0.3, 1);
    opacity: 0.4;
}

.reveal img {
    width: var(--reveal-width);
    position: relative;
    border-radius: 3px;
}

.reveal:hover {
    transform: scale(1)
}

.reveal:hover::before {
    transform: translateY(12px);
    opacity: 0.2;
}

.reveal-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}


.reveal__title,
.reveal__title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: var(--reveal-text-font-size);
    color: #fff;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


.reveal__title {
    color: #fff;
    text-shadow: 2px 2px 3px #3636c1, -2px -2px 2px #db75b6;
    /* font-size: var(--reveal-text-font-size); */
}

.reveal__title.delay-no-more {
    color: rgba(254, 0, 0, 0.93);
    text-shadow: 2px 2px 4px #000, -2px -2px 2px #fff;
    /* font-size: var(--reveal-text-font-size); */
}



.reveal__title-overlay {
    overflow: hidden;
    top: calc(50% - 50px);
    background: rgb(66, 133, 244);
    /* background: #333; */
    height: var(--reveal-overlay-height);
    width: var(--reveal-overlay-width);
    left: 50%;
    z-index: 2;
    color: #fff;
    font-size: var(--reveal-overlay-text-font-size);
    transition: transform 0.4s cubic-bezier(0, 0, 0.3, 1);
    transform: translateX(-150%) skew(-30deg);

}

.reveal__title-overlay-text {
    width: 100%;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0, 0, 0.3, 1);
    transform: translateX(100%) skew(30deg);
}

.reveal:hover .reveal__title-overlay {
    transform: translateX(-50%) skew(-30deg);
}

.reveal:hover .reveal__title-overlay-text {
    transform: skew(30deg);
}

.circular-reveal {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 256px;
    height: 256px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.circular-reveal img {
    width: 100%;
    /* height: 100%; */
}

.circular-reveal::after {
    content: 'Try it!';
    position: absolute;
    background: rgba(66, 133, 244, 0.7);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1),
        opacity 0.3s cubic-bezier(0, 0, 0.3, 1);
    /* transform: translateY(10px); */
    transform: rotate(90deg);
    opacity: 0;
}


.circular-reveal:hover::after {
    /* transform: translateY(0px); */
    transform: rotate(0deg);
    opacity: 1;
}

.button {
    background-color: #007bff;
    /* A blue color similar to the one in the image */
    color: white;
    /* White text color */
    border: none;
    /* No border */
    padding: 10px 20px;
    /* Top & Bottom | Left & Right padding */
    border-radius: 20px;
    /* Rounded corners */
    font-family: Arial, sans-serif;
    /* Font style similar to the image */
    font-size: 16px;
    /* Adjust the font-size as needed */
    text-decoration: none;
    /* In case it's a link styled as a button, remove underline */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Subtle shadow effect */
    transition: background-color 0.3s, box-shadow 0.3s;
    /* Smooth transition for hover effect */
    cursor: pointer;
    /* Cursor changes to pointer to indicate it's clickable */
}

.button:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Slightly more pronounced shadow on hover */
}

.button:active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    /* Smaller shadow to simulate a click effect */
}