/*Black #191716*/

/*White #e0e2db*/

/*Yellow #e6af2e */

/*Grey #beb7a4*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}

a, a:visited, a:active
{
  text-decoration: none;
  color: rgb(49, 48, 48);
}

/*nav*/

.scrollup{
  width: 64px;
  text-decoration: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  opacity: 0.5;
}

#navbar
{
  display: grid;
  grid-template-columns: 30% 70%;
  height: 90px;
  background: #fcfcfc;
  font-family: 'Lato';
  font-weight: 300;
  border-bottom: 1px solid rgb(206, 204, 204);
}

br
{
  line-height: 1px;
}

#menu
{
  position: absolute;
  right:40px;
  background: #fcfcfc;
  z-index: 1;
  width: auto;
  
}

.logo {
 transition: cubic-bezier(0.075, 0.82, 0.165, 1);
 width: 100%;
 align-items: center;
 justify-items: center;
}


ul {
  background: darkorange;
    list-style: none;
    margin: 0;
    padding-left: 0;
    
}

li {
    color: rgb(49, 48, 48);
    background: #fcfcfc;
    display: block;
    float: left;
    padding: 20px 30px 20px 30px;
    position: relative;
    text-decoration: none;
    text-align: center;
    transition-duration: 0.5s;
    line-height: 49px;
    margin: 0;
}
  
li a {
    color: rgb(27, 27, 27);
}

ul li ul li:hover{
  background: #ffd740;
}
li:hover,
li:focus-within {
    background: #659dc9;
    cursor: pointer;
}

li:focus-within a {
  outline: none;
}

ul li ul {
    visibility: hidden;
    opacity: 0.7;
  width: 210px;
    height: 10px;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 21px;
    left: 0;
    display: none;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
  visibility: visible;
  opacity: 0.7;
  display: block;
}

ul li ul li {
    clear: both;
    width: 100%;
    line-height: 20px;
    text-align: left;
    margin: 0;
}


@media screen and (min-width:576px) {
  nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
  }

  nav ul li {
    flex: 1 0 auto;
  }
  .logo {
    display: block;
    align-self: center;
    justify-self: center;
    padding: 0 0 0 50px;
  }
  .logo .fa {
    display: none;
  }
}

/* end navbar */

/*######################banner#####################*/

#banner {
  min-height: 90vh;
  background: linear-gradient(rgba(245, 246, 247, 0.384), rgba(226, 227, 238, 0.295)),url(images/dziecko.jpeg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  font-size: 50px;
 font-family: 'Raleway';
  color: gray;
  font-weight:200;
  padding: 30px;
  
}
.banner-btn1 {
  display: inline-flex;
  position: absolute;
  bottom: 13vw;
  left: 10vw;
}

.banner-btn2 {
  display: inline-flex;
  position: absolute;
  top: 19vw;
  right: 10vw;
}

button {
  font-size: 20px;
  font-family: 'Raleway';
  font-weight: 200;
  padding: 30px;
  margin: 0 10px;
  background: transparent;
  color: #1d1c1a;
  border: 1px solid #293bdda2;
  border-radius: 1px;
  transition-duration: 2s;
  
}

button:hover {
  color: #1d1c1a;
  background: transparent;
  border: 1px solid #01000c;
  transition: all transform 5s ease-in-out;
  cursor: pointer;

}

/* TYTUŁY SEKCJI */

.title-text-black h1{
  margin: 0;
  padding: 20px 0 40px 0;
  text-align: center;
  font-family: 'Raleway';
  font-weight: 300;
  font-size: 18px;
  color: #555753;
}

.title-text-white h1{
  padding: 20px 0 40px 0;
  margin: 0;
  text-align: center;
  font-family: 'Raleway';
  font-weight: 300;
  font-size: 18px;
  color: whitesmoke;
}

#kontakt h3{
  padding: 20px 0 40px 0;
  text-align: center;
  font-family: 'Raleway';
  font-weight: 300;
  font-size: 18px;
  color: #1d1c1a;
}

.title-text-white .fas{
  font-size: 40px;
  color: #f7f7f7;
  padding: 0 0 15px 0;
}

.fas{
  font-size: 40px;
  color: #555753;
  padding: 0 0 15px 0;
}

/* END TYTUŁY SEKCJI*/


/* O MNIE*/

#omnie{
  padding: 0;
  margin: 0;
  background-color: #659dc9;
}

.omnie-container {

  margin: 0 auto;
  justify-self: center;
  align-self: center;
}

.foto
{
  background: linear-gradient(rgba(198, 238, 245, 0.514), rgba(214, 240, 241, 0.548)),url(images/joanna.jpeg);
  background-position: center;
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
}

.omnie-item {
  padding: 60px 40px 60px 40px;;
  text-align: justify;
  align-self: center;
}

.omnie-item h3 {
  font-family: 'Lato';
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 0;
  color: #fafafa;
  padding: 0 0 10px 0;
}

.omnie-item p {
  font-size: 16px;
  width: auto;
  margin: 0;
  padding: 0;
  color: #fafafa;
}

@media screen and (min-width:400px) {
  .omnie-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width:576px) {
  .omnie-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width:992px) {
  .omnie-container {
    display: grid;
    grid-template-columns: 40% 60%;
  }
}

/* END O MNIE */




/*PIERWSZA WIZYTA */



#pierwsza-wizyta {
  padding: 20px 0 30px 0;
  background-color: #ffffff;
}

.pierwsza-wizyta-container {
  max-width: 60vw;
  margin: 0 auto;
}

.pierwsza-wizyta-item {
  padding: 0 0 80px 0;
}

.ikonki
{
  text-align: center;
  padding: 0 0 40px 0;
  margin: 0;
}


.ikonki-text h4{
  text-align: center;
  font-family: 'lato';
  color: #313131;
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 10px;
}

@media screen and (min-width:400px) {
  .pierwsza-wizyta-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width:576px) {
  .pierwsza-wizyta-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1em;
  }

}

@media screen and (min-width:992px) {
  .pierwsza-wizyta-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 1em;
  }
}

/* END - PIERWSZA WIZYTA */

/* METODY*/

#metody {
  background: linear-gradient(rgba(101, 157, 201, 0.8), rgba(226, 226, 226, 0.5)), url(images/fizjoterapeuta.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px 0 100px 0;
}

.metody-container {
  max-width: 80vw;
  margin: auto auto;
  color: #e0e2db;
}
.metody-item {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  overflow: hidden;
  position: relative;
  padding: 120px 30px 100px 30px;
  border-radius: 3px;
  min-height: 500px;
}

.metody-item .fas {
  font-size: 60px;
  margin-bottom: 30px;
  color: #6d97f1;
}


.front-text {
  text-align: center;
  transition: transform 1s;
  padding: 65px 0 0 0;
}


.back-text {
  position: absolute;
  bottom: -35em;
  width: 90%;
  padding: 40px 0 20px 0;
  transition: bottom 2s;
  text-align: justify;
}

.back-text h1 {
  margin-bottom: 10px;
}



.metody-item:hover .front-text {
  transform: translateY(-250px);
}

.metody-item:hover .back-text {
  bottom: 0;
}


@media screen and (min-width:900px) {

  .metody-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
  }
  .metody-container .metody-item:nth-of-type(1) {
    order: 1;
  }
  .metody-container .metody-item:nth-of-type(2) {
    order: 2;
  }
  .metody-container .metody-item:nth-of-type(3) {
    order: 4;
  }
  .metody-container .metody-item:nth-of-type(4) {
    order: 3;
  }
}
/*END METODY */


/* ARTYKUŁY*/

#posts {
  background: #ffffff;
  padding: 20px 0 80px 0;
}

.post-container {
  max-width: 70vw;
  margin: 0 auto;
  min-height: 400px;
}

.post-item {
  background-color: #fafafa;
  color: #191716;
  margin: 20px 0;
  -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
border-radius: 1px;
}

#posts img {
  width: 100%;
  display: block;
}

.img-container {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));

}

.img-container .fa {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: #e6af2e;
  opacity: 0;
  transition: opacity 1s;
}

.img-container:hover img {
  opacity: 0.4;
}

.img-container:hover .fa {
  opacity: 1;
}


.text-container {
  padding: 10px 5px 30px 5px;
  justify-items: center;
  text-align: center;
}

.text-container p {
  margin: 15px 0 25px 0;
  text-align: justify;
}

.text-container h1 {
  font-family: 'Lato';
  font-weight: 400;
  font-size: 19px;
  text-align: justify;
  text-align: center;
}

.text-container a {
  text-decoration: none;
  text-align: center;
  border-radius: 3px;
  font-size: 15px;
  padding: 5px;
  border: 1px solid #2e2e2e;
  color: #2e2e2e;
  margin-bottom: 20px;
  
}

.text-container a:hover {
  background-color: #72bcf5;
  border-color: #191716;
}

@media screen and (min-width:576px) {
  .post-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1em;
    grid-row-gap: 1em;
  }
}

@media screen and (min-width:992px) {
  .post-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 2em;
    grid-row-gap: 1em;
  }
}

.artykul-tekst {
  font-family: 'Lato';
  font-size: 15px;
  color: #0c0a20;
  text-align: justify;
  margin: 0 auto;
  grid-column: span 3;

}
.artykul-tekst h1{
  padding: 0 0 10px 0;
  font-family: 'Raleway';
  font-weight: 300;
  font-size: 18px;
  color: #0c0a20;
}


/* END - ARTYKUŁY*/


/* LOKALIZACJE */

#lokalizacje .lokalizacje-title-text h1{
  color: #ffffff;
  padding: 0 0 40px 0;
}

#lokalizacje {
  padding: 20px 0 100px 0;
  background-color: #659dc9;
  border-bottom: 1px solid #5a95c2
}

.lokalizacje-container {
  max-width: 60vw;
  margin: 0 auto;

}

.lokalizacje-item {
  position: relative;
  color: #e0e2db;
  position: relative;
}

.ikonki
{
  text-align: center;
  padding: 0 0 20px 0;
  margin: 0;
}

.pinezka
{
  text-align: center;
  padding: 0 0 30px 0;
  margin: 0;
}

.img-text {
  text-align: center;
  display: block;
}

.img-text p{
  font-family: 'lato';
  color: #e9e7e7;
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 10px;
}

.img-text h4{
  font-family: 'lato';
  color: #ffffff;
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 10px;
}

.img-text h6 {
  font-size: 15px;
}



@media screen and (min-width:576px) {
  .lokalizacje-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1em;
  }

}

@media screen and (min-width:992px) {
  .lokalizacje-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 1em;
  }
}

/* END LOKALIZACJE */


/* START OPINIE I KONTAKT*/

#kontakt {
  background: 
  url(images/kontakt.jpeg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px;
  justify-self: center;
  flex-wrap: wrap;
  align-self: center;
 justify-items: self-start; 

}

/*linear-gradient(rgba(255, 255, 255, 0.5), rgba(236, 236, 236, 0.5)), */

.kontakt-container {
  max-width: 70vw;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
}

.znany-lekarz .fas, .formularz .fas {
  font-size: 40px;
  color: rgb(53, 53, 53);
}

.linia
{
justify-self: center;
align-self: center;
}

.opinie, .kontakt{
justify-self: center;
align-self: center;
}

.formularz h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #e0e2db;
}

.formularz button {
  font-size: 30px;
  text-transform: uppercase;
  color: #e6af2e;
  border: 2px solid #e6af2e;
  padding: 10px 15px;
  background: transparent;
}

.formularz button:hover {
  background: #e6af2e;
  color: #191716;
}


form, input, select, textarea {
  margin:0; 
  padding:0; 
  color:#ffffff;
}

.formularz {
  margin:0 auto;
}

.formularz label {
  width:100%;
  display: block;
  padding:10px 0 10px 0;
}

.formularz label span {
  display: block;
  color:#1d1c1ac4;
  font-size:14px;
  font-weight: 400;
  float:left;
  width:100px;
  text-align:right;
  padding:5px 20px 0 0;
}

.formularz .wpis {
  padding:10px 10px;
  width:200px;
  background:transparent;
  border: 2px solid #1d1c1ac4;
  border-radius: 3px;
}

.formularz .wiadomosc {
  padding:7px 7px;
  width:350px;
  background:transparent;
  border: 2px solid #1d1c1ac4;
  border-radius: 3px;
  overflow:hidden;
  height:150px;
  display: block;
}

.formularz .button	{
  margin:10px 0 0 200px;
  padding:10px 10px;
  color: #1d1c1ac4;
  font-size: 14px;
  background:transparent;
  border: 2px solid #1d1c1ac4;
  border-radius: 3px;
  width: 100px;
  display:block;
}


@media screen and (min-width:400px) {
  .kontakt-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width:576px) {
  .kontakt-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width:992px) {
  .kontakt-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}



/* END OPINIE I KONTAKT */



/*############### WSPÓŁPRACA ###############*/


#wspolpraca {
  padding: 10px 0 0 0;;
  background-color: #ffffff;
  border-top: 1px solid rgb(124, 124, 124);
  border-bottom: 1px solid rgb(124, 124, 124);
}

.wspolpraca-container {
  max-width: 90vw;
  margin: 0 auto;
 
}

.wspolpraca-item {
  text-align: center;
  margin: 20px 0;
}

.wspolpraca-item h3 {
  font-family: 'Lato';
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 2px;
  margin: 30px 0;
  color: #313131;
  text-transform: uppercase;
}

.wspolpraca-item p {
  width: 75%;
  margin: 0 auto;
  color: #313131;
}

@media screen and (min-width:400px) {
  .wspolpraca-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width:576px) {
  .wspolpraca-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width:992px) {
  .wspolpraca-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}


/*############### END - WSPÓŁPRACA ###############*/




/*footer*/

footer{
  min-height: 300px;
  padding: 40px 0 60px 0;;
  background-color: #0c0a20;
  margin: 0 auto;
  color: #e0e2db;
}

.footer-container{
  padding: 20px 0;
  justify-content: space-between;
}

.logo-white{
  text-align: center;
  justify-self: center;
  align-self:center;
}

.inne-item{
text-align: left;
justify-self: center;

}

.rodo {
  
  text-align: left;
justify-self: center;

}

.footer-container h3 {
  padding: 0 0 20px 0;
  font-family: 'Lato';
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
}

.responsive{
  text-align: left;
justify-self: center;

}
 
.footer-container p {
font-family: 'Raleway';
font-weight: 400;
font-size: 12px;
padding: 10px 0;

}

.footer p {
  width: 75%;
  margin: 0 auto;
  color: #313131;
}

.inne-item .fas{
  color: #ffffff;
  font-size: 10px;
  
}

@media screen and (min-width:400px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width:576px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width:992px) {
  .footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}