
.layout-sidebar {
    display: grid;
    gap: 10px;
    grid-template-columns: 2fr 1fr;
}

/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
 
 padding: 0rem !important;
  /* max-width: 42em; */
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem !important;
  padding:10px;
  background-color: #333;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
  height:100%
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
  background-color: #333;
}



.background-home {
  background-image: url("/img/npj_bariplaying.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
}

.home, .about {
  overflow-y: scroll;
}

.homecontent {
  color: #fff;
  opacity: 80%;
  padding: 10px;
  background-color: #333;
  border-radius: 20px;
}
.homespacer{
  min-height:70vh;
}

.homescrolling {
  color: #fff;
  opacity: 80%;
  padding: 20px;
  background-color: #333;
  border-radius: 20px;
  text-align: left;
  margin-bottom: 20px;
}


.background-about {
  background-image: url("/img/npj_bari.jpg");
  background-size: cover;
  background-position-y: -50px;
}

/* .background-about:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-image: url('/img/npj_bari.jpg');
  background-repeat: no-repeat;
  background-position: 0% 0;
  background-size: cover;
} */

/* .aboutrow{
  margin-bottom:20px;
} */

.aboutimg{
  border-radius: 20px;
  border:10px solid #333;
  background-position-x: -30px;
}

.aboutimg1 {
  background-image: url("/img/npj_bodmin.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
  height:400px;
}

.aboutimg2 {
  background-image: url("/img/npj_early.jpg");
  background-size: cover;
  background-position-y: -100px;
  height:400px;
}

.aboutimg3 {
  background-image: url("/img/npj_saltash.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
  height:400px;
  
}

.aboutimg4 {
  background-image: url("/img/npj_bariplaying.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
  height: 400px;
  background-position-x: 0px;
}

.aboutimg5 {
  background-image: url("/img/npj_ross.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
  height:400px;
}

.aboutimg6 {
  background-image: url("/img/npj_cups.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
  height:400px;
}

@media screen and (min-width: 420px) {
  .aboutimg {
    background-position-x: 0px;
  }
}

.abouttext{
  text-align: left;
  border-radius: 20px;
  background-color: #333;
  padding:20px;
  height:100%;
}

.contact{
  padding: 0px;
}

.contactcontent{
  max-width:90%;
  opacity: 100;
  padding:0px;
  padding-bottom: 10px;
}

.contact .container {
  padding:0px;
  padding-bottom: 10px;
} 

@media screen and (min-width: 570px) {
  .contactcontent {
    max-width:70%;
    padding:15px;
  }
  .contact{
    padding: 0 1.5rem;
  }
  
}

.background-contact {
  background-image: url("/img/npj_bariplaying.jpg");
  background-size: cover;
  /* background-position-y: -50px; */
}

input, textarea {
  width:95%;
  margin-top:10px;
}



.submit {
  width:150px
}

.col-lg-6 {
  margin-bottom: 20px;;
}

#submitBtn {
  border-radius: 5px;
  padding:10px;
}