* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

header {
  position: relative;
  background-color: #d16b17;
  height: 100vh;
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto;
}

header > * {
  position: absolute;
}

header img {
  height: 48%;
  bottom: 0;
  right: 0;
}

header div.welcome {
  z-index: 1;
  top: 7%;
  left: 5%;
  right: 5%;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

header h1 {
  margin-top: 15px;
  font-size: 20px;
}

header h2 {
  font-size: 20px;
  font-weight: normal;
}

header button {
  font-weight: 300;
  padding: 10px 15px 10px 15px;
  border-radius: 8px;
  text-transform: uppercase;
  color: white;
  background-color: transparent;
  font-size: 12px;
  border: 2px solid white;
}

@media (orientation: portrait) and (min-width: 360px) {
  header h1 {
    font-size: 24px;
  }

  header h2 {
    font-size: 24px;
  }

  header button {
    margin-top: 24px;
    font-size: 16px;
  }
  header img {
    height: 38%;
    right: 5%;
  }
}

@media (orientation: portrait) and (min-width: 410px) {
  header h1 {
    font-size: 26px;
  }

  header h2 {
    font-size: 26px;
  }

  header button {
    margin-top: 40px;
  }

  header img {
    right: 10%;
  }
}

@media (orientation: portrait) and (min-width: 768px) {
  header p {
    font-size: 80px;
  }

  header h1 {
    font-size: 32px;
  }

  header h2 {
    font-size: 32px;
  }

  header button {
    margin-top: 60px;
  }

  header img {
    right: 17%;
  }
}

@media (orientation: landscape) {
  header img {
    height: 60%;
    bottom: 0;
  }

  header div.welcome {
    top: 15%;
    left: 7%;
    right: 48%;
  }

  header button {
    margin-top: 40px;
  }
}

@media (orientation: landscape) and (min-width: 640px) {
  header h1 {
    font-size: 24px;
  }

  header h2 {
    font-size: 24px;
  }

  header button {
    font-size: 20px;
  }
}

@media (orientation: landscape) and (min-width: 1024px) {
  header div.welcome {
    left: 3%;
  }

  header p {
    font-size: 56px;
  }

  header h1 {
    margin-top: 40px;
    font-size: 34px;
  }

  header h2 {
    font-size: 34px;
  }

  header button {
    padding: 20px 15px 20px 15px;
    font-size: 24px;
  }

  header img {
    right: 0;
    height: 85%;
  }
}

@media (orientation: landscape) and (min-width: 1280px) {
  header div.welcome {
    text-align: left;
    left: 6%;
  }

  header p {
    font-size: 100px;
  }

  header h1 {
    margin-top: 40px;
    font-size: 50px;
  }

  header h2 {
    font-size: 50px;
  }

  header button {
    font-size: 30px;
    margin-left: 150px;
    margin-bottom: 25px;
  }

  header img {
    right: 0;
    height: 80%;
  }
}

@media (orientation: landscape) and (min-width: 1600px) {
  header div.welcome {
    left: 8%;
  }

  header p {
    font-size: 120px;
  }

  header h1 {
    margin-top: 40px;
    font-size: 50px;
  }

  header h2 {
    margin-top: 10px;
    font-size: 40px;
  }

  header button {
    margin-left: 250px;
    margin-bottom: 25px;
  }

  header img {
    right: 0;
    height: 90%;
  }
}

@media (min-width: 1024px) {
  header button {
    cursor: pointer;
    transition: 0.3s;
  }

  header button:hover {
    background-color: #fff;
    color: #d16b17;
  }
}

/* Sekcja 1 nasze cechy*/

.features {
  max-width: 1600px;
  margin: 50px auto 0;
  padding: 5%;
  text-align: center;
  color: #d16b17;
}

.features h1 {
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.features h2 {
  font-size: 18px;
  text-transform: uppercase;
}

.features p {
  font-size: 12px;
  font-weight: 300;
  margin: 20px 0;
}

.features img {
  width: 90%;
  margin: 5px 0;
  max-width: 375px;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out;
}

.feature {
  padding: 5px;
}

.feature.two {
  color: white;
  background-color: #d16b17;
  border-radius: 8px;
  padding-bottom: 10px;
}

.feature.two h2 {
  margin-top: 5px;
}

@media (min-width: 360px) {
  .features h1 {
    font-size: 28px;
  }

  .features h2 {
    font-size: 24px;
  }

  .features p {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .features h1 {
    font-size: 36px;
  }

  .features h2 {
    font-size: 28px;
  }

  .features p {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .features {
    margin-top: 50px;
    padding: 5% 2%;
    text-align: center;
  }

  .feature {
    float: left;
    width: 33%;
    padding: 20px;
  }

  .features h1 {
    font-size: 36px;
  }

  .features h2 {
    font-size: 22px;
  }

  .features p {
    font-size: 16px;
    line-height: 120%;
    padding: 0 10px;
  }

  .features img:hover {
    transform: scale(1.1);
  }
}

@media (min-width: 1600px) {
  .feature {
    padding: 20px 50px;
  }

  .features h1 {
    font-size: 60px;
  }

  .features h2 {
    font-size: 32px;
  }

  .features p {
    font-size: 21px;
    line-height: 140%;
    padding: 0 10px;
  }
}

.portfolio {
  background-color: #d16b17;
  padding: 10px 0 30px;
}

.portfolio h1 {
  font-size: 28px;
  text-transform: uppercase;
  color: white;
  text-align: center;
  padding: 10px 20px;
  margin-bottom: 15px;
}

.portfolio .web {
  position: relative;
  height: 40vh;
  width: 100%;
  border-radius: 8px;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: background-size 1s;
  margin: 0 auto;
  overflow: hidden;
}

.portfolio .web p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  text-align: center;
  text-shadow: 0 0 4px black;
  background-color: rgba(187, 97, 12, 0.5);
  font-size: 20px;
  padding: 5px 0;
}

.portfolio .about {
  color: white;
  font-weight: normal;
  padding: 10px 20px 20px 0;
  text-align: left;
}

.portfolio .about h2 {
  font-size: 22px;
  border-bottom: 2px solid white;
  margin-bottom: 12px;
  padding-bottom: 6px;
  text-indent: 20px;
}

.portfolio .about p {
  font-size: 18px;
  padding-left: 20px;
}

.portfolio .project {
  max-width: 1400px;
  margin: 0 auto 20px;
  border-radius: 8px;
  background-color: rgb(202, 91, 0);
}

.img1 {
  background-image: url(../images/pizzamenu.jpg);
}

.img2 {
  background-image: url(../images/burger.jpg);
}

.img3 {
  background-image: url(../images/friesxd.jpg);
}

.img4 {
  background-image: url(../images/drinks.jpg);
}

@media (min-width: 360px) {
  .project .web {
    height: 35vh;
  }
}

@media (min-width: 768px) {
  .project .web {
    height: 30vh;
  }

  .portfolio h1 {
    font-size: 40px;
  }

  .portfolio .about h2 {
    font-size: 28px;
    text-indent: 40px;
  }

  .portfolio .about p {
    font-size: 18px;
    padding-left: 40px;
  }

  .portfolio .project {
    margin-bottom: 40px;
  }

  .portfolio .web {
    width: 50%;
  }
}

@media (orientation: landscape) {
  .web,
  .about {
    width: 50%;
    float: left;
  }

  .web img {
    display: block;
  }

  .portfolio .project:nth-of-type(even) .web {
    float: right;
  }

  .portfolio .project:nth-of-type(even) .about {
    padding-right: 0;
  }

  .portfolio .project:nth-of-type(even) .about p {
    padding-right: 20px;
  }

  .portfolio .project:nth-of-type(even) .about h2 {
    text-indent: 0;
    margin-left: 40px;
  }
}

@media (min-width: 1024px) {
  .project .web {
    height: 41vh;
  }

  .portfolio .web:hover {
    background-size: 130%;
  }

  .portfolio .web p {
    padding: 0;
    line-height: 45vh;
    opacity: 0;
    transition: 1s;
    cursor: default;
  }

  .portfolio .web:hover p {
    opacity: 1;
  }

  .portfolio .project {
    box-shadow: 3px 3px 5px 6px rgb(194, 83, 9);
  }
}

@media (orientation: landscape) and (min-width: 1400px) {
  .project .web {
    height: 45vh;
  }

  .portfolio h1 {
    font-size: 60px;
    padding: 30px 0;
  }

  .portfolio .about h2 {
    padding-top: 50px;
    font-size: 28px;
    text-indent: 40px;
    margin-bottom: 50px;
  }

  .portfolio .about p {
    font-size: 18px;
    padding-left: 40px;
    line-height: 180%;
  }

  .portfolio .project {
    margin-bottom: 40px;
  }
}

/* Sekcja Slogan*/

.slogan {
  height: 60vh;
  text-align: center;
  background-image: url(../images/phone.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.slogan h1 {
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.slogan p {
  margin-top: 100px;
  font-size: 24px;
}

.slogan p.number {
  margin-top: 20px;
  font-size: 20px;
  padding-bottom: 10px;
  text-decoration: underline;
  cursor: pointer;
}

.slogan .bg {
  height: 60vh;
  padding: 30px 10px;
  background-color: rgba(156, 102, 51, 0.445);
}

@media (orientation: landscape) {
  .slogan p {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .slogan .bg {
    padding: 50px 10px;
  }

  .slogan h1 {
    font-size: 48px;
    margin-bottom: 35px;
  }

  .slogan p {
    font-size: 26px;
    width: 60%;
    margin: 0 auto;
  }

  .slogan p.number {
    margin-top: 40px;
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .slogan .bg {
    padding: 80px 10px;
  }

  .slogan h1 {
    font-size: 60px;
    margin-bottom: 55px;
  }

  .slogan p {
    font-size: 40px;
    width: 50%;
  }

  .slogan p.number {
    margin-top: 40px;
    font-size: 26px;
  }
}

/* sekcja contact */

.contact {
  background-color: #d16b17;
  padding: 30px 20px;
}

.contact h1 {
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: white;
  text-align: center;
}

.contact .wrap {
  padding-top: 20px;
  max-width: 1024px;
  margin: 0 auto;
}

.contact input,
.contact button,
.contact textarea {
  width: 100%;
  margin-bottom: 25px;
  font-size: 12px;
  padding: 5px;
  border-radius: 8px;
  outline: none;
}

.contact input {
  height: 36px;
}

.contact textarea {
  height: 120px;
}

.contact button {
  font-size: 14px;
  line-height: 40px;
  background-color: #d16b17;
  color: white;
  border: 2px solid white;
}

.contact .socials {
  padding-top: 30px;
  font-size: 0;
}

.contact .social {
  padding: 10px 0;
  color: white;
}

.contact .social span {
  line-height: 30px;
  float: left;
  font-size: 20px;
}

.contact .social i {
  font-size: 28px;
  color: white;
  padding-left: 10px;
}

@media (min-width: 533px) {
  .contact .social {
    display: inline-block;
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .contact h1 {
    font-size: 60px;
    padding: 30px 0;
  }

  .contact form,
  .contact .socials {
    float: left;
    width: 50%;
    padding: 0 20px;
  }

  .contact .social {
    display: block;
    width: 50%;
    margin: 0 auto;
  }

  .contact input,
  .contact button,
  .contact textarea {
    margin-bottom: 35px;
  }

  .contact input {
    height: 46px;
    font-size: 24px;
  }

  .contact textarea {
    height: 180px;
    font-size: 24px;
  }

  .contact button {
    font-size: 20px;
    line-height: 50px;
    transition: 0.3s;
    cursor: pointer;
  }

  .contact button:hover {
    color: #d16b17;
    background-color: #fff;
  }
}

footer {
  background-color: rgb(202, 91, 0);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 20px;
}
