@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: #474a4b;
    --color-base2: #000;
    --color-brand: #e0f780;
    --color-brand2: #deff58;
    --font-base: "Bai Jamjuree";
}

body {
    background-color: var(--color-base2);
    color: var(--color-body);
    font-family: var(--font-base), sans-serif;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 2px;
}

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);
}  

.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;
}

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

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

.center {
    left: 50%;
    align-items: center;
    justify-content: center;
}

.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);
}

.iconbox-left {
    position: absolute;
    right: -20px;
    top: 32px;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-color: var(--color-brand);
    color: var(--color-base);
}

.iconbox-right {
    position: absolute;
    left: -11px;
    top: 32px;
    z-index: 10;
    width: 32px;
    height: 32px;
    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: 500;
    color: #fff;
}

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

.navbar .nav-link.active {
    color: var(--color-brand);
}
@media (min-width: 992px) {
    .navbar {
        background: var(--color-base);
        background-size: cover;
        background-position:  center;
        padding-top: 4px;
        padding-bottom: 4px;
        border-bottom: 2px solid rgba(255,255,255,0.1);
    }
    
    .navbar-brand img {
        height: 200px;
        width: 200px;
        border: 8px solid var(--color-brand);
    }

    /* CONTENT WRAPPER */
    #content-wrapper {
        padding-left: 0px;
    }
}

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

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

.btn-brand:hover,
.btn-bran: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%;
}

/* SLIDER */
.white-background-case{
    background-color: #fff;
    padding: 5px 5px;
    border-radius: 5px;
}

@keyframes slide {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    white-space: nowrap;
}

.logos:hover .logos-slide{
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
    max-width: 150px;
}

/* TIMELINE */
.container {
    padding: 2rem;
    padding-bottom: 10px;
    margin: 0 auto;
    max-width: 800px;
}

.top-section {
    text-align: center;
    padding: 3rem 0;
    max-width: 600px;
    margin: 0 auto;
} 

.timeline {
    position: relative;
    min-height: 150px;
} 

.line {
    position: absolute;
    z-index: 2;
    left: calc(50% - 2px);
    width: 2px;
    top: -50px;
    bottom: -50px;
    background-color: var(--color-brand);
    display: none;
}

.line:before, 
.line:after {
    position: absolute;
    display: block;
    content: '';
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: var(--color-brand);
    left: 50%;
    transform: translateX(-50%);
}

.line:after {
    bottom: 0;
}

.section {
    display: flex;
    opacity: 0;
    transform: translateX(-100%);
    transition: 600ms ease;
    position: relative;
    z-index: 1;
    margin: 50px 0;
    padding: 1rem;
    border-radius: 1rem;
    align-items: center;
    min-height: 300px;
} 

.section:nth-child(odd) {
    flex-direction: row-reverse;
    transform: translateX(100%);
} 

.bead {
    position: absolute;
    display: block;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: var(--color-brand);
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
}

.content {
    width: calc(50% - 2rem);
}

.show-me:nth-child(n) {
    transform: none;
    opacity: 1;
}

/* SOCIAL */

.card {
    padding: 5px 0;
    background-color: var(--color-base);
    border-radius: 2rem;
    color: var(--color-body);
}

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

.social-icons {
    margin: 0 10px 0 0;
    align-items: center;
    justify-content: center;
    display: flex;
}
.icon{
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background-color: var(--color-base);
    margin: 15px;
    text-align: center;
    color: var(--color-base2);
    font-size: 40px;
    line-height: 50px;
}

.icon:hover{
    background-color: var(--color-base);
    color: var(--color-base2)
}

.card-img-top{
    width: auto;
    height: auto;
    text-align: center;
    margin: 1rem 1rem 1rem 1rem;
}