:root {
    --var-primary: aliceblue;
    --var-secondary: blanchedalmond;
    --var-three: black;
    --var-four: pink;
    --var-five: rgb(240, 248, 255, 0.9 );
    /* --var-six: -webkit-link; */
    --var-six: blue;
}
[data-theme='dark'] {
    --var-primary: #205295;
    --var-secondary: #8d6262;
    --var-three: whitesmoke;
    --var-four: #624f82;
    --var-five: #205295;
    --var-six: beige;
}
/* Font and text start */
@font-face {
    font-family: "Geologica";
    src: url(/assets/fonts/Geologica-Light.ttf);
}


/* Font and text end */
* {
    /* background-color: var(--var-primary) ; */
    /* dark  */
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: "Geologica", Helvetica, Arial, sans-serif;
    margin: 0px;
}

h2 {
    background-color: transparent;
}

header {
    margin: 0px ;
}

nav {
    background-color: var(--var-primary);
    width: 100%;
    float: right;
    clear: both;
    margin: 0px;
    top: 0;
    right: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position:fixed;
    z-index: 1;
}

.nav-bar:hover {
    background: lightblue;
    margin-top: -3px;
}
.nav-item:hover {
    background: lightblue;
    margin-top: -3px;
    font-size: x-large;
}

.hamburger img {
    width: 24px;
    height: 24px;
    align-items: center;
}

/* Dark toggle  */
.dark-toggle {
    /* display: none; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: fixed;
}
#dark-text {
    color: var(--var-three);
    font-size: smaller;
}
.dark-toggle img {
    width: 50px;
    height: 50px;
}
.toggle input {
    display: none;
}
.toggle {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
}

.slider::before {
    background-color: #fff;
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    transition: 0.4s;
}
.toggle input:checked + .slider {
    background-color: #2196f3;
}

.toggle input:checked + .slider::before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/* Dark toggle  */


/* Logo start */
.logo{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#logo-image{
    height: 50px;
}
#logo-text {
    /* height: 50px; */
    text-align: center;
    color: var(--var-three);
}


/* Logo end */

/* Nav list start  */
.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-item {
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 5px;
    text-decoration: none;
    cursor: pointer;
    color: var(--var-six);
}

/* Nav list end  */

/* Main start  */
#main {
    /* background-color: var(--var-secondary);  */
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    place-items: center;
    height: 450px;
    padding: 30px;
    background-image: url(/assets/img/moo/ilustrasi-1.png);
    background-repeat: no-repeat;
    background-size: cover;   
}

#main::before {
    /* content: "";
    width: 100%;
    height: 100%;
    /* position: absolute; */
    background-image: url(/assets/img/moo/ilustrasi-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(50%); 
}
#main-text {
    /* font-family: Arial, Helvetica, sans-serif; */
    /* background-color: rgb(240, 248, 255, 0.9 ); */
    /* background-color: #8aa9ffe6; */
    background-color: var(--var-five);
    /* color: var(--var-three); */
    /* dark */
    padding: 0 0 0 30px;
    border-radius: 15px;
    width: 50%;
    animation: main-text 1s;
}  

#main-text li {
    list-style-type: circle;
    list-style-position: outside;
    list-style-image: url(/assets/icon/star.svg);
}


#grow {
    background-color: antiquewhite;
    padding: 3px;
    font-size: large;
    border-radius: 10px;
    font-weight: bold;
}

#cta-explore {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    background-color:crimson;
    transition: .5s all ease;
    /* animation: color-change 2s infinite; */
}

#cta-explore:hover {
    background-color: purple;
    font-size: x-large;
}

@keyframes main-text {
    from 0%{
        /* margin-right: 50%; */
        background-color: black;
    }
    50% {
        background-color: pink;
    }
    75% {
        background-color: violet;
    }
    to 100%{
        /* margin-right: 0%; */
        background-color: rgb(240, 248, 255, 0.9 );
    }
}

/* Main end  */

/* Section video start */
#video-section {
    background-color: var(--var-secondary);
}
/* Section video  end */

/* Section Campaign start  */
#campaign {
    background-color: var(--var-four);
    padding-top: 100px;
}

#h2-campaign {
    width: 50%;
    border: 2px solid blueviolet;
    /* background-image: url(https://media.giphy.com/media/U3qYN8S0j3bpK/giphy.gif) ; */
    border-radius: 15px;
    text-align: center;
    font-weight: bolder;
    font-size: xx-large;
    margin-right: auto;
    margin-left: auto;
    /* color: transparent; */
    /* transform: translate(-50% -50%); */
    animation: color-change 2s infinite;
}

@keyframes color-change {
    from 0%{
        /* background-color: brown; */
        color: brown;
    }
    50% {
        /* font-size: large; */
        /* background-color: blue; */
        color: blue;
    }
    75% {
        /* background-color: violet; */
        color: violet;
    }
    to 100% {
        /* background-color: green; */
        color: green;
    }
}

#campaign-text {
    color: whitesmoke;
    text-shadow: 1px 1px pink;
    text-align: center;
    background-image: 
    url(https://media.giphy.com/media/U3qYN8S0j3bpK/giphy.gif);
    border-radius: 10px;
    padding: 0 10px;
}


#cta-campaign {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    background-color:crimson;
    transition: all ease .5s;
}
#cta-campaign:hover {
    background-color: purple;
    font-size: x-large;
}
/* Section Campaign end  */

/* Section service start  */
#service {
    background-color: var(--var-primary);
}

/* Section service end  */

/* Section portfolio start  */
#portfolio {
    background-color: var(--var-secondary);
}

/* Section portfolio end  */

/* Section grid container start  */
.grid-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.grid-container-aside{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.grid-container-image {
    height: 15em;
    width: 15em;
    border: 1px solid black;
    border-radius: 50%;
}

.grid-container-image-aside {
    height: 15em;
    width: 15em;
    border: 1px solid black;
    border-radius: 50%;
}
.grid-container-figcaption {
    text-align: center;
}
/* Section grid container end  */

/* Section form start  */
#form-section {
    background-color: var(--var-primary);
    padding-bottom: 50px;
}

#form-section form , #form-header {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
#form-section form {
    padding: 30px;
    border-radius: 15px;
    background-color: #adb3b8;
}

.label-name {
    font-weight: bold;
}

.input-form {
    width: 400px;

}
button {
    max-width: 480px;
    margin-left: auto;
    margin-left: auto;
}

/* Section form end  */

/* Footer start */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border-top: 20px solid navy;
    padding: 50px 30px;
    background-color: var(--var-primary);
    color: var(--var-three);
    /* margin-top: 50px; */
    /* justify-content: end; */
}

.footer-h3{
    display: flex;
    flex-direction: column;
}

.nav-bottom {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--var-six);
}


/* Footer end */