* {
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    height: 100vh;
}

#wraper {
    width: 100%;
    min-height: calc(100vh - 392px);
}
.c{
	display: flex;
	justify-content: center;
	align-items: center;
}
.carousel-item {
    height: 100vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    background-size: cover;
    -webkit-transition: .7s all ease-in-out;
    transition: .7s all ease-in-out;
}

.carousel-1 {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.5)), url(/theme/0/img/1.jpg) no-repeat fixed center /cover;
    animation: tlo 20s linear infinite;
}

.carousel-2 {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.5)), url(/theme/0/img/5.jpg) no-repeat fixed center /cover;
    animation: tlo 20s linear infinite;
}

.carousel-3 {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.5)), url(/theme/0/img/auto.jpg) no-repeat fixed center /cover;
    animation: tlo 20s linear infinite;
}
#nav {
    padding: 0;
    margin: 0;
    height: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0) !important;
    transition: all 0.8s ease-in-out;
}

.navShow {
    animation: show 1.2s ease-in-out backwards;
    height: auto !important;
}

.navShowMobile {
    height: auto !important;
}

.navHide {
    animation: hide 1.2s ease-in-out;
    height: 0 !important;
}

.logoShow {
    animation: showl 1.2s ease-in-out backwards;
    height: auto !important;
    opacity: 1 !important;
}

.logoShowMobile {
    height: auto !important;
    opacity: 1 !important;
}

.logoHide {
    animation: hidel 1.2s ease-in-out;
    height: 0 !important;
    opacity: 0 !important;
}

.logoHideMobile {
    height: 0 !important;
    opacity: 0 !important;
}

.menu li {
    position: relative;
    width: 100%;
    text-align: center;
}

.hov-yellow:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 0%;
    height: 3px;
    background-color: yellow;
    text-align: center;
    transition: 0.5s all ease-in-out;
}

.logo {
    z-index: 3000;
    position: fixed;
    top: 0;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    width: auto !important;
    background-color: whitesmoke !important;
    border-radius: 30px;
    border-left: 3px solid gray;
    border-bottom: 2px solid gray;
    border-right: 3px solid gray;
    padding: 25px 0;
}

.logoul li {
    font-size: 20px;
}

.menu li > a {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    text-decoration: none;
}

.logo-bck {
    width: 350px !important;
}

.menu li:hover a {
    color: yellow !important;
}

.hov-yellow:hover:after {
    width: 100%;
}

.menu {
    width: 100% !important;
    height: 100% !important;
    font-size: 14px;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 80%;
    border: #555 2px solid;
    border-radius: 50px;
}

.pasek {
    width: 100%;
	height: 50px;
    position: relative;
    border-right: #555 2px solid;
    border-left: #555 2px solid;
    border-top: #555 2px solid;
    border-bottom: #555 2px solid;
    background-color: #da251c;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 50px;
}

.text {
    color: white;
    font-size: 20px;
    padding-right: 0px;
    padding-top: 5px;
    text-align: center;
    writing-mode: horizontal-tb;
    white-space: nowrap;
    width: 100%;
    height: 100px;
}

.logosz {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.textb{
	font-size: 12px;
}
.textpanel{
	font-size: 25px;
}
@keyframes tlo {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {

        transform: scale(1);
    }
}

@keyframes show {
    0% {
        height: 0;
    }

    100% {
        height: 91px;
    }
}

@keyframes hide {
    0% {
        height: 91px;
    }

    100% {
        height: 0;
    }
}

@keyframes showl {
    0% {
        height: 0;
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        height: 103px;
        opacity: 1;
    }
}

@keyframes hidel {
    0% {
        height: 103px;
        opacity: 1;
    }

    70% {
        opacity: 0;
    }

    100% {
        height: 0;
        opacity: 0;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .logoul li {
        font-size: 20px;
    }

    .pasek {
        width: 100%;
        height: 50px;
        position: relative;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        border-bottom-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .text {
        writing-mode: horizontal-tb;
        width: 100%;
        height: 100px;
        padding-right: 0px;
        padding-top: 0px; 
		font-size: 30px;
    }
	.textb{
	font-size: 16px !important;
}
.main{
    width: 65%;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	    .menu li {
        width: 10%;
    }
    .logoul li {
        font-size: 16px;
        border-right: 1px solid #dee2e6;
    }
     .logoul li:last-child {
        border-right: 0;
    }
	.pasek{
	height: 80px;
	}
	.text {
        padding-right: 0px;
        padding-top: 12px; 
    }
	.textb{
	font-size: 32px !important;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    #nav {
        clip-path: polygon(5% 100%, 95% 100%, 100% 0, 0 0) !important;
    }

    .logoul li {
        font-size: 20px;
    }
    .menu li > a {
        padding-top: 43px;
        padding-bottom: 27px;
        text-decoration: none;
    }
}
@media only screen and (min-width : 1290px) {
	 .logoul li {
        font-size: 22px;
    }
}
