@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&display=swap');

html {
    --lime-dark: #365314;
    --lime-medium: #a3e635;
    --lime-light: #bef264;
    --fg-text: #f7fee7;
    --bg-nav: #332b1a;
    scroll-behavior: smooth;
    scroll-padding-top: 7vh;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cormorant Garamond', sans-serif;
}

ul {
    list-style: none;
}

p {
    font-size: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1500px;
    margin: auto;
    padding: 0 2rem;
    overflow: hidden;
}

.darkStyle {
    background: var(--bg-nav);
    color: var(--fg-text);
}

.lightStyle {
    color: var(--bg-nav);
    background: var(--fg-text);
}

.title {
    padding: 1.5rem 0;
    font-size: 2rem;
    text-align: center;
}

/* Navigation bar content */
#navbar {
    display: flex;
    position: sticky;
    top: 0;
    height: 7vh;
    background: var(--bg-nav);
    color: var(--lime-text);
    justify-content: space-between;
    z-index: 1;
    padding: 0 1.5rem;
}

#navbar.scrolled {
    transition: opacity 0.5s ease;
    opacity: 0.95;
}

#navbar .navLeft {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}

#navbar a {
    color: #fff;
}

#navbar .navLeft .fa-seedling {
    color: var(--lime-medium);
    margin-right: 0.4rem;
}

#navbar .navRight {
    display: flex;
    align-items: center;
    justify-items: center;
}

#navbar .navRight li a {
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 1.3rem;
    border-radius: 3px;
}

#navbar .navLeft a:hover {
    transition-duration: 0.4s;
    color: var(--lime-light);
}

#navbar .navRight a:hover {
    background: var(--lime-dark);
    transition-duration: 0.4s;
}

#navbar .navLeft a.jump .fa-seedling {
    animation: jump_leaf 0.5s;
}

@keyframes jump_leaf {
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Header content */
#showcaseHeader {
    position: relative;
    margin-top: -0.5vh;
    color: var(--fg-text);
}

#showcaseHeader .headingBackground {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-nav) url('../img/header_bg.png') no-repeat center center/cover;
    z-index: -1;
    height: 100%;
}

#showcaseHeader .headingContent {
    display: flex;
    flex-direction: column;
    text-align: justify;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    font-weight: 700;
    padding: 2rem;
}

#showcaseHeader .headingContent .headingBlock {
    display: flex;
    flex-direction: column;
    text-align: justify;
    justify-content: center;
    align-items: flex-start;
}

#showcaseHeader .title {
    padding: 0 0 0.2rem 0;

}

#showcaseHeader .headingContent .hlText {
    background: rgba(51, 43, 26, 0.8);
}

#showcaseHeader .headingContent .profilePic {
    background: url('../img/profile.png') no-repeat center center/cover;
    height: 150px;
    width: 150px;
    border: var(--bg-nav) solid 0.25rem;
    border-radius: 100%;
    margin-bottom: 1.5rem;
}

#showcaseHeader .headingContent .headingText {
    width: 50%;
    font-size: 1.4rem;
}

/* About section */
#about .gridGroup {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 3rem;
    margin-bottom: 2rem;
}

#about .gridGroup .funfact .specialLink {
    text-decoration: underline;
}

#about .gridGroup .funfact .joke {
    color: rgba(247, 254, 231, 0.3);
}

#about .gridGroup .funfact:last-child {
    grid-column: span 2;
    text-align: center;
}

/* Portfolio section */
#portfolio .gridGroup {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 1.5rem;
    margin-bottom: 2rem;
}

#portfolio .gridItem {
    padding: 0.5rem;
}

#portfolio .gridItem .title {
    padding: 0 0 1rem 0;
    text-decoration: underline;
}

#portfolio .gridItem .title a:hover {
    color: #466b1a;
    text-decoration: underline;
    transition-duration: 0.2s;
}

#about p,
#about ul,
#portfolio p {
    text-align: justify;
    font-weight: 500;
}

#portfolio p span {
    font-weight: 700;
}

#portfolio .gridItem:hover {
    transform: translate(-2px, -2px);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    background: rgba(190, 242, 100, 0.4);
    transition-duration: 0.5s;
}

/* Contact section */
#contact .title {
    padding-top: 2rem;
    padding-bottom: 1rem;
    font-size: 2rem;
}

#contact .contactIcons {
    display: flex;
    padding: 0 1rem 1rem 1rem;
}

#contact .contactIcons .contactLink {
    flex: 1;
    text-align: center;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact .contactLink svg{
    max-height: 30px;
    width: auto;
    margin-top: 0.25rem;
}

#contact .contactLink svg path{
    fill: currentcolor;
}

#contact .contactIcons .contactLink a:hover svg,
#contact .contactIcons .contactLink a:hover i {
    color: var(--lime-medium);
    transition-duration: 0.5s;
}

.slider {
    text-align: center;
    overflow: hidden;
    margin: 30px;
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 3rem;
    margin-bottom: 2rem;
}

.slides {
    display: flex;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    margin: 0 0.5rem;
    padding: 2rem;
    background: rgba(190, 242, 100, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slides > div > p {
    margin-bottom: 30px;
}

.slide-picker {
    height: 300px;
    overflow-y: auto;
}

.slide-picker > a {
    display: flex;
    width: 80%;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    margin: 0 1rem 2rem 0rem;
    position: relative;
    font-size: 1.2rem;
    padding: 0.3rem;
}

.slide-picker > a.active {
    background: transparent url('../img/diamong_bg.png') no-repeat center center/cover;
}
