* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
   
}

body {
    overflow-x: hidden;
    width: 100%;
    animation: show  0.3s ease;
    animation-fill-mode: forwards;
}
@keyframes show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


header {
   padding: 1em;
}

header ul {
    display: flex;
    justify-content: center;
    gap: 2vw;
    align-items: center;
    list-style: none;
}

header ul img {
    width: 2vw;
    transition: ease-out .5s;
}

header ul img:hover {
    filter: invert(100%) sepia(100%) saturate(0%) brightness(100%) contrast(0%);
    fill: #e4405f;
}

.img {
    display: flex;
    justify-content: center;
}

header .img img {
    width: 7.5vw;
    margin-top: 1vh;
}

nav {
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1vw;
    z-index: 20;
    margin-top: 1vw;
    position: sticky;
    transition: .3s ease-out;
    background-color: #dc262b;
}

nav ul {
    display: flex;
    gap: 3vw;
    align-items: center;
    list-style: none;
}

nav ul a,
nav ul li {
    text-decoration: none;
    color: #fcfcfc;
    transition: .3s ease-out;
    font-size: 1.1em;
}

nav ul a:hover,
nav ul li:hover {
    color: #07294c;
    cursor: pointer;
}

#menu {
    display: none;
    margin-right: auto;
}

.more {
    width: 0;
    margin-right: 0;
}

.more ul {
    display: none;
    flex-direction: column;
    z-index: 20;
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 5vh;
    margin-top: 1em;
    background-color: #dc262b;
    padding: 1em;
}

.more ul.show {
    display: flex;
    animation: wysun 0.2s ease-in-out;
}

.closed {
    animation: wsun 0.2s ease-in-out;
}

@keyframes wysun {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes wsun {
    0% {
        display: block;
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        display: none;
        opacity: 0;
    }
}

.cdiv {
    position: fixed;
    right: 0;
    left: 0;
    margin: 1vw auto;
    height: 30vw;
    padding: 1em;
    width: 35vw;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 100vw 100vh rgba(0, 0, 0, 0.29);
}

.cdiv .close {
    position: relative;
    width: 10vw;
    z-index: 10;
    background-color: #dc262b;
    cursor: pointer;
}

main #powiedzenie {
    font-family: "Grape Nuts", cursive;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

main .trenerzy h1,
main .trenerzy h2 {
    margin: 1vw;
    text-align: center;
    color: #dc262b;
}

main .trenerzy h1 {
    font-size: 2vw;
}

main .trenerzy h2 {
    font-size: 20px;
}

.trenerzy {
    background-color: #f9f9f9;
    padding: 2em;
}

.trenerzy .container {
    display: flex;
    gap: 1vw;
    margin: 5vh 0;
    justify-content: center;
}

.container .trainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    transition: 1s ease;
    animation: show  1s ease;
}

.container .trainer a img {
    width: 100%;
    height: 25vw;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.container .trainer p {
    width: 60%;
    padding: 1em;
    text-align: center;
}

.nabory {
    width: 100%;
    margin: 0 auto;
    background: url(../url/nabor.jpg) no-repeat center/cover;
    height: 120vh;
    display: flex;
   align-items: center;
    justify-content: end;
    position: relative;
    
}

.nabory .content {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    width: 50%;
    padding: 1em;
    border-radius: 1em;
    min-height: 30vw;
    /*margin-top: 10vh;*/
    margin-right: 5%;
    animation: rAnim 0.5s ease-out;
    color: white;
    font-size: large;
}
@keyframes rAnim {
    0% {
        transform: translateX(+10%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
    
}
@keyframes upAnim {
    0% {
        transform: translateY(+10%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    
}

.nabory .btn {
    background-color: #dc262b;
    padding: 1em;
    cursor: pointer;
    color: white;
    border: none;
    margin-top: 1vw;
    margin-right: 1vw;
    border-radius: 1em;
    transition: .3s ease-out;
}

.nabory .btn:hover {
    background-color: #9e1c22;
}

.nabory a {
    font-size: 0;
}

.gallery {
  max-width: 1400px;    
  margin: 0 auto;
  padding: 20px;
}

.gallery_content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation-fill-mode: forwards;
}

.gallery_content img {
  width: calc(25% - 10px); 
  cursor: pointer;
  object-fit: cover;      
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition:  0.3s ease;
}

.gallery_content img:hover {
  transform: scale(1.05);
}

#galeria h1{
    text-align: center;
    color: #dc262b;
    font-size: 50px;
}
@media (max-width: 1200px) {
  .gallery_content img {
    width: calc(33.33% - 10px);
  }
}

@media (max-width: 768px) {
  .gallery_content img {
    width: calc(50% - 10px);
  }
}

.modal_container{
    animation: show 0.2s linear;
}


#showMore {
    padding: 1em;
    border: none;
    background-color: #dc262b;
    color: white;
    height: 20%;
    margin-top: 10%;
    border-radius: 1em;
    transition: .3s ease-out;
    cursor: pointer;
}

#showMore:hover {
    background-color: #9e1c22;
}

footer {
    margin-top: 10vh;
    padding: 1vw;
    background-color: #07294c;
    color: white;
}

footer .content {
    width: 85%;
    display: flex;
    margin: 0 auto;
    align-items: center;
    gap: 2vw;
    justify-content: center;
    flex-wrap: nowrap;
}

footer .content .all {
    display: flex;
}

footer .content .all h2 {
    color: red;
    font-size: 1.8vw;
    text-align: center;
}

footer .content img {
    width: 12vw;
}

footer .content .przenosniki {
    display: flex;
    align-items: start;
    gap: 5vw;
}

footer .content .przenosniki ul {
    list-style: none;
}

footer .content .przenosniki ul a,
footer .content .przenosniki ul li {
    text-decoration: none;
    color: white;
    font-size: 1vw;
    transition: .3s ease-out;
}

.content .all h2 {
    font-size: 1.1vw;
    color: #dc262b;
}

footer .content .przenosniki ul a:hover,
footer .content .przenosniki ul li:hover,
.kontakt li p a:hover {
    color: #dc262b;
}

footer .content .social ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .3vw;
}

footer .content .social ul li {
    display: flex;
    gap: 0.2vw;
    align-items: center;
}

footer .content .social .imgs {
    display: flex;
    justify-content: center;
    gap: 1em;
    align-items: center;
}

footer .content .social img {
    width: 2vw;
    transition: .5s ease-out;
}

footer .content .social img:hover {
    filter: invert(100%) sepia(100%) saturate(0%) brightness(100%) contrast(0%);
}

.grafik,
.kontakt {
    list-style: none;
}

.kontakt li p a {
    color: white;
    transition: .3s ease-out;
}

.card {
    display: flex;
    z-index: 9999999999;
    flex-direction: column;
    align-items: center;
    width: 50%;
    border-radius: 1em;
    margin: 0 auto;
    color: white;
    padding: 10px;
    background-color: rgba(0, 0, 0);
     position: fixed;
 	 top: 50%;
 	 left: 50%;
  transform: translate(-50%, -50%);
    -webkit-box-shadow: 0px 0px 100vw 100vh rgba(0, 0, 0, 0.29);
    -moz-box-shadow: 0px 0px 100vw 100vh rgba(0, 0, 0, 0.29);
    box-shadow: 0px 0px 100vw 100vh rgba(0, 0, 0, 0.29);
    animation: show 0.7s ease;
}



.card .avatar {
    height: 20vw;
    border-radius: 1em;
}

.card img.close {
    width: 2vw;
    margin-left: auto;
    cursor: pointer;
}

.card p {
    width: 80%;
    color: #fff;
}

.card h3 {
    font-size: 2vw;
    padding: 1em;
}

.log_panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
}

.log_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5em;
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.3); 
    border-radius: 1.5em;
    gap: 1.5em;
    width: 50%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.log_input {
    padding: 0.7em;
    width: 75%;
    border-radius: 5px;
    background-color: silver;
    border: none;
    transition: 0.3s ease-out;
}

.log_input::placeholder {
    color: black;
}

.log_input:focus {
    background-color: rgb(209, 207, 207);
    outline: none;
}

.log_btn {
    padding: 1em;
    width: 50%;
    background-color: #dc262b;
    color: white;
    border: none;
    border-radius: 1em;
    transition: .3s ease-out;
}

.log_btn:hover {
    background-color: darkred;
}

#upload_section {
    display: none;
}

.gallery_upload {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin: 0 auto;
    width: 70%;
    padding: 2.5em;
    margin-top: 10vh;
    background-color: rgb(121, 121, 121);
    border-radius: 1em;
}

.gallery_upload input[type="file"] {
    padding: 1em;
    background-color: rgb(209, 207, 207);
    border-radius: 1em;
    border: none;
    transition: 0.3s ease-out;
}

.gallery_upload input[type="file"]:focus {
    background-color: rgb(209, 207, 207);
    outline: none;
}

#upload_btn {
    padding: 1em;
    background-color: #dc262b;
    color: white;
    border: none;
    border-radius: 1em;
    transition: 0.3s ease-out;
    cursor: pointer;
}

#upload_btn:hover {
    background-color: darkred;
}
