@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&display=swap');

/* font-family: 'Montserrat', sans-serif; */
/* font-family: 'Comfortaa', cursive; */

body {
    margin: 0;
    padding: 0;
    background: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
}


.menuWrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.menuWrap .toggle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
    cursor: pointer;
    width: 60px;
    height: 60px;
    opacity: 0;
}

/* Hamburger box */
.menuWrap .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 60px;
    height: 60px;
    padding: 1rem;
    background-image: linear-gradient(to right, rgb(5,157, 152), rgb(35, 240, 199), rgb(11, 209, 254), rgb(66, 242, 247));
    display: flex;
    justify-content: center;
    align-items: center;
}

.menuWrap .hamburger > div {
    position: relative;
    width: 100%;
    height: 3px;
    background: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.menuWrap .hamburger > div::before,
.menuWrap .hamburger > div::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: inherit;
    z-index: 1000;
}

.menuWrap .hamburger > div::before {
    top: -10px;
}

.menuWrap .hamburger > div::after {
    top: 10px;
}

.menuWrap .toggle:checked + .hamburger > div {
    transform: rotate(135deg);
}

.menuWrap .toggle:checked + .hamburger > div::before,
.menuWrap .toggle:checked + .hamburger > div::after {
    top: 0;
    transform: rotate(90deg);
}

.menuWrap .toggle:checked:hover + .hamburger > div {
    transform: rotate(225deg);
}

.menuWrap .toggle:checked ~ .menu {
    visibility: visible;
}

.menuWrap .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.menuWrap .menu > div {
    background: rgba(49, 49, 49, 0.8);
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menuWrap .menu .links {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
}

.links ul li {
    list-style-type: none;
    font-size: 3.5em;
    padding: 2em;
}

.links ul li a {
    text-decoration: none;
    color: whitesmoke;
    font-weight: bold;
    text-shadow: 3px 3px 5px rgb(66, 242, 247);
}
.text {
    display: flex;
    color: whitesmoke;
    font-size: 50px;
    font-weight: bold;
    justify-content: center;
    margin-top: 50px;
    padding-top: 50px;
    text-shadow: 3px 3px 5px rgb(66, 242, 247);
}

.middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 400px;
    margin: 3em auto;
}

.btn {
    display: flex;
    justify-content: center;

    /* spacing and stlying */
    margin: 2rem 0;
    border: 2px solid whitesmoke;
    padding: 1rem 4rem;

    /* styling fonts */
    color: whitesmoke;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;

    /* hide extra stuff */
    position: relative;
    overflow: hidden;
}

/* .btn:hover {
    color: coral;
} */

.btn::before {
    background: linear-gradient(to right, rgb(5,157, 152), rgb(35, 240, 199), rgb(11, 209, 254), rgb(66, 242, 247));;
    /* add an empty state two"" */
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;

    /* add animation */
        /* translate (X, Y) */
    transform: translate(-50%, -50%);
    z-index: -1;
    /* transition what is being transformed,
    how long, ease */
    transition: all 0.6s ease;

    width: 100%;
    height: 0;
    transform: translate(-50%, -50%) rotate(45deg);

}

.btn:hover::before {
    height: 500%;
}

h1 {
    text-align: center;

}