html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 3.5rem;
    font-weight: 300;
}

h3 {
    font-weight: 300;
}

.navbar {
    background-color: rgb(0, 0, 40);
    margin-bottom: 1.5rem;
}

.nav-link {
    font-size: 1.5rem;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    color: white;
    background-color: rgb(0, 0, 40);
    text-align: center;
}

.backToTopLink {
    color: rgb(200, 200, 200);
}

.backToTopLink:hover {
    color: white;
    text-decoration: none;
}

.card-text {
    text-align: center;
    margin-bottom: 0;
}

.portfolio-link,
.github-link {
    color: black;
    margin-bottom: 0;
    text-align: center;
}

.portfolio-link:hover,
.github-link:hover {
    color: rgb(58, 57, 57);
    text-decoration: none;
}

.github-link {
    font-size: .75rem;
}

#profile-picture {
    text-align: center;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
    float: left;
}

/* Title color change animation */

@keyframes title-color {
    30% {
        color: rgb(56, 158, 253);
    }
    100% {
        color: #212529;
    }
}

/* Apply the animation */

.page-title {
    animation-name: title-color;
    animation-duration: 1s;
}

/* Media queries for responsiveness */

/* Large devices (desktops, less than 1200px) */

@media screen and (max-width: 1199.98px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 3rem;
    }
    .nav-link {
        font-size: 1.25rem;
    }
}

/* Medium devices (tablets, less than 992px) */

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

/* Small devices (landscape phones, less than 768px) */

@media screen and (max-width: 767.98px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    .nav-link {
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */

@media screen and (max-width: 575.98px) {
    .navbar {
        margin-bottom: 0.5rem;
    }
    #profile-picture {
        max-height: 125px;
    }
}

/* Tiny devices */

@media screen and (max-width: 380px) {
    .col-tiny-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    #profile-picture {
        max-height: 90px;
        margin-bottom: 0.25rem;
        margin-right: 0.5rem;
    }
}