*{
    font-family: kanit;
}

:root {
    --navbar-bg-color: hsl(0, 0%, 100%);
    --navbar-text-color: hsl(0, 0%, 0%);
    --navbar-text-color-focus: black;
    --navbar-bg-contrast: hsl(0, 0%, 25%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nav {
    line-height: 1.6;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding:1.4em;
}

#navbar {
    --navbar-height: 64px;
    position: fixed;
    height: var(--navbar-height);
    background-color: var(--navbar-bg-color);
    left: 0;
    right: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    max-width: 1200px;
}

.home-link,
.navbar-link {
    color: var(--navbar-text-color);
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    display: flex;
    font-weight: 400;
    align-items: center;
    transition: background-color 0.2s ease-in-out,
                color 0.2s ease-in-out;
}

.home-link:focus,
.home-link:hover {
    color: var(--navbar-text-color-focus);
}

.navbar-link {
    justify-content: center;
    width: 100%;
    padding: 0.4em 0.8em;
    border-radius: 5px;    
    text-transform: uppercase;
}

.navbar-link:focus,
.navbar-link:hover {
    color: grey;
}


.navbar-logo {
    background-color: var(--navbar-text-color-focus);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 0.5em;
}

.navbar-toggle {
    cursor: pointer;
    border: none;
    background-color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 4px;
    margin: 2px;
    transition: background-color 0.2s ease-in-out,
                transform 0.2s ease-in-out,
                opacity 0.2s ease-in-out;
    background-color: black;
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
    background-color: var(--navbar-text-color-focus);
}


#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
    position: absolute;
    margin: 0;
    width: 30px;
}

#navbar.opened .navbar-toggle .icon-bar:first-child {
    transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
    opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
}

#navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    transition: opacity 0.2s ease-in-out,
                visibility 0.2s ease-in-out,
                left 0.2s ease-in-out,
                right 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}


#navbar-menu.detached,
#navbar-menu.attached {
    left: 0;
    right: 0;
}

#navbar.opened #navbar-menu {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
}


.navbar-links {
    list-style-type: none;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    background-color: var(--navbar-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#navbar.opened .navbar-links {
    padding: 1em;
    max-height: none;
}

.sidebar .navbar-links {
    top: 0;
    bottom: 0;
}



.detached .navbar-links {
    left: 0;
    right: 0;
    margin: 1.4rem;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}


.navbar-item {
    margin: 0.4em;
    width: 100%;
}

.scroll{
    position: relative;
    bottom:55px;
    right:30px;
}

.scoll-img{
    width:100px;
}

p.text{
    font-weight: 300;
}

li{
    font-weight: 300; 
}

.logo-wrench{
    width:35%;
}

.bg{
    background-image: url('../img/BG.jpg');
    background-size: cover;
}

.bg-two{
    background-color: #eaeaea;
}

.bg3{
    background-image: url('../img/BG.jpg');
    background-size: cover;
    background-position: bottom;
}



a.show-product{
    font-size:20px;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
}

img.show{
    cursor: pointer;
    border-radius:15px;
    height:180px;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  
  #myBtn:hover {
    background-color: #555;
  }

  
  .text-contact{
    color:white;
}

.text-contact-sub{
    display: none;
}

@media screen and (max-width:500px) {
    .scoll-img{
        width:25%;
    }

    .scroll{
        position: relative;
        bottom:55px;
        right:10px;
    }

    
    img.show{
    cursor: pointer;
    border-radius:15px;
    height:150px;
    }

    
    .logo-wrench{
    width:100%;
    }

    .bg{
        background-image: url('../img/geometry2.png');
        background-size: cover;
    }
    .bg3{
        background-image: url('../img/geometry2.png');
        background-size: cover;
        background-position: bottom;
    }

    .text-contact{
        color:black;
    }

    .text-contact-sub{
        display: block;
        color:black;
    }
}

@media screen and (min-width: 700px) {
    .navbar-toggle {
        display: none;
    }
    
    #navbar #navbar-menu,
    #navbar.opened #navbar-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block;
        height: 100%;
    }

    #navbar .navbar-links,
    #navbar.opened .navbar-links {
        margin: 0;
        padding: 0;
        box-shadow: none;
        position: static;
        flex-direction: row;
        list-style-type: none;
        max-height: max-content;
        width: 100%;
        height: 100%;
    }

    #navbar .navbar-link:last-child {
        margin-right: 0;
    }

    

}

#options {
    display: flex;
    flex-direction: column;
}

  