:root {
    --accent: rgba(255, 87, 34, 1);
    --dark-grey: #242424;
    --light-grey: rgb(242 242 242);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: unset;
    scroll-behavior: smooth;
}

header {
    width: 100%;
    background-color: rgb(241 241 241);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    margin: unset;
    padding-left: 1em;
}

img {
    width: 160px;
    height: 80px;
}

#logo-btn {
    padding: unset;
}

nav a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    color: rgb(255 87 34);

    padding: 0.7em
}

nav {
    width: 100%;
}


#go-top{
    right: 0;
    position: fixed;
    bottom: 0;
  }
  
  #go-top > button{
    display: none;
    border: unset;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 0.5em;
  }

  #up-arrow{
    width: 30px;
    height: 30px;
  }

#section-services-wrap {
    width: 100%;
    margin-bottom: 5em;
}

#section-services {
    width: inherit;
    height: 54em;
    background-image: url('/img/repair-work.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 1;
    transition: opacity 0.5s;
    display: flex;
}

#elements-wrap {
    align-self: center;
    height: 50%;
    width: 100%;
    background-color: transparent;
    text-align: center;
    font-size: 1.5em;
    color: var(--accent);
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 1;
    position: relative;
}

@keyframes mymove {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        left: 0%;
        opacity: 1;
    }
}

#title {
    width: 65%;
    color: var(--accent);
    display: block;
    position: absolute;
}

#title-element1 {
    opacity: 0;
    width: 65%;
    padding-top: 3em;
    color: var(--accent);
    display: block;
    /* position: absolute; */
    animation: mymove 1.2s linear;
    animation-fill-mode: forwards;
}

#title-element2 {
    opacity: 0;
    width: 65%;
    /* padding-top: 5em; */
    color: var(--accent);
    display: block;
    /* position: absolute; */


    animation: mymove 1.2s linear;
    animation-fill-mode: forwards;
    animation-delay: 1.2s;
}

#title-element3 {
    opacity: 0;
    width: 65%;
    /* padding-top: 7em; */
    color: var(--accent);
    display: block;
    /* position: absolute; */

    animation: mymove 1.2s linear;
    animation-fill-mode: forwards;
    animation-delay: 2.4s;
}

.title-border {
    border-left: 10px solid var(--accent);
    padding-left: 0.5em;
}

.subtitle-border {
    text-decoration: none;
    opacity: 0.6;
    font-weight: 400;
}

.repair-service-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0em 5em 0em 5em;
}

.repair-service-text {
    width: 65%;
    margin-top: 5em;
}

.repair-service-text-body {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    margin: 1em 0em;
    font-size: 1.25rem;
}

.repair-service-img {
    width:50%;
    height:auto;
    min-width: 18em;
}



.repair-service-img>img {
    width: 100%;
    object-fit: cover;
    height: auto;
}

/* #wd-repair-img::before {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
    border: 10px solid var(--accent);
    height: 100%;
    width: 100%;
    left: 1.5em;
    top: 1.5em;
} */
.table-layout {
    display: flex;
    margin: 0em 5em;
}

#plaster-types-wrap{
    display: flex;
    flex-direction: column;
}

#plaster-types-wrap > div{
    display: flex;
    flex-direction: row;
    height:50%;
}

table {
    border: 1px solid var(--dark-grey);
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 50em;
    table-layout: fixed;
}

table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

table th,
table td {
    padding: .625em;
    text-align: center;
}

table tr:hover {
    background-color: rgba(167, 167, 167, 0.3);
}

table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: var(--dark-grey);
    flex-wrap: wrap;
}

footer>div {
    color: white;
    width: auto;
    margin: 3em 2em;
    min-width: 15em;
    max-height: 20em;
    overflow: hidden;
}

footer>div h5 {
    text-align: left;
}

footer>div img {
    width: 50px;
    height: 50px;
}

.service-ref {
    text-decoration: none;
    color: var(--accent);
}

.service-ref:hover {
    color: var(--accent);
}

#copyright {
    flex-basis: 100%;
    text-align: center;
    margin: unset;
    font-weight: 100;
    opacity: 0.6;
}

@media(min-width: 992px) {
    .navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item:hover .dropdown-menu{ display: block; }
    .navbar .nav-item .dropdown-menu{ margin-top:0; }
}

a {
    color: inherit;
    text-decoration: none; /* no underline */
  }

  a:hover {
    color: inherit;
    text-decoration: none; /* no underline */
  }

  @media (min-width : 768px) and (max-width : 1200px) {
    #elements-wrap > h3{
        font-size: 1em;
    }

    #elements-wrap > h1{
        font-size: 1.5em;
    }
    
    #section-services{
        height: 40em;
      }

      .repair-service-wrap{
        margin-bottom: 1em;
      }

      .repair-service-img{
        width:50%;
      }

      .repair-service-text{
        width: 100%;

      }

      #repair-service-wrap2{
        flex-direction: column-reverse;
      }

      .table-layout > .repair-service-img {
        display: none !important;
      }

      .table-layout{
        justify-content: flex-start !important;
        flex-wrap: wrap;
      }

      footer {
        justify-content: space-around;
        padding: 1em;
      }
  
      footer>div {
        margin: 1em 1em;
        font-size: 0.8em;
      }
  
      footer>div img {
        width: 40px;
        height: 40px;
      }
  }

  @media (max-width: 768px){
    #elements-wrap{
        letter-spacing: 0px;
    } 
    
    #elements-wrap > h3{
        font-size: 0.8em;
    }

    #elements-wrap > h1{
        font-size: 1.2em;
    }
    
    #section-services{
          height: 40em;
      }

      .repair-service-wrap{
          margin: 5em 2em 1em 2em;
      }

      .repair-service-img{
        width:50%;
      }

      .repair-service-text{
          width: 100%;

      }

      #repair-service-wrap2{
          flex-direction: column-reverse;
      }

      .table-layout > .repair-service-img {
          display: none !important;
      }

      /* table{
          font-size: 0.7em;
      } */

      .table-layout{
          justify-content: flex-start !important;
          flex-wrap: wrap;
          margin: 0em 2em;
      }

      .repair-service-img {
        min-width: 0em;
    }

    footer {
        justify-content: space-around;
        padding: 1em;
      }
  
      footer>div {
        margin: 1em 1em;
        font-size: 0.6em;
      }
  
      footer>div img {
        width: 35px;
        height: 35px;
      }
  
      footer>div h5 {
        font-size: 1.2em;
      }
  }