@font-face {
    font-family: 'Rift';
    src:    url('../fonts/rift-bold.woff2') format('woff2'),
            url('../fonts/rift-bold.woff') format('woff');
    font-weight: 700;
}
@font-face {
    font-family: 'Rift';
    src:    url('../fonts/rift-regular.woff2') format('woff2'),
            url('../fonts/rift-regular.woff') format('woff');
    font-weight: 400;
}
@font-face {
    font-family: 'Rift Soft';
    src:    url('../fonts/riftSoft-boldItalic.woff2') format('woff2'),
            url('../fonts/riftSoft-boldItalic.woff') format('woff');
    font-weight: 700;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: 'Arial';
    font-weight: 300;
    line-height: 1.5;
}

body::before {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    content: '';
    z-index: -1;
}
main {
    display: flex;
    height: 100%;
    min-height:100vh;
    align-items: center;
    justify-content: center;
}

figure.logo {
    display: block;
    width: auto;
    height: 120px;
    margin: 10px auto;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    font-size: 0;
    text-indent: -9999;
}
article {
    max-width: 800px;
    width: 100%;
    margin: 1.5rem;
    padding: 2rem;
    background-color: white;
    border: 3px solid black;
    -webkit-box-shadow: 0px 15px 30px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 15px 30px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 15px 30px 0px rgba(0,0,0,0.15);
}
@media only screen and (max-width : 786px) {
    article {
        padding: 2rem;
    }
}
@media only screen and (max-width : 586px) {
    article {
        padding: 1.5rem;
    }
}

a {
    color: #80ac3f;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

a.btn {
    display: inline-block;
    padding: .5rem 1rem;
    transition: color .2s linear, border .2s linear, background .2s linear;
    -webkit-transition: color .2s linear, border .2s linear, background .2s linear;
    -moz-transition: color .2s linear, border .2s linear, background .2s linear;
    background-color: transparent;
    border: 2px solid black;
    color: black;
    text-decoration: none;
}
a.btn:hover {
    border: 2px solid #80ac3f;
    color: #80ac3f;
}

a.icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: .125rem;
    transition: color .2s linear, border .2s linear, background .2s linear;
    -webkit-transition: color .2s linear, border .2s linear, background .2s linear;
    -moz-transition: color .2s linear, border .2s linear, background .2s linear;
    background-color: transparent;
    border: 1px solid black;
    color: black;
    border-radius: 100%;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
}
a.icon:hover {
    border: 1px solid #80ac3f;
    color: #80ac3f;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: 'Arial';
    font-weight: 600;
    line-height: 1.2;
    font-style: normal;
}

h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #80ac3f;
}
@media only screen and (max-width : 586px) {
    h1 {
        font-size: 2rem;
    }
}
h2 {
    margin-bottom: .75rem;
    font-size: 2rem;
}
h3 {
    margin-bottom: .5rem;
    font-size: 1.5rem;
}
h4 {
    margin-bottom: .25rem;
    font-size: 1.25rem;
}

address {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-style: normal;
}

.navbar {
    text-align: center;
}

.topnav {
    display: inline-block;
     text-align: center;
     overflow: hidden;
  margin-bottom: 20px;
}

.topnav a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  color: #80ac3f;
}

.topnav a.active {
    font-weight: bold;
    color: #80ac3f;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 800px) {
  .topnav a:not(.active) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    border: 0;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

ul {
    list-style: inside;
}
