@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@500&&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic&display=swap');
/* initial */
:root {
    --pointColor: #328652;
    --dark: #21252f;
    --body: #777;
    --boxShadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
body {
    font-family: 'BIZ UDGothic', sans-serif;
    line-height: 1.7;
    color: var(--dark);
}
h1, h2, h3, h4, h5, h6 , .display-1 {
    color: var(--dark);
    font-weight: 700;
}
a {
    color: var(--dark);
    text-decoration: none;
}

/* Header Section */
header a, header a:hover {
    color: #eee;
}

header strong {
    font-family: 'Cabin', sans-serif;
    font-family: 'Sora', sans-serif;
}

header strong span {
    font-family: 'Merienda', cursive;
    color: darkgreen;
}

/* navigation bar */
nav a.btnColor {
    background-color: #328652;
    transition: all 0.2s ease; 
}

nav a.btnColor:hover {
    background-color: rgb(186, 226, 165);
    transition: all 0.6s ease; 
}

/* mainVisual */
#mainVisual {
    margin-top: -120px;
    padding-top: 120px;
}
.mainImg {
    background-image: url(../image/main.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 2;
}
.mainImg::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(37, 39, 71, 0.3);
    z-index: -1;
}
#mainVisual .display-1 {
    text-shadow:2px 2px 10px #474744,
    -2px 2px 10px #474744,
    2px -2px 10px #474744,
    -2px -2px 10px #474744;
}
#mainVisual p {
    text-shadow:2px 2px 5px #474744,
    -2px 2px 5px #474744,
    2px -2px 5px #474744,
    -2px -2px 5px #474744;
}

/* Section */

section {
    margin-top: -120px;
    padding-top: 120px;
}
.card-effect {
    box-shadow: var(--boxShadow);
    background-color: white;
    padding: 25px;
    transition: all 0.3s ease;
}
.card-effect:hover {
    box-shadow: none;
    transform: translate(5px);
}
.iconbox {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    background-color: var(--pointColor);
    border-radius: 100px;
    flex: none;
}
.content {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.content::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    background-color: var(--pointColor);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.35s ease;
    z-index: -1;
}
.content:hover h5,
.content:hover p {
    color: white;
}
.content:hover .iconbox {
    background-color: white;
    color: var(--body);
}
.content:hover::after {
    opacity: 1;
    top: 0;
}

footer {
    margin-top: auto;
}
/* skill */
.col-img {
    background-image: url(../image/desk.png);
    background-position: center;
    background-size: cover;
    min-height: 200px;
}
/* Services */
#services p {
    font-size: 0.8em;
    margin-top: 0.8em;
}
#services h6 {
    color: #328652;
}
/* contact */
span.badge {
    display: inline-block;
    font-size: 0.7em;
    margin-left:10px;
    font-weight: normal;
}

p,ul,li,th,td {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
}