* {
    box-sizing: border-box;
}

:root {
    /*** colors ***/
    --color-first: 225 88 117;
    --color-second: 75 81 221;
    --color-white: 242 242 242;
    --color-bg: 0 0 0;

    /*** fonts ***/
    --font-title: 'Montserrat', sans-serif;
    --font-body: "Open Sans", sans-serif;

}

body {
    font-family: var(--font-body);
    font-size: 1em;
}
a:link, a:hover, a:visited, a:focus, a:active {
    text-decoration: none;
}
a:link, a:visited {
    color: rgba(var(--color-second) / 100%);
}
a:hover, a:focus, a:active {
    color: rgba(var(--color-first) / 100%);
}
/*** nav ***/

nav a, nav .nav-link {
    border: 1px solid #000000;
    border-radius: 30px;
    padding: 0 1em!important;
    height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .9em;
    font-weight: 600;
}
nav :is(a:hover, a:active, a:focus).nav-link {
    color: rgba(var(--color-second) / 100%)!important;
}
.nav {
    gap: .75em;
}
nav .flex-wrap {
    gap: 1em 0;
}
nav a i {
    padding: 0 1em 0 0;
    margin: 0 1em 0 0;
    border-right: 1px solid #000000;
}

/*** header ***/

header {
    position: relative;
}
header::before {
    content: '';
    width: 90%;
    height: calc(100% - 2em);
    background: rgba(var(--color-second) / 15%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0 0 5em 0;
}
.header-img-con {
    width: 90%;
    max-width: 280px;
    min-width: 150px;
    border-radius: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.header-img-con::before {
    content: '';
    z-index: -1;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(var(--color-first) / 50%);
}
.header-img-con::after {
    content: '';
    z-index: -1;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(0deg, rgba(var(--color-third) / 70%) 0%, rgba(var(--color-first) / 30%));
}
header img {
    width: 100%;
    position: relative;
    z-index: -1;
}
header p {
    max-width: 80%;
    margin: 2.5em 0;
}
header .row {
    align-items: center;
    gap: 3em 0;
    margin: 5em 0;
}

/*** main ***/
h1, h2, h3, h4, h5 {
    font-family: var(--font-title);
    margin: 0 0 .5em;
}
h1 {
    font-size: 2.5em;
    font-weight: 700;
}
h2 {
    font-size: 1.8em;
    font-weight: 700;
}
h4 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.1em;
}
h5, .list-group b {
    font-weight: 800;
    text-transform: uppercase;
    font-size: .9em;
}
.list-group :is(h4, p) {
    margin-bottom: .5em;
}
.button-con {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn {
    border: 2px solid rgba(var(--color-first) / 100%);
    background: rgba(var(--color-first) / 100%);
    border-radius: 4em;
    padding: 0 1.5em!important;
    height: 4em;
    display: inline-flex;
    align-items: center;
    justify-content: center;;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .95em;
    font-family: var(--font-title);
    font-weight: 600;
}
.btn-primary:hover {
    border-color: rgba(var(--color-second) / 100%);
    background-color: rgba(var(--color-second) / 100%);
}
.btn-secondary {
    border: 2px solid rgba(var(--color-first) / 100%);
    background-color: transparent;
    color: initial;
}
.contact-con {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .7em 0;
    margin: 1em 0;
}
.btn-contact {
    border-radius: 4em;
    display: flex;
    align-items: center;
    justify-content: flex-start;;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .95em;
    white-space: nowrap;
}
.btn-contact svg {
    width: 25px;
}
.btn-contact :is(svg, i) {
    font-size: 1.4em;
    padding: 0;
    margin: 0 10px 0 0;
    fill: rgba(var(--color-second) / 70%);
    color: rgba(var(--color-second) / 70%);
}
:is(.btn-contact:hover, .btn-contact:active) :is(svg, i) {
    fill: rgba(var(--color-first) / 70%);
    color: rgba(var(--color-first) / 70%);
}

.btn-contact .fa-envelope {
    font-size: 1.2em;
}
main {
    margin: 6em 0;
}
main .row {
    gap: 3em 0;
    --bs-gutter-x: 4rem;
}

.progress-bar {
    background-color: rgba(var(--color-first) / 100%);
}
.list-group {
    --bs-list-group-border-color: rgba(var(--color-bg) / 50%)!important;
}
.list-group-item {
    padding: 1.5em;
}

/*** footer ***/

.footer {
    background: rgba(var(--color-second) / 15%);
}
.py-5 {
    padding-top: 1em!important;
    padding-bottom: 1em!important;
}
.footer-top {
    padding-bottom: 0px!important;
    margin-bottom: 0px!important;
}
.footer .text-body-secondary {
    color: #ffffff!important;
    font-weight: 300;
}
.footer .mb-2 {
    margin-bottom: 0rem!important;
}
.footer-list-uno .mb-2 {
    margin-bottom: .5rem!important;
}
.footer h2 {
    color: rgba(var(--color-third) / 100%);
}
.footer h4 {
    margin-bottom: 1.5em;
    font-size: 1.2em;
}
.footer .nav-item p {
    opacity: .4;
    font-size: .9em;
}
.footer-bottom .list-unstyled {
    gap: 1em;
    justify-content: flex-end;
}
.fa-brands {
    font-size: 1.5em;
}
.footer-bottom-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: .75em;
    margin: 0 0 15px;
}
.footer-bottom-menu .text-body-secondary {
    text-transform: uppercase;
    font-size: .9em;
    color: rgba(var(--color-bg) / 100%)!important;
    font-weight: 600;
    border-radius: 2em;
    padding: .5em 1em!important;
    background: #ffffff;
}
.footer-bottom-menu .footer-phone {
    border: 1px solid;
    background: transparent;
    opacity: .75;
    font-weight: 400;
}
.ms-3 {
    margin: 0!important;
}

/*** portfolio ***/


.thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: 0% 0%;
    border: 1px solid rgba(var(--color-second) / 100%);
    --bs-list-group-border-radius: var(--bs-border-radius);
    border-radius: var(--bs-list-group-border-radius);
    margin: 0 0 15px;
    opacity: .7;
}
.thumbnail:hover, .thumbnail:focus {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .footer-bottom .list-unstyled {
        justify-content: flex-start;
    }
}
