/*  Version: 1.2
    Last modified: 12-05-2023
    By: Ris Janssen
 */

:root {
    --lightgreen: #8AC3B4;
    --darkgreen: #3F836E;
    --shadowLight: #F7F7F7;
    --shadowDark: #737373;
    --backgroundWhite: #FFFFFF;
    --backgroundBrokenWhite: #f6f6f6;
    --backgroundBeige: #F3F3E8;
    --backgroundDarkBeige: #E7E7DC;
    --backgroundLightGreen: #8AC3B4;
    --textDarkGray: #495057;
    --textWhite: #FFFFFF;
}

/* ------------------- GENERAL ------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--textDarkGray);
    background-color: var(--backgroundBeige);
}

a {
    color: var(--lightgreen);
    text-decoration: none;
}

a:hover {
    color: var(--darkgreen);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

#main {
    margin-top: 70px;
    min-height: 100vh;
    height: 100%;
    background-color: var(--backgroundBeige);
}

@media (max-width: 992px) {
    #main {
        margin-top: 70px;
    }
}

@media screen and (max-width: 420px) {
    #main {
        margin-top: 120px;
    }
}

hr {
    color: var(--textDarkGray);
}

/* --------------------- Back-to-top --------------------- */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--darkgreen);
    border-width: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #2D5D4E;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* ------------------- HEADER ------------------- */
#header {
    background: var(--lightgreen);
    transition: all 0.5s;
    z-index: 997;
    padding: 5px 8%;
    box-shadow: 0 0 18px var(--shadowDark);
    color: var(--textWhite);

}

#header img {
    max-height: 90px;
    margin-right: 10px;

}

#navcontainer {
    justify-content: flex-start;
}

#headertxt h1 {
    font-size: 1.2rem;
}

#headertxt h6 {
    font-size: 1rem;
}

#headertxt h1, #headertxt h6 {
    margin: 0;
    line-height: 1.2;
}

#navcontainer > button {
    margin-left: auto;
}

#header .cpname a {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#header .vibo {
    font-size: 1.3rem;
}

#header #logotext {
    font-size: 1.3rem;
}

#headertxt {
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 576px) {
    #header {
        padding: 0;
    }

    #navcontainer {
        margin-left: 0;
        padding-left: 0;
    }

    #header img {
        margin: 0;
        padding: 0;
    }
}

/* ------------------- NAVBAR ------------------- */
.navbar {
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

#navbarNav {
    flex-wrap: wrap;
    justify-content: end;
}

.navbar a,
.navbar a:focus {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--textWhite);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    line-height: 0;
}

.navbar .nav-item a:hover,
.navbar .nav-item .active,
.navbar .nav-item .active:focus {
    color: var(--textDarkGray);
}

.navbar .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--lightgreen);
    box-shadow: 0 0 30px rgba(127, 137, 161, 0.5);
    transition: 0.3s;
    border-radius: 4px;
}

.navbar .dropdown ul li a:hover {
    color: var(--textDarkGray);
    background: var(--lightgreen);
}

#navbarNav {
    margin-right: 5%;
}

@media screen and (min-width: 992px) {
    #navbarNav {
        flex-direction: column;
        justify-content: center;
        align-items: end;
    }

    #navrow a {
        font-size: 1.2rem;
        margin: 0;
    }
}

.navbar-toggler {
    border: none;
    background-color: var(--backgroundWhite);
}

.navbar-toggler:hover {
    background-color: var(--textDarkGray);
}

@media screen and (max-width: 992px) {
    #navbarNav > ul {
        padding-left: 1em;
        text-align: right;

    }

    #navrow {
        margin-top: 20px;
    }
}

@media screen and (max-width: 420px) {
    #navcontainer {
        padding-right: 0;
    }

    #navcontainer > .navbar-brand {
        flex-grow: 1;
        width: 100%;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    #navcontainer > button {
        margin-left: auto;
        margin-right: auto;
    }

    #navcontainer > #headertxt {
        margin-left: auto;
        margin-right: auto;
    }
}

/* --------------------- Sections --------------------- */
section {
    padding: 60px 0;
}

.section-bg {
    background-color: var(--backgroundBeige);
}

.section-title {
    text-align: center;
    padding-bottom: 10px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: var(--lightgreen);
    bottom: 0;
    left: calc(50% - 25px);
}

.section-title p {
    margin-bottom: 0;
}

.subsection {
    padding: 0 0 60px 0;
}

.section__extra-margin {
    margin-top: 7rem;
}

/* ------------------- HERO ------------------- */
#hero {
    width: 100%;
    height: 100vh;
}

#hero #herobg {
    width: 75%;
    height: 75%;
    border-radius: 15px;
    position: relative;
    background-image: url("../img/hero/kp.jpg");
    background-repeat: no-repeat;
    background-position: center center;
}

#hero #herotxt {
    text-align: center;
    width: fit-content;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.7);
}

#hero h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 56px;
    color: var(--textDarkGray);
}

#hero h2 {
    color: #6f6f6f;
    margin: 10px 0 0 0;
    font-size: 1.3rem;
}

@media screen and (max-width: 592px) {
    #hero #herotxt h1 {
        font-size: 2rem;
        line-height: 45px;
    }
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 992px) {
    #hero:before {
        content: "";
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    #hero .container {
        width: 90%;
    }
}

/* ------------------- FOOTER ------------------- */
#footer {
    text-align: center;
    color: var(--textDarkGray);
    font-size: 14px;
    background: var(--lightgreen);
}

#footer a {
    color: var(--textDarkGray);
}

/* --------------------- Preloader --------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: var(--backgroundWhite);
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--darkgreen);
    border-top-color: var(--lightgreen);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --------------------- Boxcard --------------------- */
.boxcard .icon-box {
    height: 100%;
    text-align: left;
    padding: 30px 20px 40px 20px;
    transition: all ease-in-out 0.3s;
    background: var(--backgroundBrokenWhite);
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.1);
}

.boxcard .icon-box .icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
    position: relative;
}

.boxcard .icon-box .icongamejam {
    margin: 0 auto;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
    position: relative;
}

.boxcard .icon-box .icon i {
    font-size: 36px;
    transition: 0.5s;
    position: relative;
}

.boxcard .icon-box h4 {
    font-weight: 600;
    margin: 10px 0 5px 0;
    font-size: 1.5rem;
    text-align: center;
}

.boxcard .icon-box h4 a {
    transition: ease-in-out 0.3s;
}

.boxcard .icon-box h5 {
    font-weight: 600;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    text-align: center;
}

.boxcard .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

/* --------------------- Contact form --------------------- */
#frmContact {
    height: 100%;
}

.label {
    margin: 2px 0;
}

input {
    width: 75%;
    border-radius: 4px;
    padding: 15px;
    font-size: 1em;
    border: 1px solid #A1A1A1;
}

textarea {
    border-radius: 4px;
    width: 100%;
    padding: 15px;
    border: 1px solid #A1A1A1;
    font-size: 1.2em;
    resize: none;
}

button {
    padding: 12px;
    background: var(--lightgreen);
    border: none;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background: var(--darkgreen);
}

#message {
    padding: 0;
}

#mail-status {
    padding: 5px 5px;
    width: auto;
    display: none;
    font-size: 1em;
    color: rgb(40, 40, 40);
}

.error {
    background-color: #F7902D;
    margin-bottom: 10px;
}

.success {
    background-color: #48e0a4;
}

.g-recaptcha {
    margin: 10px 0 10px 0;
}


@media all and (max-width: 991px) {
    input {
        width: 100%;
    }

    #comment-content {
        width: 100%;
    }
}

/* --------------------- Login / Register form --------------------- */
#formcard {
    width: 75%;
    background-color: var(--backgroundWhite);
    text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 980px) {
    .card {
        width: 50% !important;
        display: initial;
    }
}

/* --------------------- Buttons --------------------- */
.btn-rj {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 30px;
    color: var(--textWhite);
    background: var(--lightgreen);
    outline: none;
    border: none;
}

.btn-rj:hover {
    background: var(--darkgreen);
}

/* --------------------- User Table --------------------- */
.tbodyDiv {
    max-height: clamp(5em, 50vh, 250px);
    overflow: auto;
}