/* Apply the title font */
@font-face {
    font-family: neon-font;
    src: url(/fonts/neon-sign.otf);
}

h1 {
    font-family: neon-font;
    font-size: clamp(24px, 5vw, 50px);
    text-align: center;
    -webkit-animation: glow 1.5s ease-in-out infinite alternate;
    -moz-animation: glow 1.5s ease-in-out infinite alternate;
    animation: glow 1.5s ease-in-out infinite alternate;
    color: #5BC0BE;
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #6fffe9, 0 0 25px #6fffe9, 0 0 30px #6fffe9, 0 0 35px #6fffe9, 0 0 40px #6fffe9;
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 15px #fff;
    }
}

/* The main background color for the website */
body {
    background-attachment: scroll;
    background: linear-gradient(to bottom right, #4facfe, #340094, #ff874b);
    background-repeat: no-repeat;
    background-size: cover;
    color: "white";

    /* Using flexbox */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    border: 0;
}

html {
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0px 10px;
}

/* Main page content */
.page-body {
    font-family: sans-serif;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
    min-width: 400px;
    max-width: 900px;
    margin: 0 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    align-items: center;
    color: white;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* for Safari */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation bar and drop down menu */
.navigation-bar { /* The main horizontal rectangle*/
    display: flex;
    justify-content: space-around;
    width: 99%;
    margin: 10px;

    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 15px;
    padding: 10px;

    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* All the buttons in the navigation bar */
.navigation-bar a, 
.navigation-bar .dropdown-toggle {
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;

    transition: text-shadow 0.3s ease;
}

.navigation-bar a:hover,
.navigation-bar .dropdown-toggle:hover {
    text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #6fffe9, 0 0 25px #6fffe9, 0 0 30px #6fffe9, 0 0 35px #6fffe9, 0 0 40px #6fffe9;
}
/* We are going to animate these on hover */

.dropdown {
    position: relative;
    display: inline-block;
    width: 150px;

    text-align: center;
}

.dropdown > .dropdown-toggle {
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.dropdown .dropdown-content {
    /* display: none; */
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    word-wrap:break-word;
    white-space: normal;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: opacity 0.3s ease, transform 0.3s ease;

}

.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
}



.dropdown .dropdown-content > .dropdown-element {
    margin: 5px 0px;
    padding: 10px 25px;
    backdrop-filter: blur(0px);
    border-radius: 25px;

    background-color: rgba(255, 255, 255, 0.1);

    transition: backdrop-filter 0.3s ease;
}

.dropdown:hover .dropdown-content > .dropdown-element {
    backdrop-filter: blur(3px);
}



.dropdown .dropdown-content > .dropdown-element:first-child {
    margin-top: 20px;
}