
/*====================NavBar.css=====================*/
.navbar-nav {
    position: fixed;
    border-bottom: 3px #ba3e3a solid;
    width: 100%;
    top: 0;
    background-color: #f3f3f3;
}
.navbar-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-home {
    text-decoration: none;
    color: #ba3e3a;
    font-size: 1.1rem;
    font-weight: 600;
}
.navbar-navbar ul {
    display: flex;
    justify-content: flex-end;
    padding: 15px 0;
}
.navbar-navbar ul li {
    margin-left: 20px;
    list-style: none;
}
.navbar-navbar ul li a {
    text-decoration: none;
    color: #792f2c;
    font-size: 1.1rem;
    font-weight: 500;
}

@media screen and (max-width: 1200px){
    .navbar-nav {
        display:none;
        visibility: hidden;
    }
}
/*====================Footer.css=====================*/
.footer {
    background-color: #ba3e3a;
    color: #fff;
    padding: 15px 0;
}

.footer-content {
    width: 70%;
    margin: 0 auto;
}

.footer-copyright {
    padding: 15px 0;
    text-align: center;
}

.footer-contact {
    padding: 0.625rem 0;
}

.footer-contact p {
    margin: 0.5rem 5rem;
    height: 1.5rem;
}

.footer-contact p span {
    height: 1.5rem;
    display: block;
}

.footer-contact p span:first-child {
    margin-right: 0.5rem;
    float: left;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 1200px){
    .footer-contact p {
        margin: 0.5rem 5%;
        height: 1.5rem;
    }

    .footer-content {
        width: 100%;
        margin: 0 auto;
    }
}
/*====================Burger.css=====================*/
.burger-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 100;
    background-color: #f3f3f3;
    border-bottom: 3px #ba3e3a solid;
}

.burger-home {
    text-decoration: none;
    color: #ba3e3a;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    float: left;
    margin: 1rem;
}

.burger-menuToggle
{
    clear:right;
    display: block;
    position: relative;
    float: right;
    z-index: 1;
    padding: 1rem 1rem 0 0;

    -webkit-user-select: none;
    user-select: none;
}

.burger-menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: 10px;
    right: 12px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
.burger-menuToggle span
{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: black;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}



/*
 * Make this absolute positioned
 * at the top left of the screen
 */
.burger-menu
{
    position: absolute;
    width: 300px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    right: 0;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(100%, 0);

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    border-bottom: 3px #ba3e3a solid;
    border-left: 3px #ba3e3a solid;
    border-bottom-left-radius: 1rem;
}

/*
 * And let's slide it in from the left
 */
.burger-menuToggle input:checked ~ ul
{
    transform: none;
}


.burger-menuToggle a
{
    text-decoration: none;
    color: #792f2c;
    font-size: 1.1rem;
    font-weight: 500;
}


.burger-menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

.burger-menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
.burger-menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: black;
}

/*
 * But let's hide the middle one.
 */
.burger-menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
.burger-menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(0, -1px);
}

.burger-menu li
{
    padding: 10px 0;
    font-size: 22px;
}


@media screen and (min-width: 1200px){
    .burger-nav {
        display:none;
        visibility: hidden;
    }
}
/*====================Contact.css=====================*/
.contact-contact .intro {
    height: 35vh;
}

.contact-contact h2 {
    font-size: 2rem;
    margin: 75px 100px;
    color: #2d2d2d;
}

.contact-contact section {
    display: flex;
    justify-content: center;
    gap: 15%;
    width: 50%;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.contact-contact section a {
    text-decoration: none;
    color: #2d2d2d;
    flex: 0 0 50%;
    padding: 100px 30px;
    display: flex;
    flex-direction: column;
    background-color: #f4eaea;
    align-items: center;
    box-shadow: 0px 0px 0px #000;
    transition: 0.3s;
}

.contact-contact section a b {
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-contact section a svg {
    margin-bottom: 1rem;
}

.contact-contact section a:hover {
    box-shadow: -4px 4px 0px #ba3e3a;
    transform: translate(4px, -4px);
}

@media screen and (max-width: 1800px){
    .contact-contact section {
        width: 80%;
    }
}

@media screen and (max-width: 800px){
    .contact-contact section {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-contact h2 {
        font-size: 2rem;
        margin: 4.5rem 10%;
        text-align: center;
        width: 80%;
        color: #2d2d2d;
    }
}

/*====================Index.css=====================*/
.index-home ul {
    padding-left: 1.5rem;
}

.index-home ul li {
    padding: 0.5rem 0;
}

.index-offerTitle {
    background-color: #ba3e3a;
}

.index-offerTitle h3 {
    width: 90%;
    color: #fff;
    margin: 0 auto;
    padding: 30px 0;
    font-size: 25px;
}

.index-homeArticle {
    display: flex;
    padding: 4rem 0 0 0;
}

.index-homeArticle div {
    padding: 3rem 5%;
}

.index-homeArticle div p {
    margin-top: 1rem;
}

.index-secTitle {
    font-size: 2rem;
    color: #000000;
    padding-left: 4px;
}
.index-secTitle::before {
    content: "";
    width: 100px;
    height: 0.25rem;
    background-color: #000000;
    position: absolute;
    left: 0;
    top: -1.25rem;
}

main section .index-content p {
    margin-right: 50px;
    margin-top: 15px;
}

.index-imageContainer img {
    width: 70%;
    border-radius: 10px;
}

.index-imageContainer {
    text-align: center;
}


@media screen and (min-width: 1200px){
    .index-homeArticle div {
        width: 50%;
    }
}
@media screen and (max-width: 1200px){
    .index-homeArticle div {
        width: 100%;
        flex-direction:column;
    }
    .index-homeArticle {
        flex-direction: column;
    }
    .index-homeArticle:last-child {
        flex-direction: column-reverse;
    }
}
/*====================Reference.css=====================*/
.reference-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 100px;
}
.reference-item .reference-text{
    width: 40%;
}

.reference-text h3 {
    font-size: 30px;
}
.reference-text b {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #515151;
    display: block;
    margin-bottom: 20px;
}
.reference-images {
    display: flex;
    /* width: 300%; */
    text-align:unset;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

}
/*.images img{*/
/*    width: 400px;*/
/*}*/

.reference-imageContainer img {
    width: 45%;
    max-height: 20rem;
    border-radius: 10px;
    object-fit:fill;
}

.reference-imageContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.reference-referenceSection {
    display: flex;
    padding: 4rem 0 0 0;
}

.reference-referenceSection div {
    padding: 3rem 5%;
}

@media screen and (min-width: 1200px){
    .reference-referenceSection div {
        width: 50%;
    }
}

@media screen and (max-width: 1200px){
    .reference-referenceSection {
        flex-direction: column;
    }

    .reference-referenceSection div {
        width: 100%;
        flex-direction:column;
        text-align: center;
    }

    .reference-imageContainer img {
        width: 50%;
    }
}

@media screen and (max-width: 800px){
    .reference-imageContainer img {
        width: 70%;
    }
}
