/* Font import. All pages use this font unless otherwise specified. */
@font-face {
  font-family: 'Plantin MT';
  font-style: normal;
  src: url("../fonts/PlantinMTProRg.TTF");
}
@font-face {
  font-family: 'Plantin MT';
  font-style: italic;
  src: url("../fonts/PlantinMTProRgIt.TTF");
}
@font-face {
  font-family: 'Plantin MT';
  font-weight: bold;
  src: url("../fonts/PlantinMTProSmBd.TTF");
}
@font-face {
  font-family: 'Plantin MT';
  font-weight: bold;
  font-style: italic;
  src: url("../fonts/PlantinMTProSemiBdIt.TTF");
}
@font-face {
  font-family: 'Plantin MT';
  font-weight: bolder;
  src: url("../fonts/PlantinMTProBold.TTF");
}
@font-face {
  font-family: 'Plantin MT';
  font-weight: bolder;
  font-style: italic;
  src: url("../fonts/PlantinMTProBoldIt.TTF");
}

body {
  margin: 0px;
  font-family: 'Plantin MT';
  height: 100%;
}

/* Top navigation bar for all pages */
.topnav {
  background-color: rgb(0, 0, 0);
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  padding-left: 5%;
  padding-right: 5%;
  margin: 0px;
}

/* Logo */
.topnav img {
  height: 45px;
  width: 130px;
  float: left;
  padding-left: 16px;
  padding-right: 16px;
}

/*Individual nav options*/
.topnav a {
  float: left;
  color: #f4f0f0;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #2c41ca;
  color: white;
}

.contactlink a {
  float: right;
  color: #f72424;
  background-color: transparent;
  height: 22px;
  width: 100px;
  font-size: 17px;
  border: 1px solid #f72424;
  border-radius: 4px;
  margin-right: 16px;
  margin-top: 10px;
  text-align: center;
  line-height: 22px;
  padding: 0px;
}

.contactlink a:hover {
  background-color: #f4f0f0;
  cursor: pointer;
}

/*Footer*/
.bottomnav {
  background-color: #a5a0a0;
  overflow: visible;
  display: flex;
  padding-top: 15px;
  padding-bottom: 10px;
  margin: 0px;
  flex-direction: column;
  width: 100%;
  position: absolute;
  justify-content: center;
  text-align: center;
}

/*Footer top logo image*/
.footlogo {
  float: center;
  height: 50px;
  width: 50px;
  top: -25px;
  position: absolute;
  overflow: visible;
  left: 50%;
  transform: translateX(-50%);
}

/*Footer right bar to separate from top*/
.footrtbar {
  position: absolute;
  height: 12px;
  width: 50%;
  transform: translateX(20px);
  top: -5px;
  right: 0%;
  background-color: black;
}

/*Footer left bars/image of 4 bars to match logo*/
.footltbar {
  position: absolute;
  height: 14px;
  width: 50%;
  left: 0%;
  top: -6px;
  transform: translateX(-20px);
  background-image: url("../images/Black-Lines.png");
  background-repeat: repeat;
  background-size: contain;
}

/*Footer disclaimer styling*/
.bottomnav p {
  font-size: 10px;
  text-align: center;
  padding-bottom: 0px;
  margin: 0px;
  padding-top: 5px;
  position: relative;
}

/*Footer image*/
.footimg {
  float: right;
  height: 110px;
  width: 130px;
  position: absolute;
  left: 90%;
  padding-bottom: 0px;
}

.bottomlinks {
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 5px;
  padding-bottom: 10px;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
  height: 20px;
  position: relative;
  display: flex;
}

/*Bottom nav links*/
.bottomlinks a{
  color: black;
  margin: 15px;
  text-decoration: underline;
  font-size: 16px;
  text-align: center;
}

/*Social Media Icons*/
.icons {
  padding-top: 5px; 
  padding-bottom: 5px;
  width: 100%;
  display: flex;
  justify-content: center;
  text-decoration: none;
  background-size: contain;
  background-color: transparent;
  position: relative;
}

.icons a {
  text-align: center;
  margin: 5px;
}

.icons img {
  height: 25px;
  width: 25px;
}

.icons img:hover{
  background-color: white;
}

/*Front page banner*/
.banner {
  width: 100%;
  height: 600px;
  position: relative;
}

/*Banner image/text divider*/
.hero-image {
  background-image: url("../images/Hero-Banner.png");
  height: 85%;
  width: 85%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position:absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*Left banner text*/
.hero-text-1 {
  text-align: left;
  position: absolute;
  top: 5%;
  left: 10%;
  transform: translate(-5%, -5%);
  color: black;
}

/*Left banner text*/
.hero-text-1 h1 {
  font-size: 50px;
  word-spacing: unset;
  display: table-caption;
}

/*Right banner text*/
.hero-text-2 {
  text-align: right;
  position: absolute;
  top: 70%;
  left: 87%;
  transform: translate(-95%, -95%);
  color: black;
  margin-right: -5%;
}

/*Instagram feed container*/
.instacontainer {
  background-image: url("../images/BonR_IronFloor.png");
  background-size: cover;
  background-repeat: repeat;
  width: 100%;
  height: 600px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*From Instagram text*/
.instacontainer h3 {
  background-color: black;
  font-size: 20px;
  color: white;
  position: absolute;
  top: -5%;
  left: 15%;
  height: 40px;
  width: 225px;
  line-height: 40px;
  text-align: center;
  overflow: hidden;
}

/*Image carousel*/
.carousel {
  position: absolute;
  width: 60%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 80%;
  background-color: #6375e7;
  margin: 0;
  padding: 0;
}

.instafeed {
  height: 100%;
  width: 100%;
  position: relative;
  align-content: center;
  justify-content: center;
  align-items: center;
  display: flex;
  justify-items: center;
}

.slide {
  display: none;
  transition: transform 0.5s ease;
  position: relative;
  height: 90%;
  width: 95%;
  margin: 0;
  padding: 0;
  align-content: center;
  align-items: center;
}

/*Individual Instagram images*/
.slide img {
  width: 45%;
  height: 100%;
  float: right;
  position: relative;
}

.slide p {
  width: 45%;
  height: 90%;
  float: left;
  position: relative;
  text-align: center;
  text-justify: center;
  left: 5%;
  top: 5%;
  font-size: 18px;
}

/*Carousel buttons*/
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  height: 98px;
  width: 75px;
  background-size: contain;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 50px;
  background-image: url("../images/LeftArrow.png");
}

.next {
  right: 50px;
  background-image: url("../images/RightArrow.png");
}

/*Hack Club donation link*/
.hackclub {
  margin: 0px;
  display: flex;
  justify-content: center;
  height: 1000px;
  width: 100%;
}

.hackclub iframe {
  height: auto;
  width: 100%; 
  border: none;
}

/*Contact us page container*/
.contactus {
  position: relative;
  background-image: url("../images/RonB_DeckWood.png");
  background-size: cover;
  background-repeat: repeat;
  width: 100%;
  justify-content: center;
  height: auto;
  padding-top: 15px;
  padding-bottom: 40px;
}

/*Form labels*/
.contactus label {
  float: center;
  text-align: center;
  font-size: 24px;
  display: block;
  margin-top: 10px;
}

/*Contact Us Text Inputs*/
input[type=text], select, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  left: 50%;
  transform: translatex(-50%);
  display: block;
  box-sizing: border-box;
  float: center;
  position: relative;
}

/*Contact Us submit button*/
input[type=submit] {
  background-color: black;
  color: white;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 4px;
  border: none;
  float: center;
  position: relative;
  text-align: center;
  display: block;
  left: 50%;
  transform: translatex(-50%);
}

/*Contact us page smaller inputs*/
.shortinput {
  width: 25%;
}

.underconstruction {
  width: 100%;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-items: center;
}

.underconstruction img {
  height: 70%;
  width: auto;
}