:root {
    --primary: #F6941C;
    --secondary: #ffffff;
    --background: #363E41;
}

h1 {
   font-size: 37px;
}

h1, h2, h3, h4, h5, .heading, a {
    font-weight: bold;
    font-family: sans-serif;
    color: var(--primary);
}

.heading {
    display: block;
    margin-bottom: 20px;
}

p {
    font-weight: bold;
    font-family: sans-serif;
    color: var(--secondary);
}

.upper {
    text-transform: uppercase;
}

body, html, h5, h4 {
    margin: 0;
    padding: 0;
}

a:hover {
    color: var(--secondary);
}

body {
    background-color: var(--background);
}

header {
    height: 277.3px;
    width: 100%;
    border-bottom: 17.5px solid var(--primary);
}

header::after {
    content: '';
    background: url("../image/header.webp") no-repeat center;
    background-size: cover;
    transform: scaleX(-1);
    height: 277.3px;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -2;
    right: 0;
    filter: grayscale(100%);
}



header .logo img {
    height: 330px;
    box-shadow: 14px 0px 18px -2px rgb(82 82 82 / 61%)
}   

main {
    margin-top: 60px;
}

main section.sidebar .contact {
    padding-left: 20px;
    margin-bottom: 20px;
}

main section.sidebar .info img {
    width: 80%;
    max-width: 250px;
}

.icons {
    display: flex;
    justify-content: space-between;
    width: 65px;
}

.icons .icon .fa {
    background: var(--primary);
    color: var(--background);
    padding: 5px;
    font-size: 17px;
    border-radius: 50%;
}

.icons .icon .rotate::before {
    transform: rotate(-25deg);
}

.icons .icon .fa:hover {
    background: var(--background);
    color: var(--primary);
}

main a.tel {
    display: inline-block;
}

footer {
    position: relative;
    height: 120px;
    z-index: -1;
}

footer .triangle {
    position: absolute;
    bottom: 0;
    left: 0;
}

footer .triangle.first {
    width: 0;
    height: 0;
    border-width: 0 940px 170px 0;
    border-color: transparent transparent #F89C2F transparent;
    border-style: solid;
}

footer .triangle.second {
    width: 0;
    height: 0;
    border-width: 0 480px 140px 0;
    border-color: transparent transparent #E38126 transparent;
    border-style: solid;
}

footer .triangle.third{
    bottom: 10px;
    width: 0;
    height: 0;
    border-width: 90px 0 40px 310px;
    border-color: transparent transparent transparent #DC7027;
    border-style: solid;
}

@media only screen and (max-width: 940px) {
    footer {
        height: 110px;
        z-index: 1;
    }

    footer .triangle.first {
        border-width: 0 640px 170px 0;
    }

    footer .triangle.second {
        border-width: 0 380px 140px 0;
    }

    footer .triangle.third{
        border-width: 90px 0 40px 240px;
    }
}

@media only screen and (max-width: 767px) {
    main section.sidebar .contact {
        padding-left: 0;
        margin-top: 50px;
    }
    header::after {
        background-position: unset;
    }
}

@media only screen and (max-width: 640px) {
    main section.sidebar .contact {
        margin-top: 50px;
    }

    header .logo img {
        height: 220px;
    }

    footer {
        height: 110px;
        z-index: 1;
    }

    footer .triangle.first {
        border-width: 0 440px 140px 0;
    }

    footer .triangle.second {
        border-width: 0 270px 100px 0;
    }

    footer .triangle.third{
        border-width: 80px 0 10px 210px;
    }
}

@media only screen and (max-width: 440px) {
    main section.sidebar .contact {
        margin-top: 50px;
    }

    header .logo img {
        height: 170px;
    }

    footer {
        z-index: 1;
        height: 60px;
    }

    footer .triangle.first {
        border-width: 0 270px 100px 0;
    }

    footer .triangle.second {
        border-width: 0 180px 60px 0;
    }

    footer .triangle.third{
        border-width: 40px 0 10px 120px;
    }
}
