/* define font configuration */
.space-mono-regular {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.space-grotesk-regular {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Remove white border */
body {
    margin: 0;
    max-height: 100%;
    max-width: 100%;
    background-color:#2E3033;
}

/* define navbar */
@media screen and (min-width: 481px) {
 
    #navbarIndex {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;
        text-align: center;
        font-family: "Space Mono";
        font-size: 15px;
        z-index: 3;
    }

    #navbarIndex a:link, #navbarIndex a:visited {
        color: white;
        text-decoration: none;
    }

    #navbarIndex a:hover {
        color: grey;
        text-decoration: none;
    }

    #navbarContent {
        background-color: #7A4988;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;
        text-align: center;
        font-family: "Space Mono";
        font-size: 15px;
        z-index: 3;
    }

    #navbarContent a:link, #navbarContent a:visited {
        color: white;
        text-decoration: none;
    }

    #navbarContent a:hover {
        color: grey;
        text-decoration: none;
    }
}

@media screen and (max-width: 480px) {

    #navbarIndex {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;
        text-align: center;
        font-family: "Space Mono";
        font-size: 12px;
        z-index: 3;
    }

    #navbarIndex a:link, #navbarIndex a:visited {
        color: white;
        text-decoration: none;
    }

    #navbarIndex a:hover {
        color: grey;
        text-decoration: none;
    }

    #navbarContent {
        background-color: #7A4988;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;
        font-family: "Space Mono";
        font-size: 12px;
        z-index: 3;
    }

    #navbarContent a:link, #navbarContent a:visited {
        color: white;
        text-decoration: none;
    }

    #navbarContent a:hover {
        color: grey;
        text-decoration: none;
    }
}

/* define index splash */
#splashContainer {
    background-color: #2E3033;
    position: absolute;
    height: 100vh;
    width: 100%;
    top: 0;
    z-index: 0;
}

#splashImage {
    background-image: url(../img/bg1.jpg);
    background-position: center;
    position: absolute;
    display: flex;
    top: 0;
    height: 100%;
    width: 100%;
    justify-content: center;
    animation: fadeIn 3s;
    z-index: 1;
    opacity: .5;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  25% {opacity: 0;}
  50% {opacity: 0;}
  100% { opacity: .5;}
}

/* define canvas */
@media screen and (min-width: 481px) {

    #innerCircle {
    position: absolute;
    height: 400px;
    width: 400px;
    top: 50%;
    left: 50%;
    z-index: 1;
    animation: rotate 3s, fadeOut 3s;
    transform: translate(-50%, -50%);
    opacity: .1;
}
}
@media screen and (max-width: 480px) {

    #innerCircle {
    position: absolute;
    height: 400px;
    width: 400px;
    top: 50%;
    left: 50%;
    z-index: 1;
    animation: rotatesmall 3s, fadeOut 3s;
    transform: translate(-50%, -50%) scale(.75);
    opacity: .1;
}
}

@keyframes rotatesmall {
    from {
        transform: translate(-50%, -50%) scale(.75) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) scale(.75) rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  25% {opacity: 1;}
  50% {opacity: 1;}
  100% { opacity: .1; }
}


/* define index title */
@media screen and (min-width: 481px) {
#title {
    font-family: "Space Grotesk";
    color: white;
    font-size: 20px;
    white-space: nowrap;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 100%;
    height: 100%;
}
}

@media screen and (max-width: 480px) {
#title {
    font-family: "Space Grotesk";
    color: white;
    font-size: 16px;
    white-space: nowrap;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 100%;
    height: 100%;
}
}

/* define section content */
@media screen and (min-width:481px) {

header {
    font-family: "Space Grotesk";
    font-size: 20px;
    color: white;
    position: absolute;
    height: 100px;
    width: 100%;
    top: 100px;
    text-align: center;
    z-index: 1;
}

section {
    position: relative;
    top: 100px;
    width: 800px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: "Space Mono";
    color: white;
    height: fit-content;
    left: auto;
    right: auto;
    max-width: 90vw;
}

.sectionImage {
    object-fit: cover;
    align-self: center;
    height: 360px;
    width: 360px;
}

img {
    width: 100%;
}

textarea {
    width: 100%;
}

input {
    width: 100%;
}
}

@media screen and (max-width:480px) {

header {
    font-family: "Space Grotesk";
    font-size: 20px;
    color: white;
    position: absolute;
    height: 100px;
    width: 100%;
    top: 100px;
    text-align: center;
    z-index: 1;
}

section {
    position: relative;
    top: 100px;
    width: 800px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: "Space Mono";
    font-size: 12px;
    color: white;
    height: fit-content;
    left: auto;
    right: auto;
    max-width: 90vw;
}

.sectionImage {
    object-fit: cover;
    align-self: center;
    height: 240px;
    width: 240px;
}

img {
    width: 100%;
}

textarea {
    width: 100%;
}

input {
    width: 100%;
}
}

hr {
    width: 100%;
    border: 2px dotted;
}