@charset "utf-8";

/* Standard */
:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   font: 0.875em/1.3em Arial, "Segoe UI", Calibri, sans-serif;
   color: #000;
}

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 930px;
   border: solid 1px #000;
   background: url('../images/bgt.jpg') no-repeat top, url('../images/bgb.jpg') no-repeat bottom, #fff;
   padding: 2.5rem 1rem 0.5rem;
}


p {
   padding-bottom: 0.5rem;
}

h1 {
   margin: 1rem 0rem 0rem;
   font-size: 1em;
   line-height: 1.1em;
   font-weight: 400;
}

h1 small {
   font-size: 0.7em;
}

h1 span {
   display: block;
   font-size: 1.188em;
   color: #EA9021;
   padding-bottom: 0.5rem;
}

h2 {
   font-size: 1.75em;
   line-height: 1.2;
   text-align: center;
}

h2 span {
   display: block;
   padding: 1rem 0 0 2rem;
   text-align: left;
}

h3 {
   font-size: 1.313em;
   line-height: 1.3;
   margin: -16px 0 0.7rem -2rem;
   transform: rotate(-2deg);
}

h4 {
   text-align: center;
   color: #A2B5BE;
   line-height: 1.3;
   margin: 0 0 -6px;
   font-size: 1.45em;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

header {
   margin: 0 14rem 3rem -1rem;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;

}

header section {
   position: relative;
}

header section:first-of-type p {
   padding: 1rem 0 0 8rem;
   font-size: 1.313em;
}

header section:last-of-type p {
   display: flex;
   gap: 0.5rem;
}

.time {
   position: absolute;
   top: 19px;
   right: -10rem;
}

.title {
   display: flex;
   gap: 1rem;
   margin: 0 0 3rem -1rem;
}

p a.mail {
   color: #EA9021;
}

.phone {
   display: flex;
   gap: 0.3rem;
   justify-content: flex-end;
}

footer {
   position: absolute;
   right: 1rem;
   bottom: 1rem;
}

footer p {
   padding-bottom: 0;
   text-align: right;
}

.images {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   width: 54%;
   padding: 3rem 0 0;
}

img {
   max-width: 100%;
   height: auto;
}

@media only screen and (max-width:928px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      background: #fff;
   }

   p {
      text-align: left;
   }

   p :is(span, a) {
      display: inline-block;
   }

   .hide_m,
   h2 br {
      display: none;
   }

   header {
      margin: 0 0 1rem;
   }
   h3{
    margin: 0 0 1rem;
   }
   .time{
    position: static;
   }


}
@media only screen and (max-width:790px){
    header{
        display: block;
    }
    header section:first-of-type p{
        margin: 0 0 1rem;
        text-align: center;
    }
}
@media only screen and (max-width:600px){
    footer{
        position: static;
    }
    footer p{
        text-align: left;
    }
    .phone{
        justify-content: start;
    }
    .images{
        width: 100%;
        padding: 2rem 0;
    }
}
