@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

:root {
    --black: #000000;
    --turqoise: #47C5DE;
    --mustard: #F8B711;
    --white: #FEFEFE;
    --red: #ff2500;
    --gray: #f2f2f2;
    --gray-100: #9eadb0;
    --active: #dc5d37;
}

* {
    font-family: 'Montserrat', sans-serif;
}

*:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.hero {
    border-radius: .5rem;
    background: var(--gray);
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.2);
}


.card-hover {
    transition: 0.3s;
}

.card-hover:hover {
    transition: 0.3s;
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.5);
}

.card {
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.2);
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    max-height: 32px;
    transition: 0.3s;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    backdrop-filter: blur(.2rem);
    -webkit-backdrop-filter: blur(.2rem);
}

.nav-links {
    list-style: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    cursor: pointer;
    transition: .3s;
}

.nav-links .active {
    border-bottom: 2px solid var(--red);
}

.nav-links li a {
    color: var(--black);
    text-decoration: none;
    transition: .3s;
}

.nav-links li:hover {
    padding: .2rem;
    border-bottom: 2px solid var(--black);
    transition: .3s;
}

img {
    border-radius: .25rem;
}

.lazyload {
    opacity: 1;
    transition: opacity .5s ease;
}

.hero-media {
    margin: 2rem;
}

.hero-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.logo-image {
    position: fixed;
    top: 0;
    right: 0;
    max-height: 32px;
    transition: 0.3s;
}

.logo-image:hover {
    transition: 0.3s;
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.post-image {
    display: block;
    max-width: 20%;
    height: auto;
    margin: .25rem;
    transition: 0.3s;
}

.post-image:hover {
    transition: 0.3s;
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.post-container:hover a {
    border-bottom: 2px solid var(--black);
}

.project-container:hover a {
    border-bottom: 2px solid var(--black);
}

.heading {
    font-weight: unset;
    line-height: 2rem;
}

.bold {
    font-weight: bold;
}

.h1 {
    font-size: 1.75rem;
}

.h2 {
    font-size: 1.5rem;
}

.h3 {
    font-size: 1.25rem;
}


.flex {
    display: flex;
}

.flex-inline {
    display: flex;
    justify-content: space-between;
}

.m-1 {
    margin: 1.5rem;
}

.m-2 {
    margin: 2.25rem;
}

.m-3 {
    margin: 2.75rem;
}

.m-4 {
    margin: 3.25rem;
}

.mx-1 {
    margin-right: .5rem;
    margin-left: .5rem;
}

.mx-2 {
    margin-right: .25rem;
    margin-left: .25rem;
}

.mx-3 {
    margin-right: 1.75rem;
    margin-left: 1.75rem;
}

.mx-4 {
    margin-right: 2.25rem;
    margin-left: 2.25rem;
}

.my-1 {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.my-2 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.my-3 {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
}

.my-4 {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
}

.me-1 {
    margin-right: .5rem;
}

.me-2 {
    margin-right: 1.25rem;
}

.me-3 {
    margin-right: 1.75rem;
}

.me-4 {
    margin-right: 2.25rem;
}

.ms-1 {
    margin-left: .5rem;
}

.ms-2 {
    margin-left: 1.25rem;
}

.ms-3 {
    margin-left: 1.75rem;
}

.ms-4 {
    margin-left: 2.25rem;
}

.p-1 {
    padding: 1.5rem;
}

.p-2 {
    padding: 2.25rem;
}

.p-3 {
    padding: 2.75rem;
}

.p-4 {
    padding: 3.25rem;
}

.bottom {
    bottom: 0
}

.gap {
    gap: 1rem;
}

.text-end {
    text-align: right;
}

.text-start {
    text-align: left;
}

.items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.text-red {
    color: var(--red);
}

.text-gray {
    color: var(--gray-100)
}

.text-white {
    color: white
}

.text-rb {
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(135deg, #0b1e9e, #ff2500 65%) !important;
}

.section-title {
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
    white-space: nowrap;
    display: grid;
}

.section-title-center {
    grid-template-columns: 1fr auto 1fr;
}

.section-title-end {
    grid-template-columns: 1fr auto;
}

.section-title-start {
    grid-template-columns: auto 1fr;
}

.section-title-center:after, .section-title-center:before {
    content: "";
    border-top: 0.2rem solid var(--gray-100);
    margin: .5rem;
    align-self: center;
}

.section-title-end:before {
    content: "";
    border-top: 0.2rem solid var(--gray-100);
    margin: .5rem;
}

.section-title-start:after {
    content: "";
    border-top: 0.2rem solid var(--gray-100);
    margin: .5rem;
    align-self: start;
}

.bg-red {
    background-color: var(--red) !important;
}

.bg-gray {
    background-color: var(--gray) !important;
}

.bg-black {
    background-color: var(--black) !important;
}

.bg-mustard {
    background-color: var(--mustard) !important;
}

.bg-gray {
    background-color: var(--white) !important;
    color: var(--black) !important;
}

.bg-rb {
    animation-name: rainbow-palette;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.badge {
    background-color: var(--turqoise);
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
}

.alert {
    padding: .25rem;
    border-radius: .5rem;
}

a {
    text-decoration: none;
    color: unset;
    transition: 0.3s;
}

.btn {
    background: var(--turqoise);
    color: var(--white);
    display: inline-block;
    text-align: center;
    padding: .5rem;
    border-radius: .25rem;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    transition: 0.3s;
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.2);
}

.btn:active {
    transition: 0.3s;
    transform: translateY(4px);
    box-shadow: .5rem .5rem .5rem rgba(0, 0, 0, 0.2);
}

.display-inline {
    display: inline;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none;
}

.modal {
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.modal-container {
    margin: 15% auto;
    padding: 20px;
    border-radius: .5rem;
    width: 80%;
    background-color: var(--gray);
    box-shadow: .5rem .5rem .5rem .5rem rgba(0, 0, 0, 0.5);
}

.close {
    color: var(--gray-100);
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    transition: 0.3s;
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}

input, select, textarea {
    color: var(--gray-100);
    background-color: var(--white);
    border-radius: .25rem;
    padding: .5rem .16rem .5rem .5rem;
    line-height: 1.25rem;
    border: 1px solid var(--black)
}

textarea {
    resize: vertical;
    height: 256px;
}

button {
    border: unset;
}

@media all and (max-width: 1024px) {
    .navigation {
        position: fixed;
        display: block;
    }

    .hero {
        margin: 4rem 0 0;
    }

    .hero .flex-inline {
        display: block;
    }

    .hero .hero-content {
        display: block;
    }

    .hero-content .flex {
        display: block;
    }

    .hero-content .flex * {
        margin-top: .5rem;
        width: 100%;
    }

    .flex-inline {
        display: block;
    }

    .project-container {
        margin-bottom: 2rem;
    }

    .post-container {
        margin-bottom: 2rem;
    }

    .post-image {
        display: block;
        max-width: 100%;
        height: auto;
        margin: .25rem;
        transition: 0.3s;
    }
}

@keyframes rainbow-palette {
    0% {
        background: #0b1e9e;
    }
    100% {
        background: #ff2500;
    }
}