/* GLOBAL */

body {
    color: #252422;
    letter-spacing: 0.3px;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 800!important;
    font-size: 2rem!important;
}

.sr-body-text {
    font-size: 18px;
}

.sr-text-link {
    color: #4F11E4;
    text-decoration: none;
}

.sr-nav-links li a {
    color: #252422 ;
    font-weight: 600;
    font-size: 16px;
}

.sr-text-link:hover,
.sr-nav-links li a:hover {
    color: #4F11E4;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
}

header {
    text-align: center;
    padding: 10px;
}

nav li {
    display: inline;
    margin: 0 10px;
}

nav a {
    text-decoration: none;
}

.sr-h1 {
    font-size: 2rem;
    font-weight: 700;
}

.sr-heading {
    font-size: 1.25rem;
    font-weight: 700;
}

.sr-section-margin {
    margin: 6rem 0 6rem 0;
}

/* NAV BAR */

.sr-main-nav {
    background-color: #fff;
}

.sr-main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sr-mobile-nav div {
    background-color: #F6F6F6;
}

.navbar-toggler {
    width: 48px;
    height: 48px;
}

/* LOGO */

.sr-logo-link img {
    max-width: 180px;
    height: auto;
    width: 100%;
}

/* HEADER IMAGE */

.sr-header-section {
    background-color: #F7EBD7;
    padding: 12rem 0 8.5rem 0;
}

.sr-header-subtitle {
    font-size: 24px;
    font-weight: 400;
}

/* PROJECT CARD */

.sr-card-link {
    display: block;
    transition: transform 0.9s cubic-bezier(.155,1.105,.295,1.12);
}

.sr-card-link:hover {
    transform: scale(0.95);
}

.sr-project-img {
    max-height: 100%;
    max-width: 100%;
}

/* ABOUT SECTION */

.sr-about-section {
    background-color: #E3EEF1;
    padding: 5rem 0 3rem 0;
}

/* CONTACT SECTION */

.sr-contact-text {
    font-weight: 300;
    color: #848282;
    font-size: 1.4rem;
}

.sr-contact-icon {
    height: 40px;
    width: auto;
    margin-left: 2rem;
    width: 90%;
    transition-duration: 1.1s;
}

.sr-linkedin-svg {
    height: 35px;
    width: auto;
}

.sr-mail-svg {
    height: 32px;
    width: auto;
}

.sr-social-link {
    position: relative;
    display: inline-block;
}

.sr-social-link img {
    transition: filter 0.3s ease;
}

.sr-social-link:hover img {
    filter: grayscale(0%) brightness(100%) invert(30%) sepia(40%) saturate(750%) hue-rotate(205deg);
}


/* FOOTER */

.sr-footer {
    background-color: #E1F0EA;
    padding: 5rem 0 5rem 0;
}

.sr-footer-list li {
    display: inline-block;
    margin-right: 20px; 
}

.sr-footer-link {
    color: #252422;
    text-decoration: none;
}

/* ARTICLE PAGES */

.sr-article-header {
    padding-top: 4rem;
}

.sr-overlay-container {
    width: 80%; 
    background-color: white;
    padding: 32px;
    position: absolute;
    bottom: -6rem;
    left: 50%;
    transform: translateX(-50%);
}

.sr-overlay-content {
    width: 100%;
}

.sr-article-body {
    width: 80%;
    padding: 32px;
}

.sr-paragraph-subtitle {
    color: #4F11E4;
}

.sr-list-styling li::marker, 
.sr-quote {
    color: #4F11E4;
}

.sr-list-styling li {
    padding-left: 1rem;
}

.equal-height-images img {
    flex: 1;
    object-fit: cover;
    height: 100%;
}


@media (max-width: 767.98px) {
    .sr-article-body {
        width: 100%;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sr-overlay-container {
        bottom: -12rem;
    }

    .sr-article-body {
        margin-top: 9rem;
    }
}

@media (min-width: 992px) {
    .sr-article-body {
        margin-top: 3rem;
    }
}
