@font-face {
    font-family: maison;
    font-display:swap;
    src:    url("https://americanrails.us/assets/fonts/MaisonNeue-Book.woff2") format("woff2"),/* */
            url("https://americanrails.us/assets/fonts/MaisonNeue-Book.woff") format("woff");/* */
    font-weight:300;
    font-style:normal
}

@font-face {
    font-family: para;
    font-display:swap;
    src:    url("https://americanrails.us/assets/fonts/ParaSupreme-LightFine.woff2") format("woff2"),/* */
            url("https://americanrails.us/assets/fonts/ParaSupreme-LightFine.woff") format("woff");/* */
    font-weight:300;
    font-style:normal
}

@font-face {
    font-family: bon;
    font-display:swap;
    src:    url("https://americanrails.us/assets/fonts/Bon.woff2") format("woff2"); /* */
    font-weight:400;
    font-style:normal
}

@font-face {
    font-family: bonitalic;
    font-display:swap;
    src:    url("https://americanrails.us/assets/fonts/Bonitalic.woff2") format("woff2"),/* */
            url("https://americanrails.us/assets/fonts/Bonitalic.woff") format("woff");
    font-weight:400;
    font-style:normal
}

* {
    margin: 0;
    box-sizing: border-box;
    position: relative;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: maison;
    margin: 0;
}

h1 {
    font-size: 80px;
    letter-spacing: 1px;
    line-height: 65px;
}
.jumbotron h1 {
    text-shadow: 0 0 20px #00000026;
}
h2 {
    font-size: 50px;
    margin: 30px 0;
    font-family: para;
}
h3 {
    font-size: 27px;
    letter-spacing: 1px;
}
p {
    font-size: 20px;
    line-height: 30px;
    margin: 20px 0;
}
p.subtitle {
    font-family: "Haas Light";
    letter-spacing:2px;
    font-size: 30px;
}
p.subtext {
    font-size: 20px;
    margin: 10px 0 20px 0;
}

nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px 0;
}
nav div:last-of-type {
    margin-left: auto;
}
logo {
    background: #ffffff45;
    color: white;
    padding: 5px;
    font-size: 20px;
}
nav a {
    display: inline-block;
    padding: 0 20px;
    transition: 0.12s;
    transition-property: color;
}
nav a:hover {
    color: white;
}
nav div:first-of-type a {
    padding: 0;
}
nav p {
    font-size: 22px;
}
[page=products] nav logo {
    background: #89898945;
    color: black;
}
[page=products] nav a:hover {
    color: #5a5a5a;
}
[page=products] nav a.active {
    color: black;
}
.product .col-2 div:first-of-type p:first-of-type {
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1px;
    margin-bottom: 0;
}
.product .col-2 div:first-of-type p:last-of-type {
    margin-top: -8px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'para';
    font-weight: 600;
    font-size: 14px;
}
.product .col-2 div:last-of-type p {
    text-align: right;
    opacity: 0.6;
}
section.jumbotron {
    color: white;
}
section.jumbotron div.container {
    padding: 100px 0;
    padding-bottom: 0;
}
section.jumbotron.rails {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.66) 10%, rgba(0, 0, 0, 0) 30%),
    url("https://images.unsplash.com/photo-1576400883215-7083980b6193?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1413&q=80");
    background-position: center;
    background-size: cover;
}
section.jumbotron.rails .panel {
    margin-bottom: -112px;
    box-shadow: 0px 4px 24px -2px rgb(0 0 0 / 14%);
    -webkit-box-shadow: 0px 4px 24px -2px rgb(0 0 0 / 14%);
    -moz-box-shadow: 0px 4px 24px -2px rgb(0 0 0 / 14%);
}

section.points h3 {
    margin-bottom: 20px;
}

section.rail {
    background-image: url("../img/11a.png");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}
section.rail .container {
    padding: 200px 0;
}
section.rail .btn {
    display: inline-block;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}
hr.bigspacer {
    border: none;
    padding: 100px 0;
}

.col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
}
.col-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
}

.panel {
    background: white;
    color: black;
    padding: 35px;
    border-radius: 4px;
    z-index: 1;
}
.panel-outline {
    border: 1px solid #00000026;
}
.panel p i {
    font-size: 24px;
}

.mw-380 {
    max-width: 380px;
    margin-left: auto;
}

arlogo {
    background: black;
    color: white;
    font-size: 10px;
    padding: 5px;
    position: relative;
    top: -6px;
}

a {
    color: #bbbbbb;
    text-decoration: none;
}
a.active {
    color: white;
}
.btn {
    background: black;
    border-radius: 3px;
    color: white;
    display: block;
    padding: 11px;
    text-align: center;
    transition: 0.12s;
    transition-property: background;
    width: 100%;
    margin-bottom: 10px;
    margin-right: 10px;
}
.btn:hover {
    background: rgb(44, 44, 44);
}
.btn i {
    padding-left: 15px;
    font-size: 14px;
}
.btn-secondary {
    background: #bdbdbd59;
    border-radius: 30px;
    padding: 1px 32px;
}
.btn-outline {
    border: 1px solid black;
    color: black;
    background: white;
}
.btn-outline:hover {
    background: rgb(202 202 202);
}
body[page=rails] section.jumbotron .btn.btn-secondary-outline {
    border: 1px solid white;
    color: white;
    background: none;
}
body[page=rails] section.jumbotron .btn.btn-secondary-outline:hover {
    background:rgb(44, 44, 44);
}
[page=rails] .jumbotron .col-2 div:first-of-type h3 {
    font-weight: 300;
}

footer {
    background: #161616;
    color: white;
    padding: 100px 0;
}
footer h2 {
    margin: 0;
    margin-top: -20px;
}
.text-muted {
    opacity: 0.33;
}
.text-center {
    text-align: center;
}
.small {
    font-size: 14px;
    line-height: 20px;
}

img {
    border-radius: 5px;
    width: 100%;
}

body[page=rails] section.jumbotron {
    color: white;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.66) , rgba(0, 0, 0, 0) 30%), url("../img/11a.png");
    background-position: 75%;
    background-size: cover;
}

body[page=rails] section.jumbotron .btn {
    display: inline-block;
    width: auto;
}

body[page=rails] section.jumbotron arlogo,
body[page=rails] section.jumbotron .btn {
    background: white;
    color: black;
    border: 1px solid white;
}
body[page=rails] section.jumbotron .btn:hover {
    background: rgb(180 180 180);
    border-color: rgb(180 180 180);
}

@media screen and (max-width: 768px) {
    .col-3 {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
}
@media screen and (max-width: 500px) {
    .col-2 {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    nav {
        grid-template-columns: 1fr 3fr;
    }
    h1 {
        font-size: 60px;
    }
    p.subtitle {
        font-size: 25px;
    }
}