@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400..900&display=swap');

/* Define CSS variables */
:root {
    --primary-color: blue;
    --primary-color-dark: #b7a2cf;
    --secondary-color: #000000;
    --light-color: #ffffff;
    --grey: #f0f0f0;
    --heading-font: 'Maven Pro', 'Poppins', sans-serif;
    --body-font: 'Avenir-light', 'Roboto', sans-serif;
    --font-size-heading: 2.5rem;
    --font-size-body: 1rem;
}

/* font etc */
@font-face {
    font-family: 'Linotype Didot';
    src: url('../fonts/DidotLTStd-BoldItalic/DidotLTStd-BoldItalic.ttf') format('truetype');

    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Avenir-light';
    src: url('../fonts/AvenirLight.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

.maven-pro-bold {
    font-family: "Maven Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body,
input,
select,
option,
textarea {
    font-family: 'Avenir-light', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
}

::selection, 
::-moz-selection {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}



/* portfolio-navbar styling */

.navbar {
    background: white;
    color: black;
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.781);
}

.nav-link {
    color: black;
    transition: color 0.3s;
    position: relative;
    min-width: 80px;
}

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


.nav-link,
.nav-item {
    transition: all 0.5s ease-out;
}


.nav-item:hover,
.nav-item:active,
.nav-item:focus {
    text-decoration: underline;
    text-underline-offset: 1rem;
    /* text-decoration-thickness: 0.2rem; */
}

.nav-item:hover {
    text-decoration-color: #ffffff;
}


.nav-item:active, .nav-item:focus {
    text-decoration-color: var(--primary-color);
}



@media(max-width:710px) {
    nav {
        max-width: 100vw;
    }

    .navbar {
        position: fixed !important;
        top: 0;
    }

    .navbar-brand .main {
        font-size: 1rem;
    }

    .navbar-brand .sub {
        font-size: xx-small;
    }

    .nav-link .nav-link-icon {
        position: relative;
        opacity: 1 !important;
    }

    .navbar-collapse {
        background-color: white;
        padding-bottom: 1rem;
    }

    .navbar-brand {
        width: 60%;
    }

    .navbar-brand img {
        width: 100%;
        height: auto;
    }

}


/* portfolio-footer.css */

footer {
    width: 100vw;
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    background-color: var(--bs-gray-200);
    text-align: center;
    padding: 2rem;
}

footer .social-media a {
    text-decoration: none;
    width: fit-content;
    color: inherit !important;
}

footer .social-media a:not(:last-child)::after {
    content: '|';
    color: var(--bs-gray-500);
    padding: 0 1rem;
    text-decoration: none !important;
    display: inline-block;
    vertical-align: middle;
}

footer .social-media a:hover {
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

footer .copyright {
    padding-bottom: 1rem;
}





/* preloader styling */
.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 12px;
}

.lds-ellipsis div {
    position: absolute;
    /* top: 33.33333px; */
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}