﻿html, body {
    height: 100%;
}

body {
    padding-top: 55px;
    display: flex;
    text-align: center;
    flex-direction: column;
}

main {
    margin: auto;
    padding: 25px;
    flex: 1 0 auto;
    max-width: 750px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.copyright {
    margin: 15px 0;
}

.navbar.navbar-default {
    border-top: var(--border-width) solid var(--accent);
}

footer {
    border-bottom: var(--border-width) solid var(--accent);
}

img {
    max-width: 100%;
}

.mainPage {
    transform: translateY(22vh);
}

    .mainPage > h1 {
        color: #4f51a4;
        font-size: 6vh;
    }

    .mainPage > h2 {
        color: #303030;
        font-size: 3vmin;
    }

    .mainPage > .profile {
        width: 8vh;
        height: 8vh;
        border-radius: 50%;
    }

a:link, a:visited {
    color: var(--accent);
}

a.icon:hover {
    text-decoration: none;
}

a:hover {
    color: var(--accent) !important;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.navbar-icon {
    font-size: 125%;
    display: inline-block !important;
}

svg {
    display: flex;
    font: 10.5em 'Montserrat';
    white-space: nowrap;
    margin: 0 auto;
}

.text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
}

    .text-copy:nth-child(1) {
        stroke: #4f51a4;
        animation-delay: -1s;
    }

    .text-copy:nth-child(2) {
        stroke: #4fa4a3;
        animation-delay: -2s;
    }

    .text-copy:nth-child(3) {
        stroke: #5f608b;
        animation-delay: -3s;
    }

    .text-copy:nth-child(4) {
        stroke: #5f608b;
        animation-delay: -4s;
    }

    .text-copy:nth-child(5) {
        stroke: #784fa4;
        animation-delay: -5s;
    }

@keyframes stroke-offset {
    100% {
        stroke-dashoffset: -35%;
    }
}