@font-face {
    font-family: 'PixelDigivolve';
    src: url('../font/PixelDigivolve.otf') format('truetype');
}
@font-face{
    font-family: 'PLANK_';
    src: url('../font/PLANK___.TTF');
}
@font-face{
    font-family:'Conthrax';
    src: url('../font/Conthrax.otf');
}
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
:root{
 --kolor-glowny: #6C8CE3;
    --kolor-uzupelniajacy: #F37CCC;
    --kolor-jasny: #EEF6F9;
    --kolor-sredni: #AAD5F5;
    
}
*{
     box-sizing: border-box; 
    transition: 500ms;
}
html{
    scroll-behavior: smooth;
    font-size: 10px;
}
body{
    font-family: "Lato", sans-serif;

    background-color: var(--kolor-sredni);
    background-image: url(../img/pattern.png);
    background-size: 50px;
}
a{
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;

    display: block;
}

p{
    font-size: 1.4rem;
    line-height: 140%;
    /* background-color: #EEF6F9; */
    padding: 10px;
    /* border-radius: 10px; */
}
h1, h2, h3, h4, h5, h6{
    
}
h1{
   font-family: 'PixelDigivolve';
   font-size: 9.6rem;
}
h2{
font-family: 'PLANK_';
font-size: 4rem;
-webkit-text-stroke: 2px black;
    color: white;
}
h3{
    font-family:'Conthrax';
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
}
h4{
    font-size: 20px;
    margin-bottom: 2rem;
}
h5{
    padding: 1rem;
    text-align: center;
}
img{
    display: block;
}

.login{
    background-color: var(--kolor-uzupelniajacy);
}

#logo{
    font-family:'PixelDigivolve';
    font-size: 4rem;
}
nav{
    color: #EEF6F9;
    position:fixed;
    width: 100%;
    padding: 10px;
    
    display: flex;
    justify-content: center; 
    
    z-index: 999;
    opacity: .9;
}
nav .zawartosc{
    display: flex;
    justify-content: space-between;
    background-color: var(--kolor-glowny);
    border-radius: 2rem;
    padding: .5rem .5rem .5rem 1.5rem;
}
nav .zawartosc ol{
    color: var(--kolor-jasny);
    list-style-type:none;
    /* max-width: 1200px; */
    /* width: 100%; */
    display: flex;
    justify-content:right;
    gap: 10px;
}
nav input[type=submit]{
    color: #fff;
    border: none;
    border-radius: 50px;
}
nav ol li a:hover{
    background-color: var(--kolor-jasny);
    color:#6C8CE3;
}
nav ol li a{
    padding: 10px;
    border-radius: 50px;
}
nav ol li a{}
nav ol li a:hover{}

/*NAWIGACJA MOBILE*/
.mlogo{
    font-family: 'PixelDigivolve';
   font-size: 3.6rem;
   display: none;
   padding: 2rem;
   padding-right: 30rem;
}
.nawigacja{
    background-color: var(--kolor-glowny);
    position: fixed;
    color: var(--kolor-jasny);

    z-index: 6;
    opacity: .9;
}
.burger{
    background-color: var(--kolor-uzupelniajacy);
    color: var(--kolor-jasny);
    border-radius: 50px;
    

    position: fixed;
    right: 2rem;
    top: 2rem;

    font-size: 2rem;
    padding: .8rem;

    cursor: default;
    cursor: pointer;

    display: none;
}
.burger:hover{
    background-color: var(--kolor-jasny);
    color: var(--kolor-glowny);
}
.nakladka{
    background-color: var(--kolor-glowny);
    position: fixed;
    right: 0;
    height: 100%;
    width: 0;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 6;

}
/*.zamknijX{
    background-color: var(--kolor-uzupelniajacy);
    color: var(--kolor-jasny);
    border-radius: 1rem;

    position: absolute;
    top: 2rem;
    right: 2rem;

    font-size: 3rem;
    padding: .3rem 1rem;

    cursor: pointer;
}
.zamknijX:hover{
    background-color: var(--kolor-jasny);
    color: var(--kolor-glowny);
}*/
.nakladka ol{
    /*background-color: red;*/
    width: 100%;
    z-index: 1;
}
.nakladka ol li{
    /*background-color: aqua;*/
    z-index: 1;
}
.nakladka ol li a{
   /* background-color: yellow;*/
    display: block;
    text-align: center;
    text-decoration: none;

    color: var(--kolor-jasny);
    font-size: 2rem;
    padding: 1rem 0;

    margin-bottom: 2vh;
    z-index: 1;
}
.nakladka ol li a:hover{
    background-color: var(--kolor-jasny);
    color: var(--kolor-glowny);
    z-index: 1;
}

/* BUTTON */
.button{
    display: none;
    font-family:'Conthrax';
    font-size: .5rem;
    background-color: var(--kolor-uzupelniajacy);
    color: var(--kolor-jasny);
    border-radius: 20px;

    
    right: 2rem;
    top: 2rem;

    font-size: 2rem;
    padding: 1rem;

    cursor: default;
    cursor: pointer;
}
.button:hover{
    background-color: var(--kolor-jasny);
    color: var(--kolor-glowny);
}

/* POPUP */
.popup{
display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--kolor-uzupelniajacy);
  padding: 40px;
  border-radius: 10px;

}
.okno-pop-up {
    color: rgb(0, 0, 0);
    background-color: var(--kolor-uzupelniajacy);
    
}
.zamknij{
  background-color: var(--kolor-glowny);

  position: absolute;
  top: 10px;
  right: 10px;

  width: 3rem;
 height: 3rem;
  font-size: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: .5rem;
  cursor: pointer;
  font-weight: bold;
}
.zamknij:hover{
    background-color: var(--kolor-uzupelniajacy);
    color: var(--kolor-jasny);
}

/* WSZYSTKIE SEKCJE */
section{
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 20px;
    /* scroll-margin-top: 0px; */
}
.zawartosc{
    max-width: 1400px;
    width: 100%;
   /* background-color: red; */
}
section img{
    max-width: 100%;
    height: auto;
    display: block;
}

/* POSZCZEGÓLNE SEKCJE */
#pierwsza{
    background-image: url(../img/plama.png);
    background-repeat: no-repeat;
    background-position: 40px;
    padding-top: 120px;
}
#pierwsza .zawartosc{
    display: flex;
    gap: 10vw;
    align-items: center;
    justify-content: center;
    position: relative;
}
.glowny{
    z-index:5 ;
}
.text{
    z-index: 4;
    max-width: 400px;
    background-color: #EEF6F9;
    border-radius: 10px;
}

.david{
    z-index: 3;
    align-items: center;
    position: absolute;
}
.david:hover{
    transform: translateX(50px) translateY(150px) scale(1.2);
}
.slonce{
    z-index: 2;
    right: 20%;
    top: -20%;
    position: absolute;

}
.slonce:hover{
    transform: translateX(-00px) translateY(00px) scale(2);
}
.palm{
    z-index: 1;
}
.palm:hover{
    transform: translateX(-100px) translateY(-100px) scale(1.2);
}




#druga{
   background: url(../img/gradient1.png) center bottom;
   background-repeat: repeat-x;
}

#druga .zawartosc{
    display: flex;
    gap: 10vh;
    align-items: flex-start;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 100px 0 100px;
    
}
#druga article{
    flex: 0 1 300px;
    /* background-color: yellow; */
}
#druga article main{
    background-color: #EEF6F9;
    /* padding: 10px; */
    border-radius: 10px;
    /* max-width: 300px; */
}

.animacja-okno{
    height: 600px;
    aspect-ratio: 1/1;
    background-color: var(--kolor-uzupelniajacy);
    animation: oknoAnimacja 2s infinite alternate linear;
}
@keyframes oknoAnimacja {
    0%{
        background: url(../img/window.png) no-repeat center;
         background-size: contain;
    }
    50%{
        background: url(../img/window.png) no-repeat center;
         background-size: contain;
    }
    51%{
        background: url(../img/window2.png) no-repeat center;
         background-size: contain;
    }
    100%{
        background: url(../img/window2.png) no-repeat center;
         background-size: contain;
    }
}



#trzecia .zawartosc{
   /* display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 100px 0 100px;*/
    display: flex;
    gap: 10vh;
    align-items: flex-start;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 100px 0 100px;
   
}
#trzecia img{
size: 60vw;
}

#trzecia article main{
background-color: #EEF6F9;
border-radius: 10px;
}
#trzecia article{
flex: 0 1 300px;
}

#czwarta{
    
}
#czwarta article main{
 background-color: #EEF6F9;
border-radius: 10px;
margin-left: 5vw;
margin-right: 5vw;
}

#czwarta .zawartosc{
   justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
   width: 100vw;
}





#piata{
    background: url(../img/gradient2.png) center bottom;
    background-repeat: repeat-x;
    padding: 0;
}
#piata h3{
    padding: 20px;
}
.scroll{
    /* background-color: yellow; */
    width: 100%;
    padding: 100px;
    display: flex;
    align-items: center;
    gap: 40px;

    overflow-x: scroll;
}
.scroll img{
    /* aspect-ratio: 1/1; */
}

#stopka .social ul {
    display: flex;
    /* flex-wrap: wrap; */
    /* justify-content:center; */
    align-items: stretch;
    gap: 10px;
}

.icon1{
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    background-image: url(../img/facebookicon.png);
    background-size: cover;
    background-position: center;
    transition: background-image 0.3 ease;
}

.icon1:hover {
   transform: scale(1.2);   
}
.icon2{
    width: 40px;
    height: 40px;
    background-image: url(../img/instagram.png);
    background-size: cover;
    background-position: center;
    transition: background-image 0.3 ease;
}
.icon2:hover {
   transform: scale(1.2);   
}
.icon3{
    width: 40px;
    height: 40px;
    background-image: url(../img/xicon.png);
    background-size: cover;
    background-position: center;
    transition: background-image 0.3 ease;
}
.icon3:hover {
   transform: scale(1.2);   
}

#stopka{
    min-height: 20vh !important;
    color: #EEF6F9;
    background-color: #6C8CE3;
    min-height: 40vh;
    padding: 60px 20px;
    background-image:url(../img/patternstopka.png);
    background-size:  100px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}
#stopka .zawartosc{ 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:20px
}
form article{
    padding: 20px;
}


.naglowek{
    font-family:'Conthrax';
    color: var(--kolor-jasny);
    background-color: var(--kolor-uzupelniajacy);
}
form{ 
background-color: #F37CCC;
color: #F3EADD;
   align-items: center;
    display: flex;
    flex-direction: column;   
     padding: 20px;
    flex: 0 1 280px;
    border-radius: 20px;
        display: flex;
    flex-direction: column;
    padding:20px ;
}
form input{
    background-color: var(--kolor-jasny);
    border: 0;
    width: 200px;
    border-radius: 20px;
    display: block;
    padding: 5px;
     margin-bottom: 1rem;
}
form input:focus{
background-color:var(--kolor-jasny);   
transform: scale(1.1); 
outline: 0;
}
form input[type=submit]{
font-size: 1.6rem ;
width: 8rem;
background-color: #50BBB5;
color: var(--kolor-jasny);
padding: 1rem;
}
form input[type=submit]:hover{
background-color: var(--kolor-jasny);
color: var(--kolor-uzupelniajacy);
}
#stopka ul{
    font-size: 16px;
}
#stopka ul li{
    margin-bottom: 1rem;
}
#stopka ul .icon {
display: flex;
    align-items: stretch;
    gap: 10px;
}

.icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
   
}

.kontener {
    position: relative;
    width: 500px;
    height: 300px;
}

.dzwiek{
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 10rem;
    height: 10rem;
    margin-top: 10rem;

    z-index: 99;
}

#btn{
    background: none;
    border: none;
}

/* RWD */
@media (max-width: 600px){
   
    h1{
        font-size: 15vw;
        text-align: center;
    }
    h2{
        padding: 2rem;
    }
    nav{
        display: none;
    }
    .david{
    width: 50vw;
    z-index: 3;
    align-items: center;
    position: absolute;
    }
    .david:hover{
    transform: translateX(50px) translateY(150px) scale(1.2);
     }
    .slonce{
    width: 40vw;
    z-index: 2;
    right: 10%;
    top: 0%;
    position: absolute;

    }
    .slonce:hover{
    transform: translateX(-00px) translateY(00px) scale(2);
}
.palm{
   
    z-index: 1;
    
    
}
.palm:hover{
    transform: translateX(-100px) translateY(-100px) scale(1.2);
}
    .mlogo{
        display: block;
    }
    .burger{
        display: block;
    }
    .mobile{
        display: none;
    }
    .button{
        display: block;
    }
    form input{
        width: 30rem;
        height: 4rem;
    }
   .naglowek{
    font-size: 2.6rem;
    }
    .animacja-okno{
    height: 450px;
    aspect-ratio: 1/1;
    background-color: var(--kolor-uzupelniajacy);
    animation: oknoAnimacja 2s infinite alternate linear;
    }
    .scroll{
    /* background-color: yellow; */
    width: 50vh;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;

    overflow-x: scroll;
}
    section{
        scroll-margin-top: 0;
    }

    #pierwsza .zawartosc{
        flex-direction: column;
    }
    #druga{
        padding: 2rem 0;
    }
    
    #druga .zawartosc{
    padding: 2rem;
    }

    #druga article{
        flex: 1 1 300px;
    }


    #druga .scroll-x article{
        background-color: var(--kolor-uzupelniajacy);
        padding: 2rem;
        /*flex: 1 1 400px;*/ 
        min-width: 90%; /* najlepsze rozwiązanie w % dla różnych szerokości ekranów smartfonow*/
    }

    #trzecia .zawartosc{
        padding: 0px;
    }
    #trzecia article{
        flex: 1 1 300px;
    }
   #czwarta img{}
    #piata article{
        flex: 1 1 300px;
    }
    #piata .scroll{

    width: 100%;
    gap: 30px;

    flex-wrap: nowrap; 
    align-items: flex-start; 
    justify-content: flex-start; 

    overflow-x: scroll;}

    #stopka ul{
        text-align: center;
    }
    #stopka h4{
        text-align: center;
    }

}

