* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    font-family: 'Libre_Franklin';
    font-weight: 200;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background-color: var(--purple);
    border-radius: 8px;
}

@font-face {
    font-family: 'Libre_Franklin';
    src: url('../media/fonts/LibreFranklin-VariableFont_wght.ttf'),
        url('../media/fonts/LibreFranklin-Italic-VariableFont_wght.ttf');
}

:root {
    --purple: #6a0dad;
    --brightPurple: #AD09D4;
    --highlight: #ffe066;
    --blue: #005dbb;
    --green: #00b300;
    --red: #ff0000;
    --gray: #474747;
}

body {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

main {
    width: 100vw;
    height: min-content;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* background-image: url('../media/dragon-scales.svg'); */
    background-image: url('../media/green_noise.png');
    padding-bottom: 50px;
    /* border: 2px solid red; */
}

.header {
    position: relative;
    width: 100%;
    height: min-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
}

.header-title {
    position: relative;
    font-size: 100px;
    color: black;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 200;
    cursor: default;
    text-shadow: -3px 3px 3px rgba(0, 0, 0, 0.75);
}

.header-nav {
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    /* border: 2px solid blue; */
}

.header-nav-item {
    position: relative;
    font-size: 30px;
    height: 35px;
    font-style: italic;
    transition: all 0.2s ease-in-out;
}

.header-nav-item:hover {
    transform: translate(0, -5px);
}

.header-nav-item:hover a {
    color: var(--highlight);
}

.header-nav-item a {
    color: rgb(0, 0, 0);
    text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.75);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-weight: 300;
}

.header-email {
    position: relative;
    height: 40px;
    margin-top: 20px;
    font-size: 25px;
    font-style: italic;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: 2px solid rgb(255, 255, 255, 0.25);
    background-color: rgb(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.header-email p {
    color: whitesmoke;
    text-shadow: -2px 2px 3px black;
    /* transition: all 0.2s ease-in-out; */
}

.header-email-copy {
    position: relative;
    height: 90%;
    filter: invert();
}

.header-email:hover {
    background-color: rgb(0, 0, 0, 0.75);
    border-color: #00000000;
    box-shadow: -5px 5px 5px var(--highlight);
    transform: translate(5px, -5px);
}

.header-email:hover p {
    color: var(--highlight);
}

.header-email:hover .header-email-copy {
    filter: invert(91%) sepia(23%) saturate(1098%) hue-rotate(337deg) brightness(102%) contrast(101%);
}

footer {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: whitesmoke;
}

.button1,
.button2 {
    position: relative;
    background-color: black;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    color: whitesmoke;
    padding: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-wrap: nowrap;
}

.button1:hover {
    background-color: var(--highlight);
    color: black;
    font-weight: 600;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.75);
    transform: translate(5px, -5px);
}

.button2:hover {
    background-color: var(--purple);
    color: var(--highlight);
    font-weight: 600;
    box-shadow: -5px -5px 5px rgba(0, 0, 0, 0.75);
    transform: translate(5px, 5px);
}

.button1-disabled {
    position: relative;
    background-color: black;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    color: whitesmoke;
    padding: 10px;
    transition: all 0.2s ease-in-out;
    cursor: not-allowed;
    opacity: 0.5;
}

.alert {
    position: fixed;
    top: 25px;
    left: calc(50% - 175px);
    width: 350px;
    height: min-content;
    padding: 10px;
    background-color: var(--purple);
    box-shadow: 0px 0px 10px 2.5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    opacity: 0%;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

@keyframes alert-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.alert-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--highlight);
}

.alert-icon-container {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.alert-icon {
    position: relative;
    width: 50px;
    height: 50px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;

    /* border: 2px solid red; */
}

.alert-success {
    filter: invert(37%) sepia(91%) saturate(1329%) hue-rotate(91deg) brightness(101%) contrast(106%);
}

.alert-error {
    filter: invert(16%) sepia(99%) saturate(6905%) hue-rotate(2deg) brightness(110%) contrast(116%);
}

.alert-info {
    filter: invert(71%) sepia(83%) saturate(274%) hue-rotate(1deg) brightness(105%) contrast(105%);
}

.alert-text {
    position: relative;
    font-size: 20px;
    min-height: 50px;
    height: min-content;
    align-content: center;
    width: calc(100% - 60px);
    color: whitesmoke;
    margin-top: 10px;
    /* border: 2px solid red; */
}

.alert-close {
    width: 50%;
    left: 25%;
}

/* Phone sizing */
@media screen and (max-width: 560px) {
    .header-title {
        font-size: 80px;
    }

    .header-nav-item {
        font-size: 24px;
    }

    .header-nav-item a {
        font-weight: 400;
    }

    .button1,
    .button2 {
        font-size: 15px;
    }

    .alert {
        width: 90%;
        left: 5%;
    }
}

@media screen and (max-width: 460px) {
    .header-nav {
        gap: 10px;
    }
}