head {
    background-color: rgb(66, 135, 245);  
}

body {
    background-color: rgb(47, 47, 47);   
}

.efekty a {
    position: relative;
    cursor: pointer;
    color: white;
    font-size: 28px;
    padding: 0.5rem 1rem;
    transition: color 0.25s;
}

.efekty a::after {
    position: absolute;
    content: "";
    inset: 0;
    background: #233dff;
    scale: 1 0;
    z-index: -1;
    transition: 0.45s;
    border-radius: 10px; 
}

.efekty a:hover::after {
    scale: 1 1;
}

.uvodni {
    color: white;                             
    background-color: rgba(47, 47, 47, 0.8);  
    padding: 20px;                           
    margin-top: 20px;                             
    font-size: 16px;                          
    line-height: 1.5;                             
    text-align: left;                         
}
.uvodni ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rok-box {
    background-color: darkblue;  
    color: white;               
    padding: 5px 10px;           
    border-radius: 5px;          
    display: inline-block;       
    margin-bottom: 5px;          
    font-size: 20px;             
    font-weight: bold;           
}

.obsah {
    display: flex;                          
    align-items: center;                    
    margin: 20px auto;                      
    background-color: white;                  
    padding: 15px;                          
    border-radius: 8px;                     
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width: 100%;                             
    max-width: 100%;
    box-sizing: border-box;                 
}

.obsah-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
}

.obsah-text .additional-link:first-of-type {
    margin-top: 20px;
}

.obsah img {
    width: 250px;              
    height: auto;              
    margin-right: 50px;        
    border-radius: 8px;        
}

.obsah p {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;             
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: white;
}

.youtube,
.printables-link {
    display: flex;            
    align-items: center;      
    text-decoration: none;    
}

.youtube .youtube-logo,
.printables-link .printables-logo {
    width: 16px;              
    height: auto;             
    margin-right: 10px;           
    vertical-align: middle;   
}

.youtube .youtube-text,
.printables-link .printables-text {
    font-size: 15px;          
    color: #233dff;           
    transition: color 0.25s;   
}

.youtube:hover .youtube-text,
.printables-link:hover .printables-text {
    color: gray;
}

.additional-link {
    display: block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 0;
}
.additional-link::before {
    content: "";
}

.additional-link a {
    display: block;
    margin-bottom: 10px;
}
.additional-link a:last-child {
    margin-bottom: 0;
}

.additional-title {
    font-size: 15px;
    color: #333;
    vertical-align: middle;
    margin-right: 10px;
}

.model-link {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.25s;
}
.model-link:hover {
    color: gray;
}

.roky {
    color: darkblue;
    font-weight: bold;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .banner img {
      width: 100%;
      height: auto;
    }
    .obsah {
      flex-direction: column;
      align-items: center;
      width: 95%;
      text-align: left;
    }
    .obsah img {
      margin-right: 0;
      margin-bottom: 15px;
      width: 100%;
      max-width: 250px;
    }
    .efekty a {
      font-size: 14px !important;
      padding: 0.2rem 0.8rem !important;
    }
    .obsah p {
      font-size: 10px;
    }
    .rok-box {
      font-size: 10px;
    }
    .uvodni {
      width: 95%;
      text-align: left;
      font-size: 14px;
    }
    .rok-text {
      width: 85%;
      text-align: left;
      padding-right: 15px;
      box-sizing: border-box;
    }
    .rok-text li {
      font-size: 10px;
    }
    .youtube .youtube-text,
    .printables-link .printables-text {
      font-size: 13px;
    }
}
