/**
 * Unumico - A simple but nice one-page website template.
 * ======================================================
 * Copyright (c) 2017 TheDragonRing <hello@thedragonring.me>, under the MIT License.
 */

/* GLOBAL */

@import url("fontawesome-4.7.0/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");
* {
  box-sizing: border-box;
  color: #fff;
}

*:focus {
  outline-color: #a61419;
}

html:before {
  content: "";
  z-index: -1;
  background-image: url("images/background.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-filter: brightness(75%);
  filter: brightness(75%);
  position: fixed;
  display: block;
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 500px) {
  html:before {
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
  }
}

body {
  visibility: hidden;
  padding: 5% 25%;
}

@media screen and (max-width: 1125px) {
  body {
    padding: 5% 10%;
    padding-bottom: 7.5%;
  }
}

@media screen and (max-width: 500px) {
  body {
    padding: 5%;
    padding-bottom: 17.5%;
  }
}

a {
  border-bottom: 1px dotted #fff;
  text-decoration: none;
  color: #fff;
}

/* CODE, PREFORMATTED & BLOCKQUOTE ELEMENTS */

code {
  font-family: Inconsolata, Monaco, Consolas, "Courier New", Courier;
  background-color: rgba(51, 52, 53, 0.5);
  border-radius: 5px;
  padding: 3px;
}

pre {
  font-family: Inconsolata, Monaco, Consolas, "Courier New", Courier;
  background-color: rgba(51, 52, 53, 0.5);
  white-space: -moz-pre-wrap;
  white-space: -o-pre-wrap;
  white-space: pre-wrap;
  border: 1px solid #fff;
  text-transform: none;
  border-radius: 5px;
  padding: 15px;
  width: 100%;
}

blockquote {
  font: 20px "Source Sans Pro", sans-serif;
  background-color: rgba(1, 2, 3, 0.30);
  border-bottom-right-radius: 15px;
  border-top-right-radius: 15px;
  border-left: 5px solid #fff;
  text-transform: none;
  font-weight: 1000;
  font-style: italic;
  padding: 10px;
}

/* HORIZONTAL & VERTICAL RULES */

hr {
  border: 0;
  background-color: #333;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75));
  text-align: center;
  height: 1px;
}

hr:not(.vertical) {
  margin: 50px 0;
}

hr:not(.vertical)::after {
  content: "\f02e";
  font-family: "FontAwesome";
  display: inline-block;
  position: relative;
  padding: 0 0.25em;
  font-size: 1.5em;
  top: -0.5em;
}

hr.vertical {
  border-bottom: 1px dashed #fff;
  transform: rotate(90deg);
  text-align: center;
  display: inline-block;
  background-color: #999;
  width: 5%;
}

.option+hr {
  margin-top: 100px;
}

/* HIGHLIGHTED TEXT */

::selection {
  background-color: #a61419;
}

::-moz-selection {
  background-color: #a61419;
}

/* HOME PAGE */

#home {
  text-transform: uppercase;
  text-align: center;
  margin-top: 5%;
  padding: 15px;
  width: 100%;
}

#home img {
  border: 1px solid #fff;
  border-radius: 100%;
  height: 20%;
  width: 20%;
}

#home h1 {
  font: 50px "Source Sans Pro", sans-serif;
  letter-spacing: 3px;
  font-weight: 600;
  margin: 15px;
}

#home p {
  font: 20px "Source Sans Pro", sans-serif;
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
  padding: 15px;
}

/* MENU */

#home ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
}

#home ul li {
  display: inline-block;
  padding: 15px 0px;
}

#home ul li a {
  font: 20px "Source Sans Pro", sans-serif;
  border: 1px solid #fff;
  padding: 8px 16px;
}

#home li a:hover {
  background-color: rgba(51, 52, 53, 0.5);
}

#home li a:active {
  background-color: rgba(255, 255, 255, 0.75);
  color: rgba(0, 0, 0, 0.5);
}

#home ul li:first-child a {
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
}

#home ul li:last-child a {
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

@media screen and (max-width: 500px) {
  #home img {
    height: 30%;
    width: 30%;
  }
}

@media screen and (max-width: 750px) {
  #home p {
    font-size: 15px;
  }
  #home ul li {
    padding: 3px;
    width: 62.5%;
  }
  #home ul li a {
    font: 15px "Source Sans Pro", sans-serif;
    display: block;
  }
  #home ul li:first-child a {
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  #home ul li:last-child a {
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

/* OTHER PAGES */

article {
  background-color: rgba(1, 2, 3, 0.25);
  text-transform: uppercase;
  border: 1px solid #fff;
  display: none;
  padding: 15px;
  width: 100%;
}

article img {
  border: 1px solid #fff;
  border-radius: 5px;
  width: 100%;
}

/* HEADERS & TEXT */

article h1 {
  font: 50px "Source Sans Pro", sans-serif;
  text-decoration: underline;
  font-weight: 600;
}

article h2 {
  font: 40px "Source Sans Pro", sans-serif;
  font-weight: 600;
}

article h3 {
  font: 35px "Source Sans Pro", sans-serif;
  font-weight: 600;
}

article h4 {
  font: 30px "Source Sans Pro", sans-serif;
  font-weight: 600;
}

article h5 {
  font: 25px "Source Sans Pro", sans-serif;
  font-weight: 600;
}

article h6 {
  font: 20px "Source Sans Pro", sans-serif;
  font-weight: 600;
}

article p, article li {
  font: 20px "Source Sans Pro", sans-serif;
  text-transform: none;
  margin: none;
}

/* ICONS */

article i.close {
  border-radius: 100%;
  float: right;
}

article ul.icons {
  list-style-type: none;
  padding: 0;
}

article ul.icons li {
  border: 1px solid #fff;
  display: inline-block;
  line-height: 3rem;
  border-radius: 100%;
  text-align: center;
  height: 3rem;
  width: 3rem;
  margin: 5px;
}

article ul.icons li svg {
  vertical-align: text-bottom;
  display: inline-block;
  width: 1.5rem;
}

article ul.icons li:hover, article i.close:hover {
  background-color: rgba(51, 52, 53, 0.5);
}

/* BUTTONS */

article ul.buttons {
  list-style-type: none;
  padding: 0;
}

article ul.buttons li {
  padding: 15px 0px;
}

article ul.buttons:not(.vertical) li {
  display: inline-block;
}

article ul.buttons li a {
  font: 20px "Source Sans Pro", sans-serif;
  text-transform: uppercase;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 8px 16px;
}

article ul.buttons li a.special {
  background-color: rgba(255, 255, 255, 0.75);
  color: #000;
}

article ul.buttons li a.special i {
  color: #000;
}

article ul.buttons li a.small {
  font: 15px "Source Sans Pro", sans-serif;
  padding: 6px 12px;
}

article ul.buttons li a i {
  padding-right: 15px;
}

article ul.buttons li a.disabled {
  background-color: rgba(51, 52, 53, 0.5);
  border-color: rgba(255, 255, 255, 0.75);
  color: rgba(255, 255, 255, 0.75);
}

article ul.buttons li a:hover {
  background-color: rgba(51, 52, 53, 0.5);
}

article ul.buttons li a.special:hover {
  background-color: rgba(251, 252, 253, 0.5);
  color: #000;
}

article ul.buttons li a:active {
  background-color: rgba(255, 255, 255, 0.75);
  color: rgba(0, 0, 0, 0.5);
}

article ul.buttons li a.disabled:active {
  background-color: rgba(51, 52, 53, 0.5);
  color: rgba(255, 255, 255, 0.75);
}

article ul.buttons li a.special:active {
  background-color: rgba(0, 0, 0, 0.75);
  color: rgba(255, 255, 255, 0.75);
  border-color: #fff;
}

/* OPTIONS */

select {
  font: 20px "Source Sans Pro", sans-serif;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 15px;
  width: 100%;
  color: #fff;
}

select option {
  background-color: rgba(1, 2, 3, 0.75);
}

input[type="radio"], input[type="checkbox"] {
  display: none;
}

.option:not(.right) {
  padding-left: 50px;
}

.option label {
  position: relative;
}

.option input[type="radio"]:checked+label span.radio::after {
  background-color: rgb(175, 20, 20);
  left: -27px;
}

.option input[type="checkbox"]:checked+label span.checkbox::after {
  color: rgb(175, 20, 20);
}

.option span::before, .option span::after {
  content: "";
  position: absolute;
  margin: auto;
  bottom: 0;
  top: 0;
}

.option span.radio:hover {
  cursor: pointer;
}

.option span.radio::before {
  background-color: rgba(51, 52, 53, 0.5);
  border: 1px solid #fff;
  border-radius: 50px;
  height: 25px;
  left: -52px;
  width: 45px;
}

.option span.radio::after {
  transition: left .25s, background-color .25s;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  height: 17px;
  left: -49px;
  width: 17px;
}

.option span.checkbox::before {
  transition: border-color .2s;
  background: transparent;
  border: 1px solid #fff;
  box-sizing: border-box;
  border-radius: 5px;
  height: 27px;
  width: 27px;
  left: -35px;
}

.option span.checkbox:hover::before {
  background-color: rgba(51, 52, 53, 0.5);
  box-shadow: 0 0 0 1px #ffffff;
}

.option span.checkbox::after {
  transition: color .2s;
  font-family: "FontAwesome";
  color: transparent;
  content: "\f00c";
  left: -31px;
  top: 2px;
}

@media screen and (max-width: 550px) {
  .option {
    padding-left: 50px;
  }
  .option label {
    font-size: 12.5px;
  }
}

/* TABLES */

article table {
  font: 20px "Source Sans Pro", sans-serif;
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

article table thead {
  font-weight: 600;
}

article table thead tr {
  border-bottom: 3px solid #fff;
  padding: 5px;
}

article table tbody tr {
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
}

article table tbody tr:nth-child(even) {
  background-color: rgba(51, 52, 53, 0.75);
}

article table th, article table td {
  padding: 5px;
}

article table tfoot tr {
  border-top: 3px solid #fff;
}

/* FORM */

.form {
  width: 100%;
}

label {
  font: 20px "Source Sans Pro", sans-serif;
  font-weight: 600;
}

input, textarea {
  font: 20px "Source Sans Pro", sans-serif;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 15px;
  width: 100%;
  color: #fff;
}

textarea {
  height: 200px;
  resize: none;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

input:focus, textarea:focus, select:focus {
  background-color: rgba(51, 52, 53, 0.5);
  box-shadow: 0 0 0 1px #ffffff;
  outline: none;
}

.left {
  margin-bottom: 30px;
  padding-right: 15px;
  float: left;
  width: 50%;
}

.right {
  margin-bottom: 30px;
  float: right;
  width: 50%;
}

.full {
  margin-bottom: 30px;
  width: 100%;
}

/* FOOTER */

footer {
  font: 15px "Source Sans Pro", sans-serif;
  background-color: rgba(1, 2, 3, 0.75);
  transform: translate(-50%, 0%);
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  text-transform: uppercase;
  border: 1px solid #fff;
  border-bottom: none;
  text-align: center;
  position: fixed;
  margin: none;
  width: 75%;
  bottom: 0;
  left: 50%;
}

@media screen and (max-width: 1125px) {
  footer {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  footer {
    font: 12.5px "Source Sans Pro", sans-serif;
    border-radius: 0;
    border: 0;
    border-top: 1px solid #fff;
    width: 100%;
  }
}
