* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}
p {
    display: block;
    margin: 0;
}

img {
    margin: 0;
    max-width: 100%;
    height: auto;
}

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

html {
    width: 100%;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    color: #fff;
}
body {
    position: relative;
    width: 100%;
    margin: 0;
    background: #1e1e1e;
}

.gallery-container {
    display: none;
    width: 0;
    height: 0;
    outline: 0;
    overflow: hidden;
}

.wrapper {
	display: block;
    position: relative;
    width: 1180px;
    max-width: 100%;
    margin: 0 auto;
}

.header {
    display: block;
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 1.5rem 1rem 0 1rem;
}


.header .wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    margin-left: 1.5rem;
}

.menus {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.social-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 4rem;
}

.social-top li {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 20px;
    height: 20px;
}

.social-top li a {
	display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-indent: -5000px;
}

.social-top li a::before {
    display: inline-block;
    font-family: "Font Awesome 5 Brands";
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    font-weight: 900;
    font-size: inherit;
    text-rendering: auto;
    text-indent: 0px;
    width: 100%;
    height: 100%;
    font-size: 19px;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.social-top li:first-child {
    margin-right: 9px;
}
.social-top li:last-child a::before {
    content: "\f16d";
}

.social-top li:first-child a::before {
    content: "\f082";
}

.social-top li a:hover:before {
    color: #481e28;
}

.main-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    margin-left: 6rem;
}

.main-nav li {
    display: inline-block;
    position: relative;
    margin: 0 1.8rem;
}

.main-nav li:last-child {
    margin-right: 0;
}

.main-nav li a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.main-nav li a span {
    position: relative;
    display: block;
}

.main-nav li a span:after {
    content: '';
    position: absolute;
    bottom: -.5rem;
    top: auto;
    left: 0;
    right: auto;
    background: #fff;
    height: 2px;
    width: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}


.main-nav li a:hover span:after {
    width: 100%;
}


#baner {
    display: block;
    position: relative;
    height: auto;
}

.baner-image {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
}

#baner .wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: auto;
    height: 100%;
}

.baner-text {
    font-family: 'Italianno', cursive;
    font-size: 9.857rem;
    line-height: 6rem;
    padding-left: 8.5vw;
    padding-top: 34%;
    margin-bottom: 16.5%;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.baner-text span {
    display: block;
    padding-left: 5rem;
}

.baner-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 5rem;
}

.baner-links p {
    font-size: 24px;
    text-align: right;
    line-height: 34px;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.baner-links p span {
    display: block;
    padding-left: 4rem;
    padding-right: 1rem;
}

.baner-links-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 2.143rem;
    font-weight: 400;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-left: 1rem;
    padding-top: .5rem;
    position: relative;
    padding-left: 4.5rem;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.baner-links-list:before {
	content: '';
    position: absolute;
    top: 1rem;
    bottom: auto;
    left: 0;
    right: auto;
    height: 2px;
    width: 100%;
    background: #fff;
    
}

.baner-links-list li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    padding: 1.5rem 2.5rem;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.baner-links-list li a:after {
    content: '';
    position: absolute;
    bottom: -2rem;
    top: auto;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 20px;
    background-image: url(src/banner-arrow.png);
    background-position: 30%;
    background-repeat: no-repeat;
    opacity: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.baner-links-list li a:hover:after{
	opacity: 1;
    background-position: 50%;
}

.baner-links-list li a span {
    position: relative;
    display: block;
}

.baner-links-list li a span:before {
    content: '';
    position: absolute;
    bottom: -10px;
    top: auto;
    left: 0;
    right: auto;
    height: 2px;
    width: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
    background: #fff;
}

.baner-links-list li:last-child a {
    padding-right: 0 !important;
}


.baner-links-list li a:hover span:before {
    width: 100%;
}
#tiles {
    padding-top: 7rem;
    -webkit-transition: all .5s;
    transition: all .5s;
}

#tiles .title {
    text-align: center;
    padding-right: 27%;
}

#tiles .title p {
    text-align: right;
    padding-right: 10%;
    line-height: 25px;
}

.tiles-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding-top: 3rem;
    padding-bottom: 4.5rem;
}

.tiles-list li {
/*    width: 25%;*/
    width: calc(25% - 8px);
    background: #481e28;
    height: 290px;
    position: relative;
    margin: 4px;
}

.tiles-list li:nth-last-child(2) span {
    text-align: right;
}

.tiles-list li:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    width: 100%;
    height: 100%;
    background: #491e28;
    opacity: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
    pointer-events: none;
    z-index: 5;
}

.tiles-list li:hover:before {
	opacity: .87;
}

.tile-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
}

.tiles-list li:nth-child(even) a {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.tiles-list li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    height: 100%;
    padding: 1rem;
}

.tiles-list li span {
    display: block;
    width: 100%;
    z-index: 9;
    font-weight: 400;
    color: #fff;
    font-size: 2rem;
    text-transform: lowercase;
}

.tiles-list li:nth-child(5) a {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

#contact {
	display: block;
    width: 100%;
    background-image: url(src/contact-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 3.5rem 1rem;
}

#contact .wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 0.5rem;
}

#contact .wrapper .column:first-child p {
    text-align: right;
    line-height: 25px;
    letter-spacing: 1px;
}

#contact .wrapper .column:first-child p span {
    padding-right: 1rem;
    display: block;
}

h2 {
    display: inline-block;
    position: relative;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 400;
    margin-bottom: .5rem;
    letter-spacing: 2px;
}

h2:after {
    content: '';
    position: absolute;
    height: 1px;
    background: #fff;
    border: 1px solid #c3c3c3;
    left: 124%;
    right: auto;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 175%;
}

#contact .title p {
	text-align: right;
}



#contact #phone,
#contact #mail {
    font-size: 2.143rem;
    position: relative;
    display: block;
    -webkit-transition: all .5s;
    transition: all .5s;
}

#contact #phone a,
#contact #mail a {
    position: relative;
    display: block;
    padding: 1rem;
}

#contact #phone a:before,
#contact #mail a:before {
    display: block;
    content: '';
    width: 100%;
    height: 4rem;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 1.5rem;
}

#contact #phone {
    padding-left: 7rem;
}

#contact #mail {
    padding-right: 2rem
}

#contact h2:after {
	width: 135%;
}

#contact #phone a:before {
    background-image: url(src/icon-phone.png); 
}
#contact #mail a:before {
    background-image: url(src/icon-mail.png);
}

#contact #phone a:after,
#contact #mail a:after {
    content: '';
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    right: auto;
    height: 2px;
    width: 0;
    background: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
} 

#contact #phone a:hover:after,
#contact #mail a:hover:after {
    width: 100%;
} 


#about {
    display: block;
    width: 100%;
    background-image: url(src/about-bg.jpg);
    background-repeat: no-repeat;
    background-size: initial;
    background-position: 25.5% 12%;
    margin: 2rem 0;
    margin: 7rem 0 0 0;
    padding: 5rem 1rem 6rem 1rem;
}

#about .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

#about .title {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
    padding-right: 23%;
    margin-bottom: 2.5rem;
}

#about .title h2 {
    margin-bottom: 0;
    margin-right: 5rem;
}

#about .title h2:after {
    width: 250%;
}

#about .title p {
    text-align: left;
    padding-left: 40%;
    line-height: 28px;
}

#about .title p span {
    padding-left: 3rem;
    letter-spacing: 1px;
}

#about .paragraph {
    width: 50%;
    min-width: 590px;
}

#about .text {
    background: #2d2d2d;
    padding: 2.75rem 3rem;
    margin-bottom: 2rem;
}

#about .text p {
    line-height: 20px;
}

#about .text p:last-child,
#about .text p:nth-last-child(2) {
    font-weight: 700;
    margin-top: 1rem;
}

/* Przycisk Tabela polskich cen probierczych */

.wbt__btn__cert {
    border: 1px solid #fff;
    padding: 1rem 2rem .75rem;
    margin-top: 1.5rem;
    display: flex;
    width: fit-content;
    transition: ease .3s;
    gap: 0.75rem;
}

@media only screen and (max-width:768px){
.wbt__btn__cert {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
}
}

.wbt__btn__cert:hover {
    background-color: #491E28;
}

.wbt__btn__cert:before {
    content: '';
    display: block;
    width: 26px;
    height: 25px;
    background-image: url(./src/horse-head.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: -4px;
}

.certs {
    margin-top: 3.5rem;
    display: block;
    padding-left: 7rem;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.certs ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.certs ul li {
    margin: 0 2rem;
    width: 85px;
    height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.certs ul li:first-child img {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    -webkit-transition: all .5s;
    transition: all .5s;
}

.certs ul li:first-child:hover img {
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.certs ul li:nth-child(2) {
    background-image: url(src/gwarancja-white.png);
    background-repeat: no-repeat;
    background-position: center;
}

.certs ul li:nth-child(2):hover {
    background-image: url(src/gwarancja-purple.png);
}

.certs ul li:nth-child(3) {
    background-image: url(src/servis-white.png);
    background-repeat: no-repeat;
    background-position: center;
}

.certs ul li:nth-child(3):hover {
    background-image: url(src/servis-purple.png);
}

#bottom {
	display: block;
    width: 100%;
    background: #000;
    padding: 3rem 1rem 0 1rem;
}

#bottom .wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    position: relative;
    font-size: 16px;
}

#bottom .bottom-col {
    width: 25%;
    padding: 1rem;
    overflow: hidden;
    position: relative;
}

#bottom .bottom-col span{
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}

#bottom #logos {
	padding-top: 0;
    padding-left: 0.5rem;
}

#bottom #logos a {
    display: block;
    height: auto;
    text-align: right;
    margin-left: 3rem;
    margin-top: 0.5rem;
}

#bottom #links {
    padding-left: 9.5rem;
    -webkit-transition: all.5s;
    transition: all.5s;
}

#bottom #links p {
    font-weight: 700;
    margin-bottom: 13px;
    text-transform: uppercase;
}

#bottom #links li {
    margin-bottom: 10px;
    display: block;
    position: relative;
}

#bottom #links li a {
    display: block;
    position: relative;
    padding: 5px 0;  
}

#bottom #links li a:hover:after {
    right: 3rem;
    opacity: 1;
}

#bottom #links li a:after {
    content: '';
    position: absolute;
    left: auto;
    right: 4rem;
    top: 0;
    bottom: 0;
    width: 20px;
    height: 100%;
    background-image: url(src/footer-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

#bottom #address p,
#bottom #banks p {
	 display: block;
    margin-bottom: 1.8rem;
}

#bottom #banks p {
    line-height: 2rem;
    font-size: 14px;
}

#bottom #banks p:last-child {
    margin-bottom: 0;
}

#bottom #banks span {
    margin-bottom: 0px;
    display: block;
    line-height: 18px;
}

#bottom #address p:last-child {
    font-size: 13px;
    margin-top: 2.5rem;
}

footer {
    display: block;
    width: 100%;
    padding: 0 1rem;
    background: #000;
}

footer .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

footer p {
    color: #444444;
    font-size: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

footer img {
    margin-left: .5rem;
}


/*Mobile Menu*/
#burger-menu {
	display: none;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1001;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-transition: all .5s;
    transition: all .5s;
}


#burger-menu span {
    position: absolute;
    left: 10px;
    height: 3px;
    width: 30px;
    background: #481e28;
    right: 0;
    border-radius: 2px;
    background-clip: padding-box;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}

#burger-menu span:first-of-type {
    top: 19px
}

#burger-menu span:last-of-type {
    bottom: 19px
}

#burger-menu.clicked span:last-of-type {
    bottom: 23px;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg)
}

#burger-menu.clicked span:first-of-type {
    top: 24px;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg)
}



/*RWD*/

@media (max-width: 1570px) {
    .baner-text {
        padding-left: 5.5vw;
        padding-top: 20%;
    }
    .baner-links-list {
        padding-left: 2.5rem;
    }
    #tiles {
        padding-top: 1rem;
    }
    #about {
        margin: 3rem 0 0 0;
    }    
}

@media (max-width: 1185px) {
    html {
        font-size: 13px;
    }
    .tiles-list li {
        height: 23vw;
    }
    #about {
        background-position: 0% 12%;
    }
    .baner-links-list li a {
        padding: 1rem 2rem;
        font-size: 1.8rem;
    }
    #contact #phone {
        padding-left: 5rem;
    }
    #contact #phone,
    #contact #mail {
        font-size: 1.8rem;
    }
    .baner-text {
        font-size: 7rem;
    }
    .main-nav {
        margin-left: 0;
    }
    .baner-links p {
        line-height: 28px;
        font-size: 18px;
    }
    #about .title p {
        padding-left: 35%;
    }
    #bottom #links {
        padding-left: 5.5rem;
    }
    .certs {
        padding-left: 2rem;
    }
}

@media (max-width: 950px) {
    #burger-menu {
        display: block;
    }
    #main-header {
        background: rgba(0, 0, 0, 0.95);
        padding-bottom: 1rem;
        position: fixed;
        width: 100%;
        top: 0;
        left: 100%;
        right: auto;
        -webkit-transition: all .5s;
        transition: all .5s;
    }
    #main-header.show {
        left: 0;
    }
    .header .wrapper,
    .menus,
    .main-nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        width: 100%;
    }
    .logo a {
        text-align: left;
        margin-left: 0;
    }
    .main-nav li {
        margin: 0;
    }
    .social-top {
        margin-left: 0;
        padding: 1rem;
    }
    .baner-links {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    .baner-links p span {
        display: inline-block;
        padding-left: 5px;
    }
    .baner-links-list {
        margin-left: 0;
        padding-left: 0rem;
        margin-bottom: 0;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .baner-text {
        padding-top: 5%;
        margin-bottom: 7.5%;
    }
    #tiles .title,
    #tiles .title p {
        text-align: left;
    }
    #tiles .title p {
        padding-left: 0;
    }
    #tiles .title {
        padding: 0 1rem;
    }
    #about .title {
        text-align: left;
        padding-right: 0;
    }
    #about .title p,
    #about .title p span  {
        padding-left: 0;
    }
    #about {
        margin: 0;
        padding: 2rem 1rem;
        background-position: 0px 154px;
    }
    #contact .wrapper .column:first-child p {
        text-align: left;
    }
    #contact .wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    #contact #phone,
    #contact #mail {
        padding-left: 0;
        font-size: 1.2rem;
        padding-right: 0;
    }
    #bottom .wrapper {
        font-size: 14px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    #bottom {
        padding: 1rem;
    }
    #bottom #links {
        padding-left: 1rem;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-top: -190px;
    }
    #bottom .bottom-col {
        width: 30%;
    }
    #bottom #banks p {
        font-size: 11px;
    }
    .baner-links-list li a:after {
        display: none;
    }
    .tiles-list {
        padding-bottom: 0;
    }
    #bottom #links li {
        margin-bottom: 0;
    }
    #bottom #address p,
    #bottom #banks p {
        margin-bottom: 10px;
    }
    #contact .column {
        overflow: hidden;
    }
    .tiles-list li span {
        font-size: 1.5rem;
    }
    .tiles-list li a {
        padding: 1rem;
    }
}

@media (max-width: 695px) {
    #bottom #links {
        margin-top: -290px;
    }
}

@media (max-width: 650px) {
    .tiles-list li {
        width: calc(50% - 8px);
        height: 45vw;
    }
    #tiles .title,
    #about .title {
        max-width: 95%;
        overflow: hidden;
    }
    .baner-text {
        font-size: 5rem;
        line-height: 4rem;
    }
    #contact .wrapper .column:first-child {
	    width: 100%;
    }
    #contact .wrapper {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    #about .paragraph {
        width: 100%;
        min-width: unset;
    }
    footer .wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    #about .wrapper {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    footer p {
        margin: 5px 0;
        text-align: center;
    }
    .tiles-list {
        padding-top: 1rem;
    }
    #bottom .bottom-col {
        padding-left: 0;
    }
    #tiles .title p {
        padding-right: 0;
    }
}


@media (max-width: 480px) {
    #bottom .bottom-col {
        width: 50%;
        padding-left: 1rem;
    }
    #bottom #links {
        margin-top: 0;
    }
    .baner-links-list li a {
        padding: 1rem 1rem;
        font-size: 1.3rem;
    }
    .baner-links-list:before {
        top: .5rem;
    }
    #about .text {
        padding: 1rem;
    }
    .certs {
        padding-left: 0;
        margin-top: 1rem;
    }
    .certs ul li {
        width: 30%;
        margin-bottom: 1rem;
    }
    .certs ul {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (max-width: 420px) {
    #bottom .wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }
    .tiles-list li {
        width: calc(100% - 8px);
        height: 90vw;
    }
    .tiles-list li span {
        font-size: 2.5rem;
    }
    #contact {
        padding: 1.5rem 1rem;
        background-size: cover;
    }
    #bottom .bottom-col {
        width: 100%;
        padding-bottom: 0;
    }
    #bottom #address p:last-child {
        margin-top: 0.5rem;
    }
    #about {
        padding: 1rem;
    }
}
