@font-face{
  font-family: 'Raleway';
  src:url('/css/fonts/Raleway-Regular.ttf') format('truetype');
}
@font-face{
  font-family: 'Raleway';
  src:url('/css/fonts/Raleway-Bold.ttf') format('truetype');
  font-weight:bold;
}
@font-face{
  font-family: 'Raleway';
  src:url('/css/fonts/Raleway-RegularItalic.ttf') format('truetype');
  font-style:italic
}

:root{
  --base1:darkgreen;
  --base2:#FD5F00;
  --base-color-hover:rgba(253,95,0,0.7);
  background: #F9F9FA;
}

body{
  font-family: Raleway,Gill, Arial, Helvetica, sans-serif;
  font-size: 15px;
  background: #F1F1F1;
  box-sizing: border-box;
  line-height: 1.8;
  margin-left: 0px; 
  margin-top: 0px;
}

.top{
  position: fixed;
  width: 100%;
  background-color: white;
  z-index: 1;
  overflow: hidden;
  border-bottom: 1px solid lightgray;
  box-shadow: 0px 2px 1px 1px lightgray;
}

.top a{
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
  line-height: 2em;
}

.top-right{
  float: right;
  font-weight: bold;
}

.top a:hover{
  background-color: #ddd;
  color: black;
  cursor: pointer;
}

.top-image{
  height: 2em;
}

.nav-image{
  margin-right: 0.5em;
}

.button{
  text-decoration: none;
  color: black;
  padding: 15px;
  background-color: lightgrey;
  font-weight: bold;
  font-size: 18px;
}

.button:hover{
  background: grey;
  cursor: pointer;
}

#d_copyright{
  color: white;
  font-style: italic;
  font-size: 12px;
  margin-top: 1.5em;
  margin-left: -4em;
}

.block{
  padding-top:7em; 
  padding-left: 2em;
  padding-bottom: 1em;
}

.block .title{
  font-weight: bold;
  font-size: 40px;
  text-align: center;
}
.block p{
  text-align: center;
}

#home{
  height: 100%;
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,121,45,1) 100%, rgba(0,212,255,1) 100%);
}

#d_home_text{
  position: relative;
  margin-top: 10vh;
  overflow: hidden;
}
#d_home_title{
  font-size: 70px;
  font-weight: bold;
  color: var(--base1);
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
#d_home_subtitle{
  margin-top: -30px;
  color: var(--base2);
  font-size:23px;
  overflow: hidden;
}

#a_home_button{
  color: black;
  text-decoration: none;
  background: lightgray;
  padding: 5px;
  font-weight: bold;
  font-size: 15px;
  border:2px solid var(--base2);
}
#home img{
  margin-left: auto;
  height: 30px;
  vertical-align: bottom;
}
#d_home_footer{
  position: absolute;
  bottom: 5%;
  width: 90%;
  display: flex;
}


#a_home_button:hover{
  background: var(--base2);
}

@media (min-width: 710px){
  #d_home_title{
    font-size: calc(10px + 10vw);
  }
  #d_home_subtitle{
    font-size: calc(4px + 3vw);
  }
  #a_home_button{
    color: black;
    text-decoration: none;
    background: lightgray;
    padding: calc(5px + 1vw);
    font-weight: bold;
    font-size: calc(15px + 0.5vw);
    border:3px solid var(--base2);
  }
  #home img{
    margin-left: auto;
    height: calc(30px + 3vw);
    vertical-align: bottom;
  }
}
@media (min-width: 960px){
  #d_home_title{
    font-size: 100px;
  }
  #d_home_subtitle{
    font-size: 40px;
  }
    #a_home_button{
    color: black;
    text-decoration: none;
    background: lightgray;
    padding: 15px;
    font-weight: bold;
    font-size: 20px;
    border:4px solid var(--base2);
    word-wrap: normal;
  }
  #home img{
    margin-left: auto;
    height: 65px;
    vertical-align: bottom;
  }
}

@media (max-height:380px ){
  #d_home_title{
    font-size: 15vh;
  }
  #d_home_subtitle{
    font-size: 5vh;
  }
}

#product{
  background: white;
  text-align: center;
}

.d_product_block{
  margin-top: 50px;
  display: inline-block;
  width: 300px;
  border: 4px solid var(--base2);
  padding: 10px;
  background: #F1F1F1;
  line-height: 25px;
  box-shadow: 1px 1px 10px 1px black;
}
.d_product_block img{
  width: 250px;
}
.d_product_block div:nth-of-type(1){
  border-bottom: 1px solid var(--base2);
}
.d_product_block div:nth-of-type(2){
  text-align: left;
}

.d_product_block div:nth-of-type(3){
  margin-top: 10px;
  margin-bottom: 5px;
}

.d_product_block div:nth-of-type(3) a{
  color: black;
  text-decoration: none;
  background: lightgray;
  padding: 10px;
  font-weight: bold;
  font-size: 18px;
  border:2px solid var(--base2);
  box-shadow: 1px 1px 1px 1px black;
}
.d_product_block div:nth-of-type(3) a:hover{
  background-color: var(--base2);
}

.d_product_block div:nth-of-type(4){
  margin: 30px 0px 0px 0px;
}
.d_product_block div:nth-of-type(4) a{
  color: var(--base2);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-decoration: underline;
}


#about{
  padding-right: 25px;
}
#about a{
  text-decoration: none;
  font-weight: bold;
  color: var(--base2);
}
#about ul{
  text-align: center;
}

#contact{
  background: white;
  padding-right: 25px;
}

#addr{
  text-align: center;
  line-height: 20px;
  color: grey;
}

#addr div:nth-of-type(1){
  font-weight: bold;
}

#d_about_lsitwrapper{
  background: white;
  width: 50%;
  margin: auto;
  border: 1px solid var(--base2);
  padding: 5px;
}

#d_footer{
  height: 20em;
  background: black;
  position: relative;
}

#d_footer_content{
  position: absolute;
  top: 10%;
  left: 45%;
}
