* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    justify-content: center;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    flex-direction: column;
    background-color: transparent;
    font-weight: 500;
}

.background-clip {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.text {
    min-height: 300px;
    justify-content: center;
    margin-top: 20.2rem;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr;
}

.text h1 {
    color: #f39c12;
    display: flex;
    z-index: 2;
    font-size: 5rem;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 500);
    margin-bottom: -1.875rem;
    justify-content: center;
}

.text h2 {
    color: #f39c12;
    display: flex;
    z-index: 2;
    font-size: 2.5rem;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 500);
    margin-bottom: 5rem;
    justify-content: center;
}

.container-text-logo {
    display: flex;
    justify-content: center;
    animation-name: floating-logo;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating-logo {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -15px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.logo {
    z-index: -1;
    width: 500px;
    height: 500px;
    position: absolute;
    grid-row-start: 1;
    grid-column-start: 1;
    transform: translate(-0rem, -25rem);
    text-align: center;
}

.vice {
    width: 380px;
    min-height: 60px;
    background-color: transparent;
    color: white;
    border: 3px solid white;
    border-radius: 20px;
    font-size: 1.75rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    text-decoration: none;
}

.vice:hover{
    background-color: white;
    color: black;
}

#link-dc {
    border: 4px solid rebeccapurple;
    display: flex;
    width: 340px;
    height: 70px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    margin-top: 1.563rem;
    background-color: rebeccapurple;
    text-transform: uppercase;
    font-size: 1.875rem;
    color: white;
    text-decoration: none;
}

#link-dc:hover {
    background-color: #5b2d89;
    border: 3px solid #5b2d89;
}

.footer-main {
    width: 100%;
    background-color: transparent;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    z-index: 100;
    position: absolute;
    bottom: 0%;
}

.footer-main p {
    color: white;
    display: flex;
    font-size: 1.25rem;
}

.footer-left {
    display: flex;
    width: 50%;
}

.footer-right {
    display: flex;
    width: 50%;
    height: 10vh;
    justify-content: end;
    align-items: center;
    margin-left: -5.25rem;
}

#clanek-jedna-jedna, #clanek-jedna-dva, #clanek-jedna-tri, #clanek-dva-jedna, #clanek-dva-dva {
    margin-bottom: 0.938rem;
}

#icon-dc {
    margin-left: 2rem;
    margin-right: 2rem;
}

#icon-ig {
    margin-right: 2rem;
}

#icon-mail {
    margin-left: 2rem;
}
/* Konec hlavního kódu */


/* Phones - portrait */
@media only screen and (max-width: 767px) {
    html, body {
        width: 100%;
        height: auto;
        overscroll-behavior: none;
    }

    .container {
        justify-content: center;
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        font-family: 'Poppins', sans-serif;
        flex-direction: column;
        background-color: none;
        background-image: url(/obrazky/image12.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .background-clip {
        display: none;
    }

    #discord {
        display: none;
    }

    .text {
        height: 100px;
        justify-content: center;
    }
    
    .text h1 {
        color: #f39c12;
        display: flex;
        z-index: 2;
        font-size: 36px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 500);
        width: 380px;
        justify-content: center;
        margin-top: -12px;
    }
    
    .text h2 {
    color: #f39c12;
    display: flex;
    z-index: 2;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 500);
    margin-bottom: 11rem;
    justify-content: center;
    }
    
    .logo {
        width: 250px;
        height: 250px;
        transform: translate(-0rem, -11.6rem);
    }

    .vice {
        display: flex;
        width: 250px;
        min-height: 50px;
        font-size: 1.1rem;
        transform: translate(-0rem, -6rem);
    }

  /*  .vice {
    width: 380px;
    min-height: 60px;
    background-color: transparent;
    color: white;
    border: 3px solid white;
    border-radius: 20px;
    font-size: 1.75rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    text-decoration: none;
}*/

    #link-dc {
        border: 4px solid rebeccapurple;
        display: flex;
        width: 180px;
        height: 40px;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        margin-top: 1.163rem;
        background-color: rebeccapurple;
        text-transform: uppercase;
        font-size: 16px;
        color: white;
        text-decoration: none;
    }
    
    .footer-main {
        width: 100%;
        background-color: transparent;
        display: flex;
        align-items: center;
        font-family: 'Poppins', sans-serif;
        position: absolute;
        bottom: 0%;
    }
    
    .footer-main p {
        display: none;
    }
    
    .footer-left {
        display: none;
        width: 0%;
        margin-left: 0rem;
    }
    
    .footer-right {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    #clanek-jedna-jedna, #clanek-jedna-dva, #clanek-jedna-tri, #clanek-dva-jedna, #clanek-dva-dva {
        margin-bottom: 0.338rem;
    }
    
    #icon-dc {
        margin-left: 2.2rem;
        margin-right: 2.2rem;
    }
    
    #icon-ig {
        margin-right: 2.2rem;
    }
    
    #icon-mail {
        margin-left: 2.2rem;
        margin-right: 0rem;
    }

    #cest {
        display: none;
    }
  }




  /* Phones - landscape 
@media only screen and (max-width: 767px) and (orientation: landscape) {
    html, body {
        width: 100%;
    }

    .container {
        justify-content: center;
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        font-family: 'Poppins', sans-serif;
        flex-direction: column;
        background-color: none;
        background-image: url(/obrazky/Image10.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .footer-main {
        width: 100%;
        height: 15%;
    }
}
  /* Tablets - portrait orientation */
@media only screen and (min-width: 600px) and (max-width: 959px) {
    .text h1 {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 500);

    ul li {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 500);
    }
    
    li span {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 500);
    }
  }
} 

  /* Tablets in landscape orientation */
@media only screen and (min-width: 960px) and (max-width: 1279px) {
    .text h1 {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 500);
    }
  }
