@import url('https://fonts.googleapis.com/css2?family=Knewave&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; 
    object-fit: cover;
    filter: brightness(40%); 
}

.calosc {
    height: 90%;
    width: 30%;
    margin: 50px auto 0 auto; 
    z-index: 2;
    border: 1px solid grey;
    border-radius: 10px;
    overflow: hidden; 
    position: relative;
    background: #0F2027;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    
}

.baner {
    width: 100%;
    height: 20%; 
    background-color: black;
}

.film {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo{

    width: 80px;
    height: 80px;

}
.logo img{

    width: 100px;
    height: 100px;
    z-index: 4;
    border-radius: 50px;
    margin-top: -90px ;

}

.nick{

    margin-top: -45px;
    font-family: "Knewave", sans-serif;
    letter-spacing: 1px;
    color:white;
    margin-left: 5px;

}

.separator{

    margin-top: 10px;
    height: 2px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2c3e50, #bdc3c7);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2c3e50, #bdc3c7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}

.skils{

    font-family: "Knewave", sans-serif;
    letter-spacing: 1px;
    color:white;
    margin-left: 5px;
    font-size: 25px;

}

.poleSkils{

    display: flex;      
    flex-wrap: wrap;     
    gap: 15px;           
    padding: 20px;
    justify-content: flex-start; /

}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    width: 130px;        
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s; /* Delikatna animacja przy najechaniu */
}

.zdobione{

    width: 40px;
    height: 40px;
    margin-top: -15px;

}

.skill-card:hover{

    transition-duration:0.7s ;
    transform: scale(1.1);

}

.cm{

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid gray;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    height:80px;
    

}

.dcLogo{

    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 10px;
    margin-left: 10px;
    float: left;
    
}

.dcNazwa{

    float: left;
    color: white;
    margin-top: 20px;
    margin-left: 15px;
    font-family: "Audiowide", sans-serif;
    
}

.dolacz{

    border: 1px solid rgba(255, 255, 255, 0.2);
    background: none;
    border-radius: 10px;
    width: 80px;
    height:40px;
    color:white;
    margin-top: 15px;
    float: right;
    margin-right: 10px;

}

.dolacz:hover{

    transition-duration: 0.7s;
    border: 2px solid rgba(28, 174, 223, 0.2);
    background: rgba(5, 168, 243, 0.1);
    transform: scale(1.08);
}
/* do wyjebania */

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.7;
}

.nav-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

.main-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    font-family: sans-serif;
}

@media screen and (max-width: 720px) {
    .calosc {
        width: 90%; /* Zamiast np. 30%, żeby na telefonie karta była szersza */
        height: 95%;
        overflow-y: visible;

    }

    .logo img{

        width: 100px;
        height: 100px;
        z-index: 4;
        border-radius: 50px;
        margin-top: -90px ;

    }
    
    .poleSkils {
        grid-template-columns: repeat(2, 1fr); /* Układa ikonki w 2 kolumnach zamiast w rzędzie */
    }
}