/* ---------- GLOBAL RESET ---------- */
* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, a, button {
  font-family: 'Open Sans', sans-serif !important;
}

/* ---------- COMMON ELEMENTS ---------- */

#header_title {
  margin-top: 100px;
}

#header_title h1 {
  font-size: 28px;
  color: #222;
  font-weight: 400;
}

#header_title p {
  font-size: 15px;
  line-height: 22px;
  color: #222;
}

#header_title a {
  color: #D83B2D;
  text-decoration: none;
}

#header_title a:hover {
  color: #EA9040;
}

#blg {
  margin-top: 30px;
}

/* Blog link */
#blg #a {
  font-size: 21px;
  color: #D83B2D;
  text-decoration: none;
  display: block;
}

/* Paragraph styling */
#blg .para {
  text-align: justify;
  font-size: 13px;
  line-height: 22px;
  color: #666;
  margin-bottom: 20px;
}

/* Button styles */
button,
.button,
.btn {
  border: 1px solid black;
  background: white;
  color: #D83B2D;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
}

button:hover,
.button:hover,
.btn:hover {
  background-color: #D83B2D;
  color: white;
}

/* Search box */
.search-form {
  display: flex;
  margin-top: 30px;
  width: 300px;
}

.search-input {
  flex: 1;
  margin-right: 5px;
}

/* Sidebar lists */
#use1 {
  font-family: 'Open Sans';
}

#use2 a {
  text-decoration: none;
  font-family: 'Open Sans';
  color: #666;
}

/* Horizontal lines */
#hr {
  width: 720px;
}

#hr1 {
  width: 270px;
}

/* Comments */
#comment-section img,
.reply img {
  height: 100px;
  width: 90px;
}

.reply-btn {
  border: 1px solid black;
  padding: 8px 10px;
  font-size: 14.5px;
  color: #D83B2D;
  background: white;
}

.reply-btn:hover {
  background: #D83B2D;
  color: white;
}

/* Success message */
.success_message {
  background: white;
  border: 1px solid green;
  padding: 5px;
  margin-top: 20px;
  width: 700px;
}

/* ---------- RESPONSIVE ---------- */

/* Large desktop 1450-1920px */
@media (min-width: 1450px) and (max-width: 1920px) {
  #header_title {
    margin-top: 105px;
  }
  #header_title p {
    margin-left: 500px;
  }
}

/* Desktop 1200-1449px */
@media (min-width: 1200px) and (max-width: 1449px) {
  #header_title p {
    margin-left: 220px;
  }
}

/* iPad */
@media (min-width: 768px) and (max-width: 1023px) {
  #header_title p {
    display: none;
  }
  #header_title h1 {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  #header_title p {
    display: none;
  }
  #blg {
    margin-left: -10px;
  }
  #blg .para {
    margin-left: -10px;
  }
  #hr1 {
    width: 320px;
  }
  #use2 {
    margin-left: -10px;
  }
  .search-form {
    width: 300px;
    margin-left: 25px;
  }
}
