body{
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background-color: #F4F6F7;
}
html{
    scroll-behavior: smooth;
}
@keyframes fadeIn{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
section{
    animation: fadeIn 0.8s ease;
}
a{
    text-decoration: none;
}
h2{
    font-size: 200%;
}
li{
    text-align: left;
}
header{
    min-height: 8vh;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: #0ea5e9;
    margin: 0;
    color: white;
}
.head{
    justify-self:baseline;
    margin: 5px;
    font-size: 120%;
    font-weight: 600;
    color:  white;
}
.kontakt{
    justify-self: end;
    font-size: 120%;
    padding: 10px;
    margin: 5px;
    color: white;
    font-weight: 600;
    background-color: #27AE60;
    border-radius: 10px;
    transition: 0.3s;
}
.kontakt:hover{
    transform: scale(1.03);
    background-color: #2C3E50;
    color: #27AE60;
}
.onas{
    position: relative;
    background-image: url(tlo.png);
    background-size: cover;
    background-position:right center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 120%;
    padding: 30px;
    margin: 0;
    color: white;
}
.opis{
    text-align: center;
    font-weight: 550;
}
.onas::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.onas *{
 position: relative;
 z-index: 1;
}
.uslugi{
    text-align: center;
    margin: 80px 40px;
}
.kontener-uslugi{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    
}
.usluga{
    text-align: center;
    padding: 5px;
    margin: 10px;
    background-color: #FFFFFF;
    border-radius: 10px;
    font-size: 110%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.kontener-dlaczego{
    display: flex;
    justify-content:space-around;
    align-items: center;
    text-align: center;
    margin: 10vh;
}
.opinia{
    text-align: center;
    padding: 10px;
    margin: 10px;
    background-color: #FFFFFF;
    border-radius: 10px;
    font-size: 110%;
}
.dlaczego{
    padding: 20px;
    border: 1px solid  #2C3E50;
    border-radius: 10px;
}
.prace{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.prace div{
    position: relative;
    width: 70%;

}
.prace img{
    width: 80%;
}
.prace button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 10px 15px;
    background-color: hsla(0, 0%, 0%, 0.37);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 200%;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    outline: 0;
    text-align: center;
    z-index: 2;
} 
.lewo{
        left: 0%;
    }
    .prawo{
        right: 0%;
    }
.kontakt2{
    background-color: #FFFFFF;
    font-size: 150%;
    margin: 30px;
    padding: 15px;
    background-color: #27AE60;
    text-decoration: none;
    display: flex;
    justify-content: center;
    border-radius: 15px;
}
#_kontakt{
    color: white;
    transition: 0.2s;
}
#_kontakt:hover{
    transform: scale(1.02);
}
footer{
    min-height: 8vh;
    background-color: #0ea5e9;
     color: white;
     grid-template-columns: 1fr 1fr;
     display: grid;
}
.glowna{
     display: flex;
     justify-content: space-between; 
}
footer img{
    height: 30px;
    width: auto;
    transition: 0.3s;
}
footer img:hover{
    transform: scale(1.1);
}
.nazwa{
    font-size: 110%;
}
.cta{
    color: white;
}
.kontaktowy{
    float: left;
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 5px;
}
#socjale{
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
    float: right;
}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
form{
    text-align: center;
    padding: 30px;
    margin: 10px;
    background-color: #2C3E50;
    border-radius: 30px;
    color: white;
}
input{
    margin: 15px;
    border: none;
    padding: 5px;
    background-color:  #2C3E50;
    border-bottom: 2px solid white;
    border-radius: 2px;
    transition: 0.2s;
    color: white;
}
input::placeholder{
    color: white;
}
input:focus{
    transform: scale(1.05);
}
button{
    padding: 10px;
    margin: 10px;
    font-size: 90%;
    background-color: white;
    border: 1px solid white;
    border-radius: 2px;
}
textarea{
    height: 30vh;
    width: 40vw;
    resize: none;
    overflow: auto;
    border: 1px solid white;
    border-radius: 2px;
}
.powrot{
    font-size: 120%;
    color: white;
    margin: 25px;
    font-weight: 650;
}
@media (max-width: 768px){
    header{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .onas{
        background-size: cover;
        background-position:  right center;
        background-repeat: no-repeat;
        min-height: 40vh;
        text-align: center;
    }
    .uslugi{
        margin: 30px;
    }
    .kontener-uslugi{
        display: flex;
        flex-direction: column;
    }
    .usluga{
        margin: 15px;
    }
    .kontener-dlaczego{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;

        width: 80%;
        margin: auto;
    }
    .dlaczego{
        padding: 25px;
        margin: 15px;
        min-width: 90%;
    }
    .opinie{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    .opinia{
        padding: 25px;
        margin: 15px;
    }
    .prace img{
    width: 100%;
    }
    .lewo{
        left: 0%;
    }
    .prawo{
        right: 0%;
    }
    .prace button {
    font-size: 1rem;
    background-color: hsla(0, 0%, 0%, 0.24);
    width: 3rem;
    height: 3rem;
    } 
    .kontakt2{
        text-align: center;
        font-size: 100%;
    }
    form{
    text-align: center;
    padding: 10px;
    margin: 5px;
    background-color: #2C3E50;
    border-radius: 30px;
    color: white;
    }
    textarea{
    height: 15vh;
    width: 40vh;
    resize: none;
    overflow: auto;
    border: 1px solid white;
    border-radius: 2px;
    }
}