
/* #region VARIABLE */
:root {
    --primer: #30BE6A;
}
/* #endregion */

/* #region DEFAULT */
* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
body {
    position: relative;
    margin: 0;
    scroll-margin: 0;
    overflow-x: hidden;
}
.btn {
    padding: .8rem 1.3rem !important;
    outline: none !important;
    background-color: var(--primer) !important;
    border: none !important;
    border-radius: .3rem !important;
}

/* Scrollbar */
*::-webkit-scrollbar {
    height: 20px;
}
*::-webkit-scrollbar-track {
    background: #f1f1f1;
    margin: 0 1rem;
}
*::-webkit-scrollbar-thumb {
    background-color: var(--ijo);
    background: linear-gradient(to top, #ff5722 0%, var(--primer) 60%);
    border: 3.5px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
}

/* Hide arrow input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Selection color */
::selection {
    color: #fff;
    background: var(--merah);
}
::-moz-selection {
    color: #fff;
    background: var(--merah);
}
/* #endregion */

/* #region FLOATING BUTTON */
.floating {
    position: fixed;
    bottom: 0;
    right: 1.5rem;
    width: 50px;
    height: fit-content;
    z-index: 99;
}
.floating .wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .75rem;
    padding-bottom: 1.5rem;
}
#bttBtn {
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background-color: #ED1C24;
    border-radius: 50%;
    box-shadow: 2px 2px 6px #3a3a3a6b;
}

#toggleContact {
    display: none;
}
.floating label {
    position: absolute;
    bottom: 0;
    right: calc(300px + 1.5rem);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0;
    box-shadow: 2px 2px 6px #3a3a3a6b;
    transition: all .3s ease-out;
    transform: scale(1);
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}
#toggleContact:checked ~ .contact label {
    box-shadow: 3px 3px 8px #3a3a3a6b;
}
.floating label span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    color: #272727;
    background-color: #e6bb2f;
    transition: all .3s ease-in-out;
}
#toggleContact:checked ~ .contact label span {
    color: #fff;
    background-color: #373737;
}
#toggleContact:checked ~ .contact label span i:nth-of-type(1),
.floating label span i:nth-of-type(2) {
    display: none;
}
#toggleContact:checked ~ .contact label span i:nth-of-type(2) {
    display: block;
}

.floating .contact {
    position: relative;
}
#toggleContact:checked ~ .contact .wrapperContact {
    right: -1.5rem;
}
.floating .wrapperContact {
    position: absolute;
    right: calc(-300px - 1.5rem);
    bottom: 0;
    width: 300px;
    min-height: 250px;
    padding: 2rem 1.5rem;
    background-color: #3F51B5;
    border-radius: 1rem 0 0 1rem;
    transition: all .2s ease-out;
    user-select: none;
}
.floating .wrapperContact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(web/dotted_map.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    border-radius: 1rem 0 0 1rem;
    opacity: .1;
    overflow: hidden;
}
.floating .wrapperContact::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(global/hubungi_img.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
}
#toggleContact:checked ~ .contact .wrapperContact {
    box-shadow: 0 8px 18px #3a3a3a6b;
}
/* #endregion */

/* #region NAVBAR */
.navbar {
    padding: 0;
    height: 5rem;
    background: transparent;
    box-shadow: none;
    transition: all .3s ease-out;
    user-select: none;
}
.navbar .container-fluid {
    padding: 0 3rem;
}
.navbar-brand {
    text-decoration: none;
}
.navbar-brand img {
    width: auto;
    height: 40px;
    margin-right: .75rem;
}
.navbar-brand span {
    color: #373737;
    font-size: 1.25rem;
    font-weight: 700;
}
.navbar-nav {
    align-items: center;
    gap: 1rem;
}
.navbar-nav .nav-link {
    position: relative;
    color: #373737;
    font-size: 1rem;
    transition: .3s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}

.darkSwitch {
    display: flex;
    align-items: center;
    margin-left: 3rem;
}
.darkSwitch label {
    position: relative;
    width: 48px;
    height: 26px;
    background-color: #d2d2d2;
    border-radius: 5rem;
    cursor: pointer;
}
.darkSwitch label::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    background-color: grey;
    border-radius: 50%;
    transition: all .4s;
    z-index: 2;
}
.darkSwitch label::after {
    content: '\f186';
    font-family: fontawesome;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    color: grey;
    font-size: .9rem;
    text-align: center;
    line-height: 19px;
    transition: all .4s;
    border-radius: 50%;
    overflow: hidden;
}
.darkSwitch input[type=checkbox] {
    display: none;
}
.darkSwitch input[type=checkbox]:checked + label:before {
    background-color: var(--primer);
    transform: translateX(22px);
}
.darkSwitch input[type=checkbox]:checked + label:after {
    content: '\f185';
    left: 4px;
}

#wrapToggler {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all .3s ease-out;
}
/* #endregion */

/* #region HEADER */
header {
    display: block;
    height: 100vh;
    width: 100%;
} 
.contentHeader {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-image: url(https://cdn.pixabay.com/photo/2023/01/23/17/38/seagull-7739257_960_720.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* #endregion */

/* #region MAIN */
main {
    position: relative;
    overflow: hidden;
}
main .tes {
    height: 800px;
    color: #272727;
    background-color: #cfcfcf;
    border-bottom: 1px solid grey;
}
main .tes .container-md {
    height: 100%;
}
main .tes .wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
/* #endregion */