/*

-- Author: Mario Sedlak
-- Website: mase.sk
-- Version: v1
-- Date: 13.1.2023

*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;900&display=swap');
@font-face {
    font-family: CGOTHICBI;
    src: url('../fonts/CGOTHICBI.ttf');
}
/* HTML Setup */

/* Remove Bootstrap ugly styles */

button, ::after, ::before {
    box-sizing: border-box;
    outline: none !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
  
.container-row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Variables for Light Theme */

:root {

    /* UI Colors */
    --body-bg-color-light: rgb(255, 255, 255);
    --main-header-bg-color-light: rgb(255, 255, 255);
    --box-bg-color-light: rgb(255, 255, 255, .7);

    /* Font Colors */
    --font-color-default-light: rgb(0, 0, 0);
    --main-header-navlink-color-light: rgb(28, 28, 28);

}

/* Variables for Dark Theme */

:root {

    /* UI Colors */
    --body-bg-color-dark: rgb(18, 21, 25);
    --main-header-bg-color-dark: rgb(18, 21, 25);
    --box-bg-color-dark: rgb(18, 21, 25);

    /* Font Colors */
    --font-color-default-dark: rgb(255, 255, 255);
    --main-header-navlink-color-dark: rgb(240,240,240);

}

/* Global Variables */

:root {

    /* UI */
    --switch-popup-bg-color: rgb(248,66,63);

    /* Font Colors */
    --navlink-active: rgb(254, 0, 0);

    /* Font Sizes */

    /* Others */

}

/* Body Canvas  + Used for Light Theme */

body {

    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 1.6;

    color: var(--font-color-default-light);
    background-color: var(--body-bg-color-light);

    overflow-x: hidden;
}

    /* Main Header */

    .main-header {
        z-index: 20;
        position: fixed;

        top: 0;
        right: 0;
        left: 0;

        height: 6em;

        background-color: var(--main-header-bg-color-light);
        box-shadow: 0 1px 3px 0 rgb(0 0 0 / 25%);
    }

    .navbar {
        background-color: white;
    }

    .dark-mode .navbar {
        background-color: var(--main-header-bg-color-dark);
    }

    .main-header .navbar {
        padding: 15px 0;
    }

    .main-header .collapse-side .offcanvas-menu {
        font-size: 1.5rem;
        color: var(--main-header-navlink-color-light);
    }

    .main-header .header-logo {
        max-width: 100%;
    }

    .main-header .main-menu {
        align-items: center;
    }

    .main-header .main-menu .nav-link {
        color: var(--main-header-navlink-color-light);
    }

    .main-header .main-menu .nav-link:active,
    .main-header .main-menu .nav-link:checked,
    .main-header .main-menu .nav-link:focus,
    .main-header .main-menu .nav-link:hover {
        color: var(--navlink-active);
    }

    .main-header .main-menu .nav-link.nav-active {
        color: var(--navlink-active);
        border-bottom: 2px solid var(--navlink-active);
    }

        /* Dark Mode Switcher */

        #dark-mode-icon {
            font-size: 1.5rem;
            color: var(--main-header-navlink-color-light);
            transition: all 0.3s ease-in-out;
        }

        #dark-mode-icon.fa-lightbulb-on {
            display: none;
        }

        #dark-mode-icon.fa-lightbulb-slash {
            display: inline-block;
        }
    
    /* Main Content */

    .main-container {
        margin-top: 6em;
    }

    .section-home {
        z-index: -6;
    }

    .section-home:before {
        z-index: -5;
        content: '';

        display: flex;
        position: absolute;

        width: 100%;
        height: 600px;

        background-color: black;
        opacity: .2;
    }

    .section-home .parallax-600 {
        height: 600px;
    }

    /* Section Home */
    
    .home-box {
        border: 1px solid #e0e0e0;
        padding: 48px;
        border-radius: 12px;
        position: relative;
        background: #fff;
        transition: 0.3s;
      }
      .home-box:after {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: #fd562a;
        transition: 0.3s;
        z-index: -1;
        border-radius: 12px;
      }
      .home-box:hover {
        box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.1);
        border-color: #fff;
      }
      .home-box:hover:after {
        transform: rotate(-10deg);
      }

    /* Section (Zemné práce) */

    /* Section (IT) */

    .section-cat2 {
        display: block;

        width: 100%;
        min-height: 600px;
    }

    .box-heading {
        display: block;
        height: 15em;
    }

    .box-heading-small {
        display: block;
        height: 10em;
    }

    .section-cat2 .parallax-600 {
        height: 600px;
    }

    /* Contact */

    .contact-box {
        padding: 2rem;
        height: 100%;
        border-radius: .25em;
    }

    /* Footer */

    .main-footer {
        height: 3rem;
    }


/* Globals */

.item-wrap {
    position: relative;

    background-color: white;
    border-radius: .25em;
    box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.1);
}

.item-wrap:after {
    z-index: -1;
    content: '';
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgb(254, 0, 0);
    border-radius: .25em;
    transition: 0.3s;
}

.item-wrap:hover {
    box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.1);
    border-color: #fff;
  }
  .item-wrap:hover:after {
    transform: rotate(-10deg);
  }

.contact-item {
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 3.5rem;
}

.item-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    margin-top: .35rem;

    width: 2rem;
}

.section-divider {
    width: 100%;
    height: 1px;

    border-bottom: 1px solid rgb(124, 124, 124);
}

.text-red {
    color: red;
    font-size: 1.2rem;
}

.heart:hover {
    animation-name: shake;
    -webkit-animation-name: shake;
    animation-duration: 0.5s;
    -webkit-animation-duration: 0.5s;
    transform-origin: 50% 50%;
    -webkit-transform-origin:50% 50%;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

.heart {
    display: inline-block;
}

.small-box {
    height: 18rem;
    padding: 0 2rem;
}

.box-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 3rem 0;

    width: 100%;
    height: 20%;

    font-size: 2rem;
}

.welcome-header {
    font-size: 2rem;
    font-weight: 600;
    color: var(--font-color-default-dark);
}

.company-title {
    font-family: "CGOTHICBI", sans-serif;
    font-size: 5rem;
    font-weight: 600;

    color: var(--font-color-default-dark);
}

.buttons-row {
    width: 100%;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: start;

    padding: 1rem 0;

    width: 20rem;

    background-color: var(--body-bg-color-dark);
    border: 1px solid rgb(254, 0, 0, .3);
    border-radius: .25em;
}

.button-icon {
    display: flex;
    justify-content: center;
    width: 30%;

    font-size: 1.5rem;
    color: var(--main-header-navlink-color-dark);
}

.button-title {
    display: flex;
    justify-content: flex-start;
    width: 70%;

    color: var(--main-header-navlink-color-dark);
}

.section-title {
    padding: 1rem 0;

    width: 100%;

    font-size: 6rem;
    color: var(--font-color-default-dark);
}

/* Section Special */

.section-cat-special {
    height: 200px;

    background-color: rgb(27, 31, 37);
}

.logo-container {
    display: flex;
    overflow-x: scroll;
    width: 100%;
    height: 100%;
  }

  .logo-container::-webkit-scrollbar {
    display: none;
  }
  
  .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    height: 100%;
    width: 20%;
    min-width: 250px;
  }
  
  .logo-item img {
    height: 50%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s;
  }
  
  .logo-item:hover img {
    filter: grayscale(0%);
  }
  
  @media only screen and (max-width: 768px) {
    .logo-item {
      width: 25%;
    }
  }

/* Test */

#offcanvas-menu {
    position: fixed;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 80%;
    height: 100%;
    background-color: #f3f3f3;
    padding: 20px;
    transition: left 0.3s;
  }
  
  #offcanvas-menu.open {
    left: 0;
  }

.offcanvas-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;

    font-size: 1.5rem;
}

.close-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    height: 3rem;

    font-size: 2rem;
}

.section {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .section.active {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
  }

.highlight {
    background-color: var(--navlink-active);
    opacity: .9;
    animation: highlight 1s;
}
  
@keyframes highlight {
    from {background-color: var(--navlink-active);}
    to {background-color: transparent;}
}

.zavinac:before {
    content: '@';
}

.font-color-default {
    color: var(--font-color-default-light);
}

/* Section for Dark Theme Styles */

.dark-mode body {
    color: var(--font-color-default-dark);
    background-color: var(--body-bg-color-dark);
}

.dark-mode .main-header {
    background-color: var(--main-header-bg-color-dark);
}

.dark-mode .main-header .collapse-side .offcanvas-menu {
    color: var(--main-header-navlink-color-dark);
}

.dark-mode .main-header .main-menu .nav-link {
    color: var(--main-header-navlink-color-dark);
}

.dark-mode .main-header .main-menu .nav-link:active,
.dark-mode .main-header .main-menu .nav-link:checked,
.dark-mode .main-header .main-menu .nav-link:focus,
.dark-mode .main-header .main-menu .nav-link:hover {
    color: var(--navlink-active);
}

.dark-mode .main-header .main-menu .nav-link.nav-active {
    color: var(--navlink-active);
    border-bottom: 2px solid var(--navlink-active);
}

.dark-mode #dark-mode-icon {
    color: var(--main-header-navlink-color-dark);
}

.dark-mode #dark-mode-icon.fa-lightbulb-slash {
    display: none;
}

.dark-mode #dark-mode-icon.fa-lightbulb-on {
    display: inline-block;
}

.dark-mode .section-home .home-box {
    background-color: var(--box-bg-color-dark);
}

.dark-mode .contact-box {
    background-color:rgb(25, 29, 34);
}

.dark-mode .item-wrap {
    box-shadow: none;
}

.dark-mode .small-box {
    background-color: rgb(25, 29, 34);
}

.dark-mode #offcanvas-menu {
    background-color:rgb(18, 21, 25);
}

.dark-mode .link-icon {
    color: var(--main-header-navlink-color-dark);
}

.dark-mode .link-title {
    color: var(--main-header-navlink-color-dark);
}

.dark-mode .font-color-default {
    color: var(--font-color-default-dark);
}

/* Animations */

@keyframes fallDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100vh);
    }
}

@keyframes shake {
    0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } 
    10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
    20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
    30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
    40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
    50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
    60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
    70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
    80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
    90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
    100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}

@-webkit-keyframes shake {
    0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } 
    10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
    20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
    30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
    40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
    50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
    60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
    70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
    80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
    90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
    100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}

/* Notifications */

#switch-popup {
    position: absolute;
    visibility: hidden;

    bottom: 20px;
    left: 50%;

    padding: 10px;

    text-align: center;
    color: var(--font-color-default-dark);

    background-color: var(--switch-popup-bg-color);

    border-radius: 5px;

    transform: translateX(-50%);
    transition: all 0.5s ease-in-out;

    opacity: 0;
}

#switch-popup.show {
    visibility: visible;
    opacity: 1;
}

/* Others */

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#section-it {
    
}

#section-home-bg {
    height: 600px;
    background-image: url(../img/bg-home-min.jpg);
}

/* Last Update */

.image-holder {
    border-radius: .25em;
    overflow: hidden;
}

.accordion-item {
    object-fit: scale-down;
    object-position: center;
    border: 1px solid gray;
}

.accordion-header-custom:not(.collapsed) {
    color: var(--font-color-default-dark);
    background-color: gray;
}

.dark-mode .accordion-item {
    border: 1px solid rgb(31, 36, 43);
}

.dark-mode .accordion-body {
    color: var(--font-color-default-dark);
    background-color: rgb(31, 36, 43);
}

.dark-mode .accordion-header-custom {
    color: var(--font-color-default-dark);
    background-color: rgb(27, 31, 37);
}

.dark-mode .accordion-button::after {
    content: '\f7c3';

    font-family: "Font Awesome 6 Pro";
    background-image: none;
}

.dark-mode .accordion-button:not(.collapsed)::after {
    content: '\f713';
    font-family: "Font Awesome 6 Pro";
    background-image: none;
}

/* V1 */

:root {
    /* UI */

    /* UI Colors */

    --LIGHT-primary-color: ;
    --LIGHT-secondary-color: ;

    --DARK-primary-color: #121519;
    --DARK-secondary-color: #0F1317;

    /* Fonts */

    /* Font Sizes */

    /* Font Colors */

    --LIGHT-font-primary-color: rgb(80, 80, 99);

    --DARK-font-primary-color: rgb(226, 226, 226);

    --font-color-black: black;
    --font-color-red: red;
    --font-color-yellow: yellow;
}

.main-header {
    background-color: var(--LIGHT-primary-color);
}

.nav-link {
    color: var(--LIGHT-font-primary-color);
}

    /* Buttons */

    .light-mode .btn-header {
        color: var(--LIGHT-font-primary-color);
    }

    .light-mode #dark-mode-icon {
        color: var(--LIGHT-font-primary-color);
        transition: all 0.3s ease-in-out;
    }

    .light-mode .offcanvas {
        background-color: white;
        color: var(--LIGHT-font-primary-color);
    }

    .light-mode .btn-offcanvas {
        background-color: aliceblue;
    }

        .light-mode .btn-offcanvas:active,
        .light-mode .btn-offcanvas:checked {
            background-color: rgb(203, 231, 255);
        }

        .btn-icon {
            color: var(--LIGHT-font-primary-color);
        }
        
        .light-mode .btn-secondary-icon {
            background-color: rgb(240, 248, 255);
            color: var(--LIGHT-font-primary-color);
        }

        .light-mode .btn-title {
            color: var(--LIGHT-font-primary-color);
        }

        .light-mode .btn-close-custom {
            color: var(--LIGHT-font-primary-color);
        }

        .dark-mode .main-header {
            background-color: var(--DARK-primary-color);
        }
        
        .dark-mode .nav-link {
            color: var(--DARK-font-primary-color);
        }
        
        .dark-mode .offcanvas {
            background-color: var(--DARK-secondary-color);
            color: var(--DARK-font-primary-color);
        }
        
            .dark-mode .btn-offcanvas {
                background-color: #93ADCF;
            }
        
            .dark-mode .btn-icon {
                color: white;
            }
        
                .dark-mode .btn-secondary-icon {
                    background-color: #93ADCF;
                }
        
            .dark-mode .btn-title {
                color: white;
            }
        
            /* Buttons */
        
            .dark-mode .btn-header {
                color: var(--DARK-font-primary-color);
            }
        
            .dark-mode #dark-mode-icon {
                color: var(--DARK-font-primary-color);
                transition: all 0.3s ease-in-out;
            }
        
            .dark-mode #dark-mode-icon.fas-sun {
                display: inline-block;
            }
        
            .dark-mode #dark-mode-icon.fas-moon {
                display: none;
            }
        
            .dark-mode .btn-close-custom {
                color: var(--DARK-font-primary-color) !important;
            }
        
            /* Font Colors */
        
            .dark-mode .text-muted {
                color: var(--DARK-font-primary-color) imr !important;
            }

            .offcanvas-navbar {
                display: flex;
                flex-direction: column;
            
                align-items: center;
            
                gap: .3em;
            }
            
                /* Buttons */
            
                .btn-header {
                    width: 2em;
                    font-size: 2rem;
                }
            
                #dark-mode-icon.fas-sun {
                    display: none;
                }
            
                #dark-mode-icon.fas-moon {
                    display: inline-block;
                }
            
                .btn-offcanvas {
                    display: flex;
                    align-items: center;
                    
                    width: 80%;
                    height: 4em;
                }
            
                    .btn-icon {
                        position: relative;
                        display: flex;
                        align-items: center;
                        justify-content: center;
            
                        width: 3em;
            
                        font-size: 1.3rem;
                    }
            
                    .btn-secondary-icon {
                        position: absolute;
            
                        top: 21%;
                        left: 55%;
            
                        width: 1.33rem;
            
                        font-size: .8rem;
            
                        border-radius: .4em;
                    }
            
                .btn-close-custom {
                    width: 2em;
                    font-size: 1.5rem;
                }

.carousel-inner {
    border-radius: .3em;
}

.section-container {
    min-height: 600px;
    height: 600px;
}

#bg 
{	
	background: cover;
    background: linear-gradient(145deg, #192839 50%, #1ab4e2 115%);
}

.container-box {
    position: absolute;
    top: 0;

    min-height: 600px;
    height: 600px;

    width: 100%;
}