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

:root {
    --color-body: #b6cbce;
    --color-heading: #eef3db;
    --color-base: #033f47;
    --color-base2: #022a30;
    --color-brand: #e0f780;
    --color-brand2: #deff58;
    --gradient-bg: linear-gradient(rgba(3, 63, 71, 0.8), rgba(3, 63, 71, 0.8));
    --sidbar-width: 240px;
    --font-base: "Bai Jamjuree";
}

body {
    background-color: var(--color-base2);
    color: var(--color-body);
    font-family: var(--font-base), sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-body);
    transition: all 0.4s ease;
}

a:hover {
    color: var(--color-brand);
}

img {
    width: 100%;
}

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

.bg-base {
    background-color: var(--color-base);
}

.full-height {
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.shadow-effect {
    transition: all 0.5s;
}

.shadow-effect:hover {
    box-shadow: -6px 6px 0 0 var(--color-brand);
}

.iconbox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-color: var(--color-brand);
    color: var(--color-base);
}

/* NAVBAR */
.navbar {
    background-color: var(--color-base);
}

.navbar .nav-link {
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.navbar .nav-link:hover {
    color: var(--color-brand);
}

.navbar .nav-link.active {
    color: var(--color-brand);
}

@media (min-width: 992px) {
    .navbar {
        min-height: 100vh;
        width: var(--sidbar-width);
        background: var(--gradient-bg), url(../images/sidebar-img.jpg);
        background-size: cover;
        background-position: center;
    }

    .navbar-brand img {
        border: 8px solid var(--color-brand);
    }

    /* CONTENT WRAPPER */
    #content-wrapper {
        padding-left: var(--sidbar-width);
    }
}

/* BTN */
.btn {
    padding: 12px 28px;
    font-weight: 700;
}

.btn-brand {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-base);
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--color-brand2);
    color: var(--color-base);
    border-color: var(--color-brand2);
}

.link-custom {
    font-weight: 700;
    position: relative;
}

.link-custom::after {
    content: "";
    width: 0%;
    height: 2px;
    background-color: var(--color-brand);
    position: absolute;
    left: 0;
    top: 110%;
    transition: all 0.4s;
}

.link-custom:hover::after {
    width: 100%;
}

/* CARD ORIGINAL*/
.card-custom .card-custom-image {
    overflow: hidden;
}

.card-custom .card-custom-image img {
    transition: all 0.4s ease;
}

.card-custom:hover .card-custom-image img {
    transform: scale(1.1);
}

/* CARD EXTRA*/
.card-custom .card-custom-image {
    overflow: hidden;
    height: 300px;
    /* position: relative; */
    background-color: #FFFFFF;
}

.card-custom .card-custom-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.card-custom-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-custom-content h4 {
    margin-bottom: auto;
}

.card-custom-content p {
    margin-bottom: 16px;
}

.card-custom-content a {
    margin-top: auto;
}

/* SKILLS */
.large-badge {
    font-size: 1.1em;
    transition: transform 0.3s;
}

.large-badge:hover {
    transform: scale(1.1);
}

/* CONTACT */
#contact .form-control {
    background-color: var(--color-base);
    border-color: var(--color-base);
    color: var(--color-body);
}

#contact .form-control:focus {
    border-color: var(--color-brand);
    box-shadow: none;
}

#contact .form-control::placeholder {
    color: var(--color-body);
}

#contact input.form-control {
    height: 44px;
}

/* SOCIAL ICONS */
.social-icons {}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-base);
    border-radius: 100px;
    font-size: 24px;
}

.vertical-align-custom {
    display: flex;
    align-items: center;
}

.vertical-align-custom iconify-icon {
    margin-right: 10px;
}

.vertical-align-custom-nav {
    display: flex;
    align-items: center;
}

.vertical-align-custom-nav iconify-icon {
    margin-right: 5px;
}

.vertical-align-custom-nav-contact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-align-custom-nav-contact iconify-icon {
    margin-right: 5px;
}

/* THEMES */

/* 
--color-body: for body text 
--color-heading: for headings 
--color-base: for background base 
--color-base2: for background secondary 
--color-brand: for brand elements 
--color-brand2: for secondary brand elements  
*/

/* THEME 1 - Earthy Tones */
.theme1 {
    --color-body: #d1e8e2;
    --color-heading: #daebe8;
    --color-base: #415952;
    --color-base2: #1f3020;
    --color-brand: #a8d5ba;
    --color-brand2: #6ab89d;
    --gradient-bg: linear-gradient(rgba(64, 89, 82, 0.8), rgba(64, 89, 82, 0.8));
}

/* THEME 2 - Warm Sunrise */
/* .theme2 {
    --color-body: #f7d6bf;
    --color-heading: #fff1e0;
    --color-base: #bd4f6c;
    --color-base2: #3a1c41;
    --color-brand: #d198c5;
    --color-brand2: #e6aacd;
    --gradient-bg: linear-gradient(rgba(58, 28, 65, 0.8), rgba(58, 28, 65, 0.8));
} */

/* THEME 2 - Charcoal */
.theme2 {
    --color-body: #f0f0f0;
    --color-heading: #d9d9d9;
    --color-base: #2e2e2e;
    --color-base2: #1a1a1a;
    --color-brand: #7f7f7f;
    --color-brand2: #595959;
    --gradient-bg: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.8));
}


/* THEME 3 - Cool Blues */
.theme3 {
    --color-body: #b2c4cb;
    --color-heading: #d0dfe6;
    --color-base: #033f63;
    --color-base2: #022a3a;
    --color-brand: #80a4c8;
    --color-brand2: #5995b5;
    --gradient-bg: linear-gradient(rgba(3, 63, 99, 0.8), rgba(3, 63, 99, 0.8));
}

/* THEME 4 - Gentle Greens */
.theme4 {
    --color-body: #bcd9bb;
    --color-heading: #d3ecd0;
    --color-base: #036241;
    --color-base2: #02342a;
    --color-brand: #80c980;
    --color-brand2: #59b462;
    --gradient-bg: linear-gradient(rgba(3, 98, 65, 0.8), rgba(3, 98, 65, 0.8));
}


/* THEME BUTTON COLORS (--color-brand) */
.theme-d-button {
    background-color: #e0f780;
}

.theme-1-button {
    background-color: #a8d5ba;
}

.theme-2-button {
    background-color: #7f7f7f;
}

.theme-3-button {
    background-color: #80a4c8;
}

.theme-4-button {
    background-color: #80c980;
}

.theme-button {
    /* background-color: var(--color-heading); */
    border: none;
    width: 35px;
    height: 35px;
    padding: 10px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
    /* transition: background-color 0.3s ease; */
    transition: all .2s ease-in-out;
    display: inline-block;
}

.theme-button:hover {
    filter: brightness(1.3);
    transform: scale(1.2);
}