@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");


:root {
  --background: 246, 246, 246;
  --main: 251, 175, 1;
  --primary: 36, 36, 41;
  --white: 246, 246, 246;
  --black: 15, 15, 15;
  --gray: 120, 120, 120;
}


html {
  height: 100%;
  scroll-behavior: smooth
}

body {
  height: 100vh;
  background: rgba(var(--background));
  font-family: "Roboto", serif;
  color: rgba(var(--black));
  font-size: 20px;
  margin: 0 auto
}

* {
  margin: 0;
  padding: 0
}

*:focus {
  outline: 0 !important
}


header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(var(--primary));
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 999
}

header .logo img {
  max-height: 70px;
  object-fit: cover
}

@media screen and (max-width: 1200px) {
  header .logo img {
    max-height: 60px
  }
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgba(var(--primary));
  font-size: 16px;
  color: rgba(var(--white));
  padding: 20px 30px
}

footer i {
  color: rgba(var(--main)) !important;
  vertical-align: middle
}

footer a {
  color: rgba(var(--gray));
  font-weight: normal
}


a {
  font-weight: bold;
  color: rgba(var(--main));
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease-in-out
}

a:hover {
  color: rgba(var(--white));
  text-decoration: none
}


.break {
  flex-basis: 100%;
  height: 0;
  margin: 10px 0 10px 0
}

.break.double {
  margin: 20px 0 20px 0
}

.break.huge {
  margin: 50px 0 50px 0
}

.introduction {
  background-image: url('https://malinowski-pomocdrogowa.pl/assets/images/tlo.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 100px 0
}

.introduction .text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: rgba(var(--white));
  padding: 0 30px;
  margin: 0 auto
}

.contact {
  display: flex;
  justify-content: space-between;
  max-width: 1200px
}

.contact .content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  background: rgba(var(--primary));
  color: rgba(var(--white));
  border-radius: 6px;
  padding: 30px
}

.contact .content .text {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 400px
}

.contact .break {
  flex-basis: 0 !important;
  margin: 0 10px 0 10px
}

.contact .content .text i {
  font-size: 30px;
  margin-bottom: 15px;
  color: rgba(var(--white))
}

@media screen and (max-width: 1200px) {
  .contact {
    display: block
  }

  .contact .content, .contact .content .text {
    width: 300px;
    word-break: break-word
  }

  .contact .break {
    margin: 0px 0 20px 0
  }
}

.gallery {
  background-color: rgba(var(--main));
  width: 100%;
  padding: 100px 0
}

.gallery .text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: rgba(var(--black))
}

.gallery .slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 6px
}

.gallery .slideshow .slide {
  display: none;
  width: 100%
}

.gallery .slideshow .slide img {
  width: 800px;
  height: 450px;
  border-radius: 6px;
  object-fit: cover
}

@media screen and (max-width: 1200px) {
  .gallery .slideshow .slide img {
    width: 360px;
    height: 250px
  }
}

.gallery .slideshow .control {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  font-size: 40px;
  width: 45px;
  height: 45px;
  color: rgba(var(--black));
  background: rgba(var(--main));
  transition: background .15s ease-in-out
}

.gallery .slideshow .control:hover {
  background: rgba(var(--white))

}

.gallery .slideshow .prev {
  left: 10px
}

.gallery .slideshow .next {
  right: 10px
}