span, h1, h2, h4, h6, p {
    font-family: "Montserrat", sans-serif;
}

html, body {
    height: 100%;
    max-width: 2000px;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

.jumbotron {
    background-size: cover;
    background-image: linear-gradient( rgba(255,255,255,0.0) 0%,rgba(255,255,255,0.9) 100%), 
    url(./pages/greenbutterfly.png);
    height: 400px;
    width: auto;
}

/* Typewriter effect */
.typewriter p {
    color: #000;
    width: 25em;
    font-family: monospace;
    font-size: 2rem;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #FFA500; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives scrolling effect as typing occurs */
    letter-spacing: .15em; 
    animation: 
      typing 3.5s steps(33),
      blink-caret .5s step-end infinite normal;
}
  
/* Typing effect */
  @keyframes typing {
    from { width: 0 }
    to { width: 25em }
}
  
/* Typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #FFA500 }
}

#highlight {
    background: url(./pages/cloudheart.png);
    background-repeat: no-repeat;
    background-size: 100% 95%;
    padding-top: 70px;
    padding-bottom: 40px;
    padding-right: 30px;
    padding-left: 20px;
    margin: -15px;
    font-size: 30px;
}

#highlightheart {
    background: url(./pages/heart.png);
    background-repeat: no-repeat;
    background-size: 100% 95%;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 60px;
    padding-left: 50px;
    margin: -50px;
    font-size: 24px;
}

.summary {
    font-size: 17px;
    margin-left: -15px;
    margin-right: -15px;
    text-align: justify;
}

a.onomatopoetica {
    color: #469ad2;
}

a.onomatopoetica:hover   {
    color: #82c5f2;
    text-decoration: none;
}

#resume {
    background-color: #2f89c4;
    color: #FFFFFF;
}

#resume:hover {
    background-color: #4fa4dd;
    color: #FFFFFF;
}

.jen {
    color: #469ad2;
    text-decoration: none;
}

.jen:hover {
    color: #82c5f2;
    text-decoration: none;
}

.card-header {
    align-content: center;
    box-shadow:0 0 12px rgba(0,0,0,0.6);
}

/* Back to top */
.back-to-top, .back-to-top:focus, .back-to-top:visited {
    background-color: #2f89c4;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity .6s ease-in-out;
    z-index: 999;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    box-shadow: 1px 1px #137bc0;
    box-sizing: border-box;
    border-radius: 8%;
}

a.back-to-top {
    font-weight: 1000;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.6;
    padding-left: 2px;
    padding-top: 14px;
}

.back-to-top:hover {
    color: #FFFFFF;
    background-color: #4fa4dd;
}

.back-to-top.show {
    opacity: 1;
}

.card-header {
    border-radius: 50%;
    box-shadow:0 0 12px rgba(0,0,0,0.6);
}

.footer {
    flex-shrink: 0;
    color: #2f89c4;
}
  
/* Larger screens */
@media (max-width: 2000px) and (min-width: 1300px) {
    p.lead.subTitle {
        margin-top: 150px;
    }

    .card-header {
        width: 1000px;
    }
}

/* Medium screens */
@media (min-width: 700px) and (max-width: 1299px) {
    .jumbotron {
        max-height: 300px;
        max-width: auto;
    }

    p.lead.subTitle {
        margin-top: 100px;
    }

    /* Typewriter effect */
    .typewriter p {
        font-size: 1.75rem;        
    }

    .card-header {
        width: 700px;
    }
}

/* Smaller screens */
@media (max-width: 699px) {
    .jumbotron {
        max-height: 150px;
        max-width: auto;
    }
    
    /* Typewriter effect */
    .typewriter p {
        font-size: .90rem;
    }

    .card-header {
        width: 365px;
    }
}