@import url('https://fonts.googleapis.com/css2?family=Ysabeau:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    background-image: linear-gradient(to top, #000000e1, #2a2929e0, #000000ed);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

audio {
    display: none;
}

/* App Styling */
#app {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.2rem;
/* Gradient Background */
    background-image: linear-gradient(to bottom, rgb(3 3 3 / 94%), rgb(26 25 25 / 81%), rgb(10 9 9 / 96%));
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

/* Menu Button Styling */
#menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    position: fixed;
    left: 2rem;
    top: 1.28rem;
    cursor: pointer;
    border: 2px solid wheat;
    border-radius: 50%;
    padding: .2rem;
}

#cancel-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
    position: absolute;
    right: 3rem;
    top: 3rem;
    cursor: pointer;
    border: 2px solid wheat;
    border-radius: 50%;
    padding: .4rem;
}

/* Navigation Sidebar Styling */
nav {
    /* background-color: rgb(230, 230, 230); */
    position: absolute;
    right: 100%;
    background-color: transparent;
    color: rgb(255, 255, 255);
    top: 0;
    height: 100vh;
    width: 100%;
    transition: .5s;
    z-index: 1;
}

nav.open {
    right: 0;
}

nav ul li {
    list-style: none;
    margin: 2.5rem;
}

nav ul li a {
    margin: 1rem;
    font-size: 1.5rem;
    text-decoration: underline;
    color: bisque;
}

nav ul li a:hover {
    color: rgb(83, 83, 83);
}

nav ul li a:visited {
    color: bisque;
}

nav ul h1 {
    font-size: 2.5rem;
    margin: 2.5rem;
    font-weight: medium;
}

/* Header-Styling */
#header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 50%;
    width: 100%;
}

#header>h1 {
    color: wheat;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}

#profile-picture {
    max-width: 8%;
}

#intro {
    max-width: 33%;
    color: wheat;
    font-family: 'Raleway', sans-serif;
    font-size: larger;
    text-align: center;
}

#header>p>a {
    color: orange;
    text-decoration: none;
    cursor: pointer;
}

#header>p>a:hover {
    color: rgb(255, 255, 255);
    font-size: large;
    cursor: pointer;
}

#footer {
    max-width: 100%;
    color: wheat;
    font-family: 'Raleway', sans-serif;
    font-size: small;
    margin-top: 10px;
    text-align: center;
}

/* Link Container Styling */
#link-container {
    /* border: 2px solid orange; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    height: 50%;
    width: 100%;
}

#link-container ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.links {
    /* border: 2px solid blanchedalmond; */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(41, 41, 41, 0.774);
    border: 2px solid black;
    border: 2px solid wheat;
    border-radius: 20px;
    margin: 10px;
    padding: 0.5rem;
    width: 50vh;
}

.link {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    font-family: 'Raleway', sans-serif;
    align-items: center;
    gap: 0.5rem;
    color: wheat;
}

.link2 {
    text-decoration: none;
    display: flex;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    align-items: center;
    gap: 0.5rem;
    color: wheat;
}

.links:hover {
    background-color: rgba(255, 239, 185, 0.363);
    /* font-size: large; */
    cursor: pointer;
}

/* Background Animation Styling */
body {
    text-align: center;
    /* img size is 50x50 */
    background: url("../img/bg.png") repeat 0 0;
    -webkit-animation: bg-scrolling-reverse 0.92s infinite;
    /* Safari 4+ */
    -moz-animation: bg-scrolling-reverse 0.92s infinite;
    /* Fx 5+ */
    -o-animation: bg-scrolling-reverse 0.92s infinite;
    /* Opera 12+ */
    animation: bg-scrolling-reverse 0.92s infinite;
    /* IE 10+ */
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    -o-animation-timing-function: linear;
    animation-timing-function: linear;
}

@-webkit-keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@-moz-keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@-o-keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@-webkit-keyframes bg-scrolling {
    0% {
        background-position: 50px 50px;
    }
}

@-moz-keyframes bg-scrolling {
    0% {
        background-position: 50px 50px;
    }
}

@-o-keyframes bg-scrolling {
    0% {
        background-position: 50px 50px;
    }
}

@keyframes bg-scrolling {
    0% {
        background-position: 50px 50px;
    }
}
