@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');


html{
scroll-behavior: smooth;
}

body{
    background: url(background1.png) fixed no-repeat center; 
    background-size: cover;
    font-family:Poppins;
} 
/* -------------------HLAVICKA------------------- */

.hlava{
    position: sticky;
    top: 10px;
    width: 95%;
    margin: auto;
    background-color: #030304;
}
.header{
    
    padding:2px 0; 
    margin:0 0 0px 0; 
    margin-top: 46%; 
    width: 90%;
    text-align: left;
}
.header nav{
    display:block; 
    width:100%; margin:0; 
    padding:20px 0px; 
    color:#ebebeb; 
    background-color:#FFFFFF;
    transform: skew(-25deg);
    font-weight: bold;
    font-size: 17px;
}
.header nav li{
    display:inline; 
    margin-right:0px; 
    text-transform:uppercase;
    
}
.last{float: right; 
    padding-right: 30px;
}

.header nav li a{
    color:#000000eb; 
    padding: 35px;
    transition: .3s;
    text-decoration: none; 
    text-decoration: none;
}
.header nav li a:hover{ 
    color:#dfdfdf; 
    background-color:#d0161c; 
    padding: 35px;
}
/* ----------------------MAIN-------------------- */
.m{
    margin: auto;
    padding-top: 5rem;
    width: 95%;
    background-color: #030304;
}
/* ---------------------------------------------- */
.aboutme{
    background-color:#FFFFFF;
    width: 82.5%;
    height: 430px; 
    margin-left: 8%; 
    margin-right: 9%; 
    padding-top: 2rem;
    padding-left: 2rem;
    display:flex;
} 
.aboutme h1{
    font-size: 3.5rem;
}
.text{
    padding-left: 2rem; 
    font-size: 1.5rem;
}
hr{ 
    width: 84%;
    margin-top: 70px;
    margin-bottom: 70px;
}

/* ---------------------------------------------- */
.projekty{
    margin-left: 8%; 
    margin-right: 9%; 
    width: 84%;
    height: 600px; 
    margin-top: 70px; 
    background-color:#FFFFFF; 
}
.pro{
    width: 84%;
    display: flex;
    text-align: center;
    margin: auto;
}
.text1 h1{
    font-size: 3.5rem;
    padding-top: 3rem;
    padding-left: 3rem;
}
.proj {
    padding-top: 0px; 
    padding-left: 0rem;
    width: 500px;
}
.proj ul li{
    margin-top: 10px; 
    padding-top: 5px;
    text-decoration: none;
    display: block;
}

.proj ul li a{ 
    padding-top: 66px;
    text-decoration: none; 
    transition: .3s;
}
.proj ul li a:hover{
    padding-top: 66px;
    text-decoration: none;
    background-color: #d0161c;
}
/* ---------------------------------------------- */
.prace{
    margin-left: 8%; 
    margin-right: 9%; 
    width: 84%;
    height: 600px; 
    margin-top: 70px; 
    background-color:#FFFFFF; 
}
.text1{
    font-size: 3.5rem;
    padding-top: 3rem;
    padding-left: 3rem;
}
.marquee-section {
    position: relative;
    min-height: 82px;
}

.marquee-section, .marquee-section * {
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    color: #d0161c;
    font-size: 3rem;
    font-family: "Roboto Condensed";
    font-weight: bold;
}

.marquee-div {
    position: absolute;
    left: -100%;
    animation: move linear 20s infinite;
    min-width: 100%;
}

@keyframes move {
    from { left: -200%; }
    to { left: -3%; }
}