/* PAGE - BASIC STYLE */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  /* CSS rules for smaller screens */
}

@media (min-width: 769px) {
  /* CSS rules for larger screens */
}

/* PAGE - BASIC STYLE - buttons*/
.btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  border: none;
  border-radius: 0.313rem;
  margin-top: 1.25rem;
  margin-left: 0.938rem;
  cursor: pointer;
}
.box-btn {
  display: inline-block;
  padding: 0.5rem 7.4rem 0.5rem 1rem;
  border: 0.063rem solid black;
  border-radius: 0.313rem;
  margin-top: 1.25rem;
  margin-left: 0rem;
  cursor: pointer;
}
.box-btn-dark {
  width: 0.5rem;
  background: #222222;
  color: #fff;
}
.box-btn-dark:hover {
  width: 0.5rem;
  background: #444;
  border-radius: 0.313rem;
  transition: 0.3s ease all;
}
.btn-dark {
  background: #222222;
  color: #fff;
}
.btn-dark:hover {
  background: #444;
  border-radius: 0.313rem;
  transition: 0.3s ease all;
}
.backtothetopbtn {
  --offset: 3.125rem;
  position: sticky;
  bottom: 2.5rem;
  margin-left: 104.375rem;
  place-self: end;
  margin-top: calc(100vh + var(--offset));

  /* visual styling of .backtothetopbtn */
  text-decoration: none;
  padding: 0.625rem;
  color: #fff;
  background: #222222;
  border-radius: 0.313rem;
  white-space: nowrap;
}

/* PAGE - BASIC STYLE - header styles */
header {
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 1.125rem 1.875rem;
  position: fixed;
  width: 100%;
}
header #page-header {
  color: white;
  text-decoration: none;
  width: 49%;
  display: inline-block;
}
header img {
  width: 4.375rem;
  height: 2.875rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}
header h2 {
  font-size: 1.4rem;
}
/* end of PAGE - BASIC STYLE */
/* MAIN NAVIGATION */
header #main-navigation {
  width: 49%;
  display: inline-block;
  text-align: right;
}
header #main-navigation ul {
  list-style: none;
}
header #main-navigation ul li {
  display: inline-block;
}
header #main-navigation ul li a {
  color: white;
  text-decoration: none;
  padding: 0.625rem 0.938rem;
}
header #main-navigation ul li a:hover {
  background: #444;
  border-radius: 0.188rem;
  transition: 0.3s ease all;
}
/* end of MAIN NAVIGATION */
/*HERO*/
.hero {
  min-height: 57.813rem;
  text-align: center;
  background: #555;
  background-image: url(../img/background.jpg);
  background-size: cover;
}
.hero-content {
  color: black;
  padding-top: 35.625rem;
  line-height: 1;
}
.hero-title {
  margin-top: 0.2rem;
  margin-left: 4rem;
  font-size: 6.1rem;
}
.hero-content p {
  font-size: 3.1rem;
  margin-bottom: 3.75rem;
}
/* end of HERO */
/* SERVICES AND PROJECTS */
.site-section {
  background-color: #ededed;
  padding-bottom: 3.125rem;
  padding-top: 3.125rem;
}
.section-header {
  text-align: center;
  margin-bottom: 1.875rem;
}
.section-title {
  text-align: center;
  margin-bottom: 1.875rem;
}
.site-section-inside {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: 1.9rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  font-weight: 18.75rem;
  color: #777;
}
.section-title h3 {
  font-size: 1.4rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  font-weight: 18.75rem;
  color: #777;
  margin-top: 3.125rem;
}
.service-box {
  display: inline-block;
  width: 24%;
  font-size: 1rem;
  padding: 0.25rem 5rem 0rem 0rem;
  line-height: 1;
  flex: 1 0 4%;
  margin-bottom: 1.25rem;
}
.service-box img {
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.938rem;
}
.service-box h5 {
  margin-top: 0rem;
  margin-bottom: 0.938rem;
  font-size: 1.25rem;
  color: #777;
  text-transform: uppercase;
  font-weight: 18.75rem;
  letter-spacing: 0.008rem;
}
.project-box {
  display: inline-block;
  width: 24%;
  font-size: 1rem;
  padding: 0.25rem 5rem 0rem 0rem;
  line-height: 1;
  flex: 1 0 4%;
  margin-bottom: 1.25rem;
}
.project-box img {
  border: black solid 0.188rem;
  width: 8.75rem;
  height: 6.25rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.project-box h5 {
  margin-top: 0rem;
  margin-bottom: 0.938rem;
  font-size: 1.25rem;
  color: #777;
  text-transform: uppercase;
  font-weight: 18.75rem;
  letter-spacing: 0.008rem;
}
/* end of SERVICES AND PROJECTS */
/* ABOUT */
.about {
  background-color: #ededed;
  width: 100%;
  padding: 3.125rem 0rem 7.188rem;
  margin-bottom: -1.875rem;
  overflow: hidden;
}
.about img {
  float: right;
  width: 40%;
  border-radius: 25%;
  margin-left: 6.875rem;
  margin-right: 5rem;
  margin-bottom: 1.875rem;
}
.about p {
  margin-left: 6%;
  text-align: left;
  font-size: 1.4rem;
  width: 80%;
}
/* end of ABOUT */
/* CONTACT */

#contact {
  margin-top: 0rem;
  margin-bottom: -6.813rem;
  min-height: 50rem;
  text-align: left;
  background-image: url(../img/contact-background.jpg);
  background-size: cover;
}
.contact-section-title h3 {
  font-size: 1.4rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  font-weight: 18.75rem;
  color: #777;
  margin-top: -1rem;
  text-align: left;
}
#contact .contact-form {
  margin: auto;
  width: 100%;
  margin-top: 0.313rem;
}
#contact .contact-form .form-group {
  margin: 0.75rem 0rem;
  width: 18.75rem;
}
#contact .contact-form .form-group label {
  display: block;
  padding-top: 0.938rem;
  width: 18.75rem;
}

#contact .contact-form .form-group input {
  width: 100%;
  border: 0.125rem solid black;
  padding: 0.5rem;
}
#contact .contact-form .form-group textarea {
  width: 100%;
  height: 9.375rem;
  padding: 0.5rem;
  border: 0.125rem solid black;
}
#contact
  .contact-form
  .form-group
  input:focus
  #contact
  .contact-form
  .form-group
  textarea:focus {
  outline: none;
  border: #333 solid 0.063rem;
}
/* end of CONTACT */
/* FOOTER */
footer {
  background: black;
  color: #777;
  padding: 0.625rem;
  text-align: center;
}
footer p {
  color: white;
  margin: 0rem;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.social-links img {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0rem 0.625rem;
}
/* end of FOOTER */
