* {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    margin: 0;
    outline: none;
    padding: 0;
}

h2 {
    font-size: 1.75rem;
}

header {
    background-color: #f6f6f6;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1;
}

header section#bottom-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

header section#bottom-nav nav {
    margin-top: 1rem;
}

header section#bottom-nav nav * {
    color: #711f1fcc;
    letter-spacing: .2rem;
}

header section#nav-container {
    padding: .67rem;
}

header section#top-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

html {
    scroll-behavior: smooth;
}

img.icon {
    height: 1.25rem;
    width: 1.25rem;
}

input {
    width: 16rem;
}

input, textarea {
    border: .01rem solid #e4e4e4;
    border-radius: .25rem;
    font-size: 1rem;
    margin: .25rem;
    padding: 1rem;
}

li {
    list-style: "-";
}

main {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 7rem;
}

main section {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    scroll-margin-top: 8rem;
    width: 100vw;
}

main section#carousel {
    display: block;
    margin: 4rem auto 1rem auto;
    max-width: 60vw;
    position: relative;
}

main section#carousel * {
    padding: 0;
}

main section#carousel a.next {
    border-radius: 3px 0 0 3px;
    right: 0;
}

main section#carousel a.next, main section#carousel a.prev {
    border-radius: 0 3px 3px 0;
    color: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: -22px;
    padding: 16px;
    position: absolute;
    top: 50%;
    transition: 0.6s ease;
    user-select: none;
    width: auto;
}

main section#carousel div.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

main section#carousel div.slide {
    display: none;
}

main section#carousel img {
    height: auto;
    max-height: 100vh;
    max-width: 100vw;
    width: auto;
}

main section#contact {
    min-height: 80vh;
}

main section * {
    padding: .5rem;
}

main section form, main section h2, main section p, main section span {
    padding: .5rem 2rem;
}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .5rem;
}

nav.center * {
    font-size: 2rem;
    white-space: nowrap;
}

nav.left, nav.right {
    flex: 1;
    min-width: -webkit-min-content;
}

nav.right {
    justify-content: flex-end;
}

nav * {
    color: inherit;
    font-size: 1rem;
    text-decoration: none;
}

p a {
    color: #711f1fcc;
    text-decoration: none;
    padding: 0;
}

span.button {
    background-color: #fafafa;
    border: .01rem solid #e4e4e4;
    border-radius: .25rem;
    cursor: pointer;
    padding: 1rem;
}

textarea {
    width: 16rem;
}

@keyframes fade {
    from {opacity: .8}
    to {opacity: 1}
}

@media (width <= 1250px) {
    main section#carousel {
        max-width: 70vw;
    }
}

@media (width <= 1000px) {
    main section#carousel {
        max-width: 80vw;
    }
}

@media (width <= 750px) {
    main section#carousel {
        max-width: 90vw;
    }
}

@media (width <= 500px) {
    main section#carousel {
        max-width: 95vw;
    }
}

@media (pointer: fine) {
    header section#bottom-nav nav a:hover {
        color: #000;
    }

    header section#bottom-nav nav a:active {
        color: #000000aa;
    }

    main section#carousel a.next:hover, main section#carousel a.prev:hover {
        background-color: rgba(0,0,0,0.8);
    }

    main section#carousel div.active {
        background-color: #717171;
    }

    span.button:hover {
        background-color: #e4e4e4;
    }

    span.button:active {
        background-color: #fafafa;
    }
}
