/*
    GENERAL
*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
    --SEPARATOR-GRAY: #d6d6d6;
    --DARK-GRAY: rgb(87, 87, 87);
    --OFF-WHITE: #fafafc;
    --LIGHT-GRAY: rgb(250,250,252);
    --DARK-GRAY: rgb(50,50,50);
    --MD-GRAY: rgb(118,118,118);

    --PRIMARY: rgb(254,44,85);
    --LIGHT-RED: #f34d89;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--LIGHT-GRAY);
    color: var(--MD-GRAY);
    font-weight: 300;
}

h1,h3,h4 {
    color: var(--DARK-GRAY);
}


h3,
h4 {
    margin-bottom: 2rem;
}

a {
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

/*
    NAVBAR
*/

.offcanvas {
    background-color: var(--LIGHT-GRAY);
}

.w-logo {
    max-width: 32px;
    height: auto;
    fill: var(--PRIMARY);
}

.navbar {
    font-family: 'Roboto', sans-serif;
}

.navbar-brand {
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand img {
    max-width: 40px;
    height: auto;
}

.offcanvas-title {
    display: none;
}

.sm-icons {
    flex-direction: row;
    gap: 20px;
    font-size: 1rem;
}

.sm-icons i {
    max-height: fit-content;
}

.sm-icons a {
    padding: 0 !important;
}

.nav-link {
    text-align: center;
    color: var(--DARK-GRAY);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--PRIMARY);
}

/*
    SECTIONS
*/
section {
    box-sizing: border-box;
}

/*
    INTRO SECTION
*/

#intro h1 {
    font-size: 2rem;
}

.intro-desc {
    font-size: 1.2rem;
}

.profile-pic {
    border-radius: 50%;
    max-width: 250px;
}

#skills-list,
.card-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 0;
}

#skills-list {
    gap: 1.5rem;
}

#skills-list li {
    display: flex;
    align-items: center;
}

#skills-list i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

#skills-list span {
    font-size: 1.2rem;
}

.section-heading {
    display: flex;
    align-items: center;
}

.heading-icon {
    font-size: 2rem;
    color: #b8b8b8;
    margin-right: .5rem;
}

/* cards */
.card {
    border: none;
    background-color: transparent;
}

#webprojects .card-body {
    border-top: 1px solid rgba(0, 0, 0, 0.11);
    border-bottom: 1px solid rgba(0, 0, 0, 0.11);
    padding: 2rem 0 2rem 0;
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
}

#landing-page-cards .card-title {
    font-size: 2.5rem;
    color: var(--PRIMARY);
}

#landing-page-cards .card-img-top {
    max-width: 300px;
    border-radius: 50%;
    transition: all 200ms;
}

#landing-page-cards .card-img-top:hover,
#landing-page-cards .card-img-top:focus {   
    transform: scale(1.05);
}

.card-title a {
    color: var(--PRIMARY);
    transition: color 180ms;
}

.card-link i {
    font-size: 1rem;
}

.card-list {
    gap: 1rem;
    font-size: 1.1rem;
}

.card-list i {
    margin-right: .5rem;
}

.card-buttons {
    display: flex;
    gap: .5rem;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border: 1px solid var(--PRIMARY) !important;
}

.btn-primary {
    font-family: 'Bebas Neue', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 30px;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--PRIMARY);
    color: var(--PRIMARY);
    transition: transform 100ms;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--PRIMARY) !important;
    color: white;
}

.btn-primary:active {
    transform: scale(.95);
}

.btn-primary i,
.btn-primary span {
    font-size: 1rem;
    margin: 0;
}

.about-text {
    font-size: 1.2rem;
}

.about-links {
    gap: 2rem;
}

.about-links a {
    color: white;
    font-size: 1.2rem;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-item .card {
    border: 1px solid rgba(0, 0, 0, 0.11);
    transition: all 200ms;
}

.portfolio-item img {
    width: 100%;
    height: auto;
}

.portfolio-item .card-body {
    text-align: center;
}

.portfolio-item .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Barlow', sans-serif;
    color: var(--PRIMARY);
}

.portfolio-item .card-text {
    font-size: 1rem;
}

.portfolio-item .btn-primary {
    width: fit-content;
    margin: auto;
}

.portfolio-item a:hover,
.portfolio-item a:focus {
    .card {
        transform: scale(1.04);
        box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
    }
}

/*
    FOOTER
*/
.footer-dark,
.footer-dark .fa-brands {
    color: var(--DARK-GRAY);
}

.footer-dark .fa-brands:hover {
    color: var(--PRIMARY);
}

.footer-logo {
    max-height: 30px;
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

@media (max-width: 991px) {
    .sm-icons {
        margin-top: 2rem;
    }
}