*{
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', sans-serif;
}

body {
    
    background: #eaeaea;
    min-height: 200vh;
}

/* Úvodní strana */

header {
    float: left;    
    position: fixed;
    padding: 20px 10px;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    z-index: 100;    
    height: 75px;
    font-size: 17px;
}


header.sticky {
    
    padding: 5px 20px;
    background: darkred;
    height: 10vh;
}

header .logo {
    
    position: relative;
    font-weight: 700;
    padding: 40px 40px;
    color: darkred;
    text-decoration: none;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: .3s;
    opacity: 0;
    animation: slideRight 1s ease forwards;
     
}

header ul {
    
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

header ul li {
    
    position: relative;
    list-style: none;
    
}

header ul li a {
    
    position: relative;
    margin: 0 12px;
    text-decoration: none;
    color: darkred;
    transition: 0.6s;
    font-weight: 500;
    font-size: 26px;
    font-family: 'Lora';
      transition: .3s;
    opacity: 0;
    animation: slideTop .4s ease forwards;
    animation-delay:  calc(.2s * var(--i));
}

header {
  float: right;
}

.banner {
    
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(img/pozadi.jpg);
    background-size: cover;
    
}


.logo:hover,
.navbar a:hover,
.navbar a.active
{ 
    color: red;
}


header.sticky .logo,
header.sticky ul li a,
header.sticky .social-media a i {
    
    color: #eaeaea;
}



header.sticky .logo:hover {
    
    color: red;
}

header.sticky .social-media a i:hover {
    
    color:red;
}


.social-media {
    
    display: flex;
    justify-content: space-between;
    width: 150px;
    height: 40px;
}

.social-media a {
    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    text-decoration: none;
    transition: 1s;
    opacity: 0;
    animation: slideBottom .9s ease forwards;
    animation-delay:  calc(.2s * var(--i));
    
}

.social-media a i {
    
    font-size: 26px;
    color: #eaeaea;
}

.social-media a i:hover {
    
    color: red;
}


.social-media.sticky:hover {
    
    color: red;
}



.home {
    
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between; /* Kvůli čtverci (home-img) */
    align-items: center;
    padding: 50px 10% 0;
    overflow: hidden;
}

.home-text {
    
    max-width: 630px;
    
}

.home-text h1 {
    
    font-size: 40px;
    line-height: 1.2;
     opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: 1s;
}

.home-text h3 {
    
    font-size: 35px;
    color: darkred;
       opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1.3s;
}

.home-text p {
    
    font-size: 20px;
    margin: 15px 0 30px;
       opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.6s;
}

.button {
    
    display: inline-block;
    padding: 10px 28px;
    background: darkred;
    border: 2px solid darkred;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    font-size: 16px;
    color: #eaeaea;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: .5s ease;
     opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
  
}

.button:hover {
    
    background: transparent;
    color: darkred;
}



.rhombus {
    
    position: absolute;    
    top: -20%;
    right: 5%;
    width: 700px;
    height: 700px;
    background: darkred;
    transform: rotate(-25deg);
    box-shadow: -15px 15px 15px rgb(0,0,0, .3);
     opacity: 0;
    animation: rhombus2 1s ease forwards;

}


/* Úvodní strana konec */




/* O nás */
#pronajem {
    
    width:100%;
    padding: 70px 0;
  
}

.title-text {
    
    text-align: center;
    padding-bottom: 70px;

    
}

.title-text h1 {
    
    font-size: 40px;
      opacity: 0;
    animation: slideLeft .7s ease forwards;
    animation-delay: 1s;
    
}


.title-text p {
    
    margin: auto;
    font-size: 35px;
    color: darkred;
    font: bold;
    letter-spacing: 2px;
    padding-top: 15px;
    opacity: 0;
    animation: slideLeft .7s ease forwards;
    animation-delay: 2s;
    
}


.pronajem_box {
    
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.pronajem_ {
    
    flex-basis: 50%;
    padding-left: 65px;

}

.pronajem_ h1 {
    
    text-align: left;
    margin-bottom: 10px;
    font-weight: 100;
    color:darkred;
    font-size: 25px;
}

.pronajem_popis {
    
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    
}

/* Ikonky */
.pronajem_icon {
    
    margin-top: 10px;
    width: 100px;
    height: 70px;
    font-size: 60px;
    line-height: 50px;
    border-radius: 8px;
    color:darkred;
    border: 2px solid black;
    align-items: center;
}

.pronajem_text p {
    
    padding: 0 30px;
    text-align: left;
    margin-top: 10px;
    font-size: 20px;
    
}

.button2 {
    
    display: inline-block;
    padding: 10px 28px;;
    text-align: left;
    background: darkred;
    border: 2px solid darkred;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    font-size: 16px;
    color: #eaeaea;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 600;
      cursor: pointer;
    transition: .5s ease;
  
}

.button2:hover {
    
    background: transparent;
    color: darkred;
}



.slider {
    top: 20px;
    width: 45%;
    max-width: 45vw;
    height: 400px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    left: 75px;
    
}

.list {
    
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: 100%;
     transition: 1s;
}

.list img {
    
    width: 1000px;
    max-width: 75vw;
    height: 100%;
    object-fit: cover;
}



.dots {
    
    position: absolute;
    bottom: 10px;
    color: #fff;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    
}

.dots li {
    
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 20px;
    border-radius: 20px;
    transition: 1s;
}

.dots li.active {
    
    width: 30px;
}
    
/* Naše služby */


#sluzby h1 {
    
    padding-top: 100px;
    font-size: 40px;
     text-align: center;
}
.card-container {
    
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 70px;
}

.card {
    
    width: 425px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
}

.card img {
    
    width: 100%;
    height: auto;
    
}

.card-content {
    
    padding: 16px;
}

.card-content h3 {
    
    font-size: 30px;
    margin-bottom: 8px;
}

.card-content p {
    
    color: darkred;
    font-size: 20px;
    line-height: 1.3;
}



.button3 {
    
    display: inline-block;
    padding: 8px 16px;
    margin-right: 50px;
    margin-top: 16px;
    background: darkred;
    border: 2px solid darkred;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    font-size: 16px;
    color: #eaeaea;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 600;
      cursor: pointer;
    transition: .5s ease;
}

.button3:hover {
    
    background: transparent;
    color: darkred;
}

.contact-container {
    
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact-left {
    
    display: flex;
    flex-direction: column;
    align-items: start;
    grid-gap: 25px;
    
}

.contact-title h2 {
    
    text-align: center;
    font-weight:600;
    color: #000;
    font-size: 40px;
    padding-top: 100px;
}

.contact-inputs {
    
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    border-radius: 50px;
}

.contact-left textarea {
    
    height: 130px;
    border-radius: 20px;
    padding-top: 10px;
    resize: none;
}

.contact-inputs:focus {
    
    border: 2px solid black;
}

.contact-inputs::placeholder {
    
    color: #a9a9a9;
}

button {
    
    display: flex;
    padding: 8px 16px;
    margin-right: 50px;
    margin-top: 16px;
    background: darkred;
    border: 2px solid darkred;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    font-size: 16px;
    color: #eaeaea;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: .5s ease;
}

button:hover {
    
    background-color: transparent;
    color: darkred;
}

.contact-right img {
    
    width: 600px;
    margin-bottom: 75px;

}

.back-to-top {
    
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: darkred;
    color: #eaeaea;
    padding: 5px;
    cursor: pointer;
    transition: .5s ease;
     opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
}

.back-to-top span {
    
      font-size: 35px;
}

.back-to-top:hover {
    
    background-color: red;
    color: #eaeaea;
    transition: 0.2s ease-out;
}

@media (max-width:800px) {
    
    .contact-inputs {
        width: 80vw;
    }
    .contact-right {
        display: none;
    }
}


/*KEYFRAMES ANIMATION */

@keyframes slideRight {
    
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
        100% {    
         transform: translateX(0);
            opacity: 1;
    }
}

@keyframes slideLeft {
    
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
        100% {    
         transform: translateX(0);
            opacity: 1;
    }
}


@keyframes slideTop {
    
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    
        100% {    
         transform: translateY(0);
            opacity: 1;
    }
}

@keyframes slideBottom {
    
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    
        100% {    
         transform: translateY(0);
            opacity: 1;
    }
}


@keyframes slideSci {
    
    0% {
        transform: translateX(100px) rotate(45deg);
        opacity: 0;
    }
        100% {    
         transform: translateX(0) rotate(45deg);
            opacity: 1;
    }
}

@keyframes rhombus2 {
    
    0% {
       right: -40%;
        opacity: 0;
    }
        100% {    
         right: -25%;
            opacity: 1;
    }
}
    
    /*Responzivní menu */

@media (max-width:1440px){
    
    .rhombus {
       width: 370px;
        height: 700px;
        
    }
      .social-media a i {
        font-size: 30px;
        color: darkred;
    }
    
       .pronajem-box{
        width:100%;
    }
}
@media (max-width:1024px){
    header, header ul, header ul li{
        width: 100%;
        
    }
    
    header.sticky {
        
        padding: 3px;
        
    }
  
    .rhombus {
        display: none;
    }
    
    .social-media a i {
        font-size: 27px;
        color: darkred;
    }
    
    .home {
        text-align: left; 
        padding: 10px 80px;
    }
    
      .pronajem-box{
        width:100%;
    }
}


@media (max-width: 800px){


     .title-text h1 {
        
        font-size: 40px;
    }
    
    .title-text p {
        font-size: 30px;
    }
    
    
    .pronajem_ h1 {
        
        font-size: 20px;
        text-align: center;
        margin-left: 40px;
    }
    
    .pronajem_text p {
        
        font-size: 15px;
        margin-left: 90px 10px;
    }
            
    .button2 {
        font-size: 14px;
        margin-left: 70px;
      
    }  
}

@media screen and (max-width: 500px) {
    
    .slider {
       display: none; 
    } 
    
  header  {
    margin: 0px;
    padding: 2px;
    float: none;
    display: block;
    text-align: center;
  }
    
  header {
    float: none;
  }
    
    header ul li {
        
        margin-top: 10px;
    }
    
    header ul li a {
        
        margin: 0px;
    }
    
    
    .logo {
        display: none;
    }
    
    .onMobile {
        display: none;
    }
    
    .social-media a {
        
        display: none;
    }
}
        
    @media (max-width: 425px){
        
         #sluzby h1{
            
            font-size: 25px;
        }
        
        .contact-title h2 {
            
            font-size: 25px;
        }
                  
       .home-text h1 {
            font-size: 35px;
        }
        
        .home-text h3 {
            font-size: 30px;
        }
        
        .home-text p {
            font-size: 16px;
        }
    }
    
    @media (max-width: 320px) {
         
  header  {
    margin: 0px;
    padding: 2px;
    float: none;
    display: block;
    text-align: center;
  }
    
  header {
    float: none;
  }
    
    header ul li {
        
        margin-top: 10px;
    }
    
    header ul li a {
        
        margin: 0px;
    }
    
    
    .logo {
        display: none;
    }
    
    .onMobile {
        display: none;
    }
    
    .social-media a {
        
        display: none;
    }
           
       .home-text h1 {
            font-size: 23px;
        }
        
        .home-text h3 {
            font-size: 20px;
        }
        
        .home-text p {
            font-size: 16px;
        }
        
       
    .pronajem_ h1 {
        
        font-size: 20px;
        text-align: center;
        margin: 0;
        margin-right: 80px;
    }
    
    .pronajem_text p {
        
        font-size: 16px;
        margin-right: 70px;
        text-align: left;
    }
        
    .pronajem_icon {
        
        display: none;
    }
    
    
    .button2 {
        font-size: 13px;
        margin: 0;
        margin-right: 80px;
      
    }  
        
        
        .title-text h1 {
            font-size: 30px;
        }
        .title-text p {
            font-size: 25px;
        }
        
        #sluzby h1{
            
            font-size: 30px;
        }
        
        .contact-title h2 {
            
            font-size: 30px;
        }
        
    }