:root {
    --gallery-zoom-transition: 300ms ease;
    --showbox-zoom-transition: 300ms ease;
}


#author-name {
    text-decoration: none;
    color: var(--main-color-2);
}

.button-holder {
    display: flex;
    flex-flow: row wrap;
    align-content: space-around;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: auto;
}

.shiny {
    position:absolute;
    color: white;
    position: relative;
    border: none;
    background-image: radial-gradient(100% 100% at 100% 0, #7552ad 0, #3e0b5c 100%);
    border-radius: 5px;
    font-weight: 200;
    font-family: var(--button-font);
    cursor: pointer;
    overflow: hidden;
    margin: auto;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
    box-shadow: rgba(0, 0, 0, .3) 0 5px 15px;
}

.shiny::after {
    content: "";
    position: absolute;
    top: calc(var(--y, 0) * 1px - 60px);
    left: calc(var(--x, 0) * 1px - 40px);
    width: 100px;
    height: 100px;
    background: radial-gradient( circle, var(--gradient-color-2) 15%,  rgba(62, 11, 92, 0.25) 60%); 
    opacity: 0;
    -moz-transition: opacity 200ms ease; 
    -o-transition: opacity 200ms ease; 
    transition: opacity 200ms ease;
    -webkit-transition: opacity 200ms ease;
}

.shiny:hover::after {
    opacity: 0.4;
}

/* Mobile arrangement */
#text-greeting {
    margin-bottom: 30px;
}
#text-greeting p {
    font-size: 1.4em;
}
#text-greeting p:first-child {
    margin: 0 auto 10px;
}
#author-name {
    font-size: 1em;
    font-family: var(--logo-thin);
    font-style: italic;
}
#text-greeting p:last-child {
    margin-top: 30px;
}
.shiny {
    font-size: 1.5em;
    padding: 5px 20px;
}
/* Tablet arrangement */
@media all and (min-width: 600px) {
    #text-greeting {
        margin-bottom: 25px;
    }
    #text-greeting p {
        font-size: 1.5em;
    }
    #author-name {
        font-size: 1.05em;
    }
    #text-greeting p:last-child {
        margin-top: 40px;
    }
    .shiny {
        border-radius: 7.5px;
        padding: 5px 30px;
    }
}
/* Desktop arrangement */
@media all and (min-width: 992px) {
    #text-greeting {
        margin-bottom: 25px;
    }
    #text-greeting p {
        font-size: 1.75em;
    }
    #author-name {
        font-size: 1.075em;
    }
    #text-greeting p:last-child {
        margin-top: 40px;
    }
    .shiny {
        font-size: 1.8em;
        padding: 5px 40px;
    }
}


/* || Latest projects */
.article-box > a:hover {
    display: block;
    -moz-transition: opacity var(--showbox-zoom-transition); 
    -o-transition: opacity var(--showbox-zoom-transition); 
    transition: opacity var(--showbox-zoom-transition);
    -webkit-transition: opacity var(--showbox-zoom-transition);
    opacity: calc(2/3);
}
.art-image-box {
    overflow: hidden;
    width: 100%;
    border: solid .1px rgba(0, 0, 0, 0.2);
}
.art-image-box img {
    object-fit: cover;
    width: 100%;
    -moz-transition: transform var(--showbox-zoom-transition); 
    -o-transition: transform var(--showbox-zoom-transition); 
    transition: transform var(--showbox-zoom-transition);
    -webkit-transition: transform var(--showbox-zoom-transition);
}
.art-image-box img:hover {
    transform: scale(1.1);
}

.art-title {
    color: var(--main-color-2);
    font-weight: 400;
    text-decoration: none;
}

.art-title:hover {
    text-decoration: underline;
    color: var(--main-color-2);
}


/* Mobile settings */
.section-content-box {
    margin: 40px auto 50px;
}
.section-content-box:last-child {
    margin-bottom: 0;
}
.section-title {
    font-size: 2.15em;
    font-family: var(--logo-thin);
    margin-bottom: 35px

}
.articles-container {
    display:flex;
    flex-flow: column nowrap;
    gap: 30px;
    padding: 0 10px 40px;
}
.article-box {
    display: flex;
    flex-flow: column nowrap;
    align-items: space-evenly;
    gap: 15px;
}
.art-image-box {
    aspect-ratio: 2 / 1;
}
.art-title {
    font-size: 1.75em;
    line-height: 1.2;
}
.art-date {
    font-size: 1.25em;
    text-align: left;
    margin: 0 10px;
    font-style: italic;
}
.art-description {
    display: none;
}
/* Tablet settings */
@media all and (min-width: 600px) {
    .section-content-box {
        margin: 40px auto 50px;
    }
    .section-title {
        font-size: 2.5em;
        margin-bottom: 30px;
    }
    .article-box {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        gap: 20px;
    }
    .art-image-box {
        aspect-ratio: 16 / 9;
        flex: 2;
    }
    .art-text-box {
        padding: 0px;
        padding-top: 20px;
        flex: 3;
    }
    .art-title {
        line-height: 1.25;
        font-size: 1.75em;
    }
    .art-date {
        font-size: 1.25em;
        text-align: left;
        margin: 2.5px 0;
    }
}
/* Desktop settings */
@media all and (min-width: 992px) {
    .section-title {
        font-size: 2.75em;
        margin-bottom: 40px;
    }
    .section-content-box {
        margin: 60px auto 80px;
    }
    .articles-container {
        gap: 60px;
        padding: 0 20px 60px;
    }
    .article-box {
        gap: 25px;
    }
    .art-text-box {
        padding-top: 10px;
    }
    .art-title {
        font-size: 2em;
    }
    .art-date {
        font-size: 1.45em;
        margin: 5px 0 30px;
    }
    .art-description {
        display: block;
        font-size: 1.6em;
        line-height: 1.2;
        margin: 0;
    }
}

/* || Featured Dataviz */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 14 / 12;
    border: solid .1px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    height: 100%;
    width: 100%;
    padding: 0;
    object-fit: contain;
    opacity: 1;
    -moz-transition: all var(--gallery-zoom-transition); 
    -o-transition: all var(--gallery-zoom-transition); 
    transition: all var(--gallery-zoom-transition);
    -webkit-transition: all var(--gallery-zoom-transition);
}

.gallery-item img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Mobile arrangement */
.gallery-container {
    display: flex;
    flex-flow: column wrap;
    margin: auto;
    gap: 30px;
    padding: 0px 10px 40px;
}
.gallery-item {
    width: 100%;
    /* margin: 10px auto; */
}
/* Tablet settings */
@media all and (min-width: 600px) {
    .gallery-container {
        flex-flow: wrap;
    }    
    .gallery-item {
        flex: 45%;
    }
    .feature-one {
        order: 1;
    }
    .feature-two {
        order: 2;
    }
    .feature-three {
        order: 4;
    }
    .feature-four {
        order: 3;
    }
}
/* Desktop settings */
@media all and (min-width: 992px) {
    .gallery-container {
        gap: 30px;
        padding: 0 20px 60px;
    }    

}