@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --heading : #393A56;
    --text : #333333;
    --theme : #CB3133;
    --bg : #d8d8d8;
    --footerBg : #000000;
}

body {
    font-family: 'Poppins';
    overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
    color: var (--heading);
}

p {
    color: var(--text);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 80%;
    margin: auto;
}

header {
    background: var(--bg);
    width: 100vw;
    height: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.navlinks {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.navlinks li {
    margin: 0 20px;
}

.navlink img {
    width: 50px;
}

.navlinks li a , a:visited {
    color: var(--heading);
    padding: 1em 1.5em;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.90em;
	font-weight: 600;
}

.navlinks li a:hover , a:active {
        background: #CB3133;
        color: white;
        border-radius: 0px;
}

.header-content {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.header-content img {
    max-width: 90%;
}

.header-info {
    flex: 60%;
}

.line {
    width: 205px;
    height: 4px;
    background: var(--theme);
    border-radius: 5px;
    align-items: center;
}

.header-info h1 {
    font-size: 60px;
}

.header-info h3 , .header-info p  {
    margin: 15px 0;
}

.header-info p {
    font-size: 26px;
}

.ctn {
    padding:  10px 16px;
    background: var(--theme);
    color: whitesmoke;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    margin-top: 30px;
}

.cont {
    width: 100%;
    height: 100%;
    padding: 0 8%;
}
.cont h1 {
    text-align: center;
    padding-top: 0;
    margin-bottom: 60px;
    font-size: 50px;
    font-weight: 600;
    position: relative;
}
.cont h3 {
    text-align: center;
    padding-top: 10%;
    margin-bottom: 2px;
    font-weight: 400;
    position: relative;
}
.cont h1::after {
    content: '';
    background: #CB3133;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}
.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}
.service {
    text-align: center;
    padding: 25px 10px;
    border-radius: 0px;
    font-size: 14px;
    cursor: default;
    background: transparent;
    transition: transform 0.5s, background 0.5s;
}

.service i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #333333;
}
.service h2 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 24px;
}
.service p {
    font-size: 17px;
}
.service:hover {
    background: #CB3133;
    color: white;
    transform: scale(1.05);
}
.service:hover i {
    color: white;
}
.service:hover p {
    color: white;
}

#offer {
    margin: 80px auto;
    background: var(--bg);

}

#offer .container {
    display: flex;
    align-items: center;
    text-align: center;
}

#offer .container img {
    max-width: 600px;
}

.offer-content {
    padding-top: 10px;
    padding-left: 20px;
    padding-bottom: 10px;
    padding-right: 10px;
}

.offer-content h1 {
    font-size: 50px;
}

.offer-content p {
    font-size: 25px;
}

.ctn-offer {
    padding:  10px 16px;
    background: rgb(212, 21, 21);
    color: whitesmoke;
    border-radius: 1px;
    border: none;
    font-size: 30px;
    font-weight: 600;
    margin-top: 30px;
}

.ctn-offer-blue {
    padding:  10px 16px;
    background: rgb(16, 132, 209);
    color: whitesmoke;
    border-radius: 1px;
    border: none;
    font-size: 30px;
    font-weight: 600;
    margin-top: 30px;
}

.menuBtn img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    display: none;
}

.cont-gallery-title {
    width: 100%;
    height: 100%;
    padding: 0 8%;
}
.cont-gallery-title h1 {
    text-align: center;
    padding-top: 0;
    margin-bottom: 60px;
    font-size: 50px;
    font-weight: 600;
    position: relative;
}
.cont-gallery-title h3 {
    text-align: center;
    padding-top: 0px;
    margin-bottom: 2px;
    font-weight: 400;
    position: relative;
}
.cont-gallery-title h1::after {
    content: '';
    background: #CB3133;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
  }
  
  .image-gallery > li {
    height: 300px;
    cursor: default;
    position: relative;
  }
  
  .image-gallery li img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    border-radius: 0px;
  }

  .image-gallery > li {
    flex-grow: 1;
  }

  .image-gallery > li {
    flex: 1 1 auto; 
  }

  .image-gallery::after {
    content: "";
    flex-grow: 999;
  }

  .cont-gallery h1 {
    text-align: center;
    padding-top: 0;
    margin-bottom: 60px;
    font-size: 50px;
    font-weight: 600;
    position: relative;
}
.cont-gallery h3 {
    text-align: center;
    padding-top: 10%;
    margin-bottom: 2px;
    font-weight: 400;
    position: relative;
}
.cont-gallery h1::after {
    content: '';
    background: #CB3133;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

footer {
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100px;
    background: #000000;
}

footer .container {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

footer .container .sec h2 {
    position: relative;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
}

footer .container .sec p {
    color: whitesmoke;
}

footer .container .sci {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4,50px);
}

footer .container .sci li {
    list-style: none;
}

footer .container .sci li a:link, a:visited {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #CB3133;
    display: grid;
    align-content: center;
    justify-content: center;
    text-decoration: none;
}

footer .container .sci li a:link, a:visited i {
    color: #ffffff;
    font-size: 20px;
}

footer .container .sci li a:hover, a:active {
    background: #d8d8d8;
}

footer .container .quicklinks {
    position: relative;
    color: whitesmoke;
}

footer .container .quicklinks ul li {
    list-style: none;
}

footer .container .quicklinks ul li a:link , a:visited {
    color: whitesmoke;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

footer .container .quicklinks ul li a:hover , a:active {
    color: #CB3133;
    text-decoration: none;
}

footer .container .contact .info {
    position: relative;
}

footer .container .contact .info li {
    display: grid;
    grid-template-columns: 30px 1fr;
    margin-bottom: 0px;
}

footer .container .contact .info li span {
    color: whitesmoke;}

footer .container .contact .info li a:link, a:visited {
    color: whitesmoke;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

footer .container .contact .info li a:hover, a:active {
    color: #CB3133;
    text-decoration: none;
}

.copyrightText {
    width: 100%;
    background: #000000;
    padding: 20px 100px 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.15);
}

.copyrightText p {
    color: #d8d8d8;
}

#myBtn {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px;
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #CB3133; 
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 0px; 
    font-size: 16px; 
  }
  
  #myBtn:hover {
    background-color: #d8d8d8;
  }

.cadress p {
    font-size: 20px;
    text-align: center;
}

.cdetail {
    margin: 40px 0 40px 0;
    font-size: 20px;
    text-align: center;
}

.cdetail p a:link, a:visited {
    color: #CB3133;
}

.cdetail p a:hover, a:active {
    color: #333333;
}

.cname {
    font-weight: 600;
}

.zapis {
    margin: 10px 0;
    font-style: italic;
    text-align: center;
    margin: 40px 0 40px 0;
}

.link a:link, a:visited {
    color: #ffffff;
}
.link a:hover, a:active {
    color: #CB3133;
}


/** Responsive **/

@media (max-width: 999px) {
    footer {
        padding: 40px;
    }
    footer .container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 20px;
    }
    .copyrightText {
        padding: 20px 40px 30px;
    }
}
@media (max-width: 768px) {
    footer .container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-gap: 20px;
    }
}

@media only screen and (max-width:1100px) {
    .menuBtn img {
        display: block;
    }
    .container {
        width: 90%;
    }
    .navbar {
        flex-direction: column;
    }
    .navlinks {
        flex-direction: column;
        background: #d8d8d8;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;    
        margin-top: -900px;    
        transition: all 0.5s ease-in-out;
    }
    .navlinks.active {
        margin-top: 0px;
    }
    .navlinks li {
        margin: 20px auto;
    }
    .brand img {
        width: 100px;
    }
    header {
        height: 100%;
    }
    .header-content {
        margin: 50px auto;
        flex-direction: column;
    }
    .header-content h1 {
        font-size: 40px;
    }
    .header-content img {
        margin: 30px auto;
    }
    #offer .container {
        flex-direction: column;
        padding: 40px 0;
    }
    #offer .container img {
        max-width: 90%;
    }
    #offer .container h1 {
        font-size: 40px;
    }
    .ctn-offer {
        font-size: 20px;
    }
}
