/*
Theme Name: Child Theme
Description: Child Theme for
Author: KutiLaci
Version: 1.0
Template: twentytwentyone
*/

:root {
    --global--color-background: #fcfcfc !important;
    --button--font-family: var(--bs-body-font-family) !important;
    --global--spacing-unit: 60px !important;
    --heading--font-family: 'Great Vibes', cursive !important;
}

.grecaptcha-badge {
    visibility: hidden;
}

.font-size-small {
    font-size: 0.9rem;
}

.font-size-smaller {
    font-size: 0.75rem;
}

.font-size-smallest {
    font-size: 0.5rem;
}

.light-grey {
    color: #999999;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle, #d6f2ce -20%, #2f95d2 100%);
}

body .main-container {
    padding-top: 8rem;
}

body h1 {
    font-size: 80px
}

#primary-menu ul {
    display: flex;
    flex-direction: row;
}

#primary-menu ul li:last-of-type a {
    color: #eeeeee;
    font-weight: bold;
}

#primary-menu ul li a {
    color: #333333;
    transition: text-shadow 0.15s ease-out, background-color 0.15s ease-out;
}

#primary-menu ul li a:hover {
    background-color: #d9f1fd;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

#primary-menu ul li a.nav-link.active {
    background-color: #62c3f2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
    color: white;
}

#primary-menu a.main-logo {
    margin-top: 7px;
    transition: text-shadow 0.15s ease-out;
}

#primary-menu a.main-logo:hover {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

#primary-menu a.main-logo h5 {
    font-weight: normal;
    color: #333333;
}

#myCarousel {
    overflow: hidden;
    height: auto;
    max-height: 500px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item img {
    max-height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item h3 {
    position: absolute;
    left: 2.6rem;
    top: 1rem;
    font-size: 5rem;
}

.carousel-item img,
.carousel-item.active img {
    margin: 0 auto;
    display: block;
}


#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
    background-color: rgba(0,0,0,0.04);
    width: 10%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 2.5rem;
    height: 2.8rem;
    color: black;
}

.heading-text-shadow {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.my-contact-form input {
    width: 100%;
    margin-left: 0 !important;
}

.my-contact-form input::placeholder,
.my-contact-form textarea::placeholder {
    color: #ddd;
}

.my-contact-form input.wpcf7-submit {
    transition: background-color 0.15s ease-out, color 0.15s ease-out;;
}

.my-contact-form textarea {
    border: 3px solid;
    padding: var(--form--spacing-unit);
    resize: none;
}

.my-contact-form textarea:focus {
    color: var(--form--color-text);
    outline-offset: 2px;
    outline: 2px dotted var(--form--border-color);
}

/* Dropdown menu */
#dropdown-menu {
    display: none;
    z-index: 99;
}

#dropdown-menu ul li a.current-menu-item,
#dropdown-menu ul li a.current-menu-parent {
    border-bottom: none;
}

#dropdown-menu ul li a:hover {
    color: white;
}

#dropdown-menu .nav-link.current-menu-item {
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, .6);
    border-bottom: 3px solid white;
    color: white;
    font-weight: bold;
}

@media (min-width: 992px) {

    #primary-menu ul li:last-of-type {
        margin-left: auto;
    }

    #myCarousel {
        padding: 1.5rem 0;
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }

}

@media (max-width: 992px) {

    #menu-main-menu {
        position: absolute;
        top: 100%;
        right: 0;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

    /* Burger menu */
    .burger {
        height: 24px;
        cursor: pointer;
        transition: transform 0.3s ease-out;
    }

    .burger .burger-line {
        height: 2px;
        width: 24px;
        transition: transform 0.3s ease-out, opacity 0.2s ease-out;
    }

    .burger.burger-active {
        transform: rotate(135deg);
    }

    .burger.burger-active .line1 {
        transform: translate(0, 8px);
    }

    .burger.burger-active .line2 {
        opacity: 0;
        transform: rotate(-180deg);
    }

    .burger.burger-active .line3 {
        transform: translate(0, -8px) rotate(-270deg);
    }

    #primary-menu ul {
        flex-direction: column;
    }

    #primary-menu ul li.nav-item  {
        width: 100%;
    }

}

@media (max-width: 992px) {

    .carousel-item h3 {
        left: 0.6rem;
        top: 0.6rem;
        font-size: 2rem;
    }

}

@media (max-width: 768px) {

    body h1 {
        font-size: 60px;
    }

}

