﻿@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&family=Raleway:wght@900&display=swap");
html {
  background: url(/img/back/home.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

.navbar {
  background-color: transparent;
  background: white;
  height: 90px;
}
.navbar-nav {
  justify-content: flex-end;
}
.navbar-expand {
  background-color: transparent;
}
.navbar-brand {
  color: #0c2340;
}
.navbar-brand:hover, .navbar-brand:focus {
  color: #0c2340;
}

.nav-item {
  color: #0c2340;
  margin-right: 10px;
}

.nav-link {
  color: #0c2340;
}
.nav-link:hover, .nav-link:focus {
  color: #0c2340;
  text-decoration: underline;
}

.content {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  margin-top: 70px;
  padding: 20px;
}
.content a, .content a:hover, .content a:active, .content a:visited {
  color: #fff;
}

.home {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  margin-top: 70px;
}
.home h1, .home h2 {
  color: #fff;
  font-size: 46px;
  margin-bottom: 20px;
  margin-top: 0;
  font-weight: 700;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}
.home h2 {
  font-size: 30px;
}
.home-intro {
  text-align: left;
  margin-bottom: 25px;
  font-size: 22px;
  color: #fff;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}
.home .btn {
  background: #ec6952;
  border: 2px solid #ec6952;
  color: #fff;
}

.member {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  margin-top: 70px;
  padding: 20px;
}
.member-bread {
  display: flex;
  font-size: 14px;
  margin-bottom: 20px;
}
.member a, .member a:hover, .member a:active, .member a:visited {
  color: #333;
}
.member h1 {
  font-size: 28px;
}

.item-btn {
  background: #0c2340;
  border-radius: 50px;
  transition: all 0.2s ease-in;
}
.item-btn:hover {
  background: #333;
}
.item-btn a, .item-btn a:hover, .item-btn a:active, .item-btn a:visited, .item-btn a:focus {
  color: #fff;
  text-decoration: none;
}

.forum {
  display: flex;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #333;
  flex-direction: column;
  background: #fff;
  margin-bottom: 20px;
}
.forum-title h3 {
  font-size: 20px;
}
.forum-meta {
  display: flex;
  flex-direction: row;
  font-size: 14px;
}
.forum-meta--col {
  margin-right: 20px;
}
.forum-question {
  padding-top: 5px;
  margin-top: 5px;
}
.forum-interact {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 12px;
}

.reaction {
  padding: 10px;
  border: 1px solid #333;
  margin-bottom: 20px;
}
.reaction-isAnswered {
  border: 3px solid green;
}
.reaction-meta {
  display: flex;
  font-size: 14px;
  margin-bottom: 10px;
}
.reaction-meta--col {
  margin-right: 20px;
}
.reaction-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.reaction-footer--mark {
  margin-right: 20px;
  font-size: 14px;
}

.nav-item.active .nav-link {
  color: #fff;
}

.photo-credit {
  display: flex;
  align-content: space-evenly;
  justify-content: flex-end;
}
.photo-credit--location {
  /*    background: rgba(99, 98, 92, 0.5);
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
  margin-right: 20px;
  padding: 3px;*/
  background-color: #fff;
  border: none;
  border-radius: 4px;
  color: #333;
  text-shadow: none;
  padding: 20px;
  margin: 0 20px 20px 0;
}
.photo-credit--location a, .photo-credit--location a:hover, .photo-credit--location a:active {
  color: #333;
  text-decoration: none;
}

.q-btn {
  background: #0c2340;
  border-radius: 50px;
  padding: 2px;
  color: #fff;
}

.block {
  display: flex;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #333;
  flex-direction: column;
  background: #fff;
  margin-bottom: 20px;
}
.block-edit {
  display: flex;
  justify-content: flex-end;
}

/* typical phone screen resolution */
@media only screen and (max-width: 800px) {
  .home {
    margin-top: 20px;
  }

  .forum-meta {
    flex-direction: column;
  }

  .navbar {
    height: auto;
  }

  .home-intro {
    font-size: 16px;
  }

  .photo-credit--location {
    padding: 8px;
    margin: 0 5px 5px 0;
    font-size: 14px;
  }

  .item-btn {
    background: Transprant;
    border-radius: 0;
    transition: none;
  }
  .item-btn:hover {
    background: #333;
  }
  .item-btn a, .item-btn a:hover, .item-btn a:active, .item-btn a:visited, .item-btn a:focus {
    color: #fff;
    text-decoration: none;
  }
}
