@charset "UTF-8";

/*
Theme Name: Twenty Twenty-One Child
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: Uroš Vulović
Author URI: https://urosvulovic.com
Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 6.0
Requires PHP: 5.6
Template: twentytwentyone
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
Twenty Twenty-One is distributed under the terms of the GNU GPL.
*/
body {
    margin: 0;
    position: relative;
    font-family: 'Source Sans Pro', sans-serif;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

#slider {
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    transition: left .5s;
}

.slide.last-slide {
    left: -100%;
    z-index: -1;
}

#s0 {
    left: 0;
}

.arrow {
    z-index: 5;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #696969;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color .5s;
}

.arrow:hover {
    color: #fff;
}

.arrow-left {
    left: 30px;
}

.arrow-right {
    right: 30px;
}

header {
    background-color: transparent;
    transition: background-color .5s;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

header.dark-header:hover {
    background-color: #ededed;
}

header:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

header ul li {
    position: relative;
    padding: 16px 0;
}

header ul li:hover .sub-menu {
    display: flex;
}


header .sub-menu {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    padding: 16px;
    position: absolute;
    left: 50%;
    top: 66px;
    margin: 0;
    gap: 8px;
    transform: translateX(-50%);
}

header .sub-menu li {
    padding: 0;
}

header .sub-menu li:not(:last-child) {
    border-bottom: solid 1px black;
    padding-bottom: 8px
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1450px;
    margin: 0 auto;
    opacity: 0.6;
    transition: opacity .5s;
    padding: 0 15px;
}

.header-container:hover {
    opacity: 1;
}

.logo {
    margin: 13px 0;
    margin-right: auto;
}

.logo img {
    height: 40px;
    width: auto;
}


header ul {
    display: flex;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    gap: 40px;
}

header .burger {
    display: none;
    position: relative;
    width: 26px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
}

header .burger span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: #696969;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s;
}

header .burger span::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background-color: #696969;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: background-color 0.5s, transform 0.5s;
    transform: rotate(0) translate(-2px, -9px);
}

header .burger span::after {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background-color: #696969;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    transition: background-color 0.5s, transform 0.5s;
    transform: rotate(0) translate(-2px, 9px);
}

header .menu.opened .burger span {
    background-color: transparent;
}

header .menu.opened .burger span::before {
    transform: rotate(45deg) translate(0, 0);
}

header .menu.opened .burger span::after {
    color: transparent;
    transform: rotate(135deg) translate(0, 0);
}

header ul li {
    list-style: none;
}

header ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
    font-size: 16px;
    transition: color .5s;
}

header ul li:hover a {
    opacity: 0.6;
}

@media screen and (max-width: 992px) {
    header {
        background-color: rgba(255, 255, 255, 0.8);
    }

    header ul {
        max-height: 0;
        padding: 0;
        position: absolute;
        left: 0;
        right: 0;
        top: 61px;
        margin-left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: rgba(211, 211, 211, .9);
        transition: max-height .5s;
    }

    header .menu.opened ul {
        max-height: 100vh;
    }

    header ul li {
        visibility: hidden;
        opacity: 0;
        transition: opacity .5s, visibility .5s;
        text-align: center;
        padding: 0;
    }

    header .menu.opened ul li {
        visibility: visible;
        opacity: 1;
    }

    header ul li a {
        color: #696969;
        font-size: 18px;
    }

    header ul li:first-child {
        margin-top: 50px;
    }

    header ul.sub-menu li:first-child {
        margin-top: 0;
    }

    header ul li:last-child {
        margin-bottom: 50px;
    }

    .header-container{
        opacity: 1;
    }

    header .burger {
        display: block;
        text-align: center;
    }

    header ul li a {
        border-bottom: 1px solid black;
    }

    header ul.sub-menu li a {
        border-bottom: none;
        font-size: 16px;
    }

    .logo img {
        max-width: 150px;
        height: auto;
    }

    header .sub-menu {
        text-align: center;
        display: block;
        background: transparent;
        opacity: 1;
        padding: 0;
        position: unset;
        left: 0;
        top: 0;
        margin: 0;
        gap: 0;
        transform: unset;
    }
    header ul.sub-menu li:last-child {
        margin-bottom: 0;
    }
    header .sub-menu li:not(:last-child) {
        border-bottom: none;
    }

    header ul li:hover .sub-menu a {
        opacity: 1;
    }


}


#blog h1 {
    margin: 0;
    padding: 185px 0 140px 0;
    text-align: center;
    font-size: 40px;
}

#blog .single-blog {
    position: relative;
    min-height: 335px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    background-color: rgba(0, 0, 0, 0.2);
}

#blog .single-blog:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: var(--link);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    z-index: -1;
    text-decoration: none;
}

#blog .single-blog h2 {
    margin: 0;
    font-size: 30px;
    text-align: center;
    padding: 0 20px;
    color: #f1f1f1;
    text-decoration: none;
}
#blog a {
    text-decoration: none;
}
#blog a .single-blog {
    text-decoration: none;
    font-size: 20px;
    transition: color .5s;
    color: #f1f1f1;
    text-decoration: none;
}

#blog a:hover .single-blog {
    background-color: rgba(0, 0, 0, 0.5);
}

#blog a:hover .single-blog span {
    text-decoration: underline;
}

.sub-menu-toggle, .sub-menu {
    display: none;
}

.site .button:not(:hover):not(:active):not(.has-background), button:not(:hover):not(:active):not(.has-background), input[type=submit]:not(:hover):not(:active):not(.has-background), input[type=reset]:not(:hover):not(:active):not(.has-background), .wp-block-search .wp-block-search__button:not(:hover):not(:active):not(.has-background), .wp-block-button .wp-block-button__link:not(:hover):not(:active):not(.has-background), .wp-block-file a.wp-block-file__button:not(:hover):not(:active):not(.has-background) {
    background-color: unset!important;
    border: none!important;
    outline: none!important;
    color: #696969!important;
}

.site .button:focus, button:focus, input[type=submit]:focus, input[type=reset]:focus, .wp-block-search .wp-block-search__button:focus, .wp-block-button .wp-block-button__link:focus, .wp-block-file a.wp-block-file__button:focus {
    outline: unset!important;
}