html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
}

.topnav {
  background-color: #151515;
  overflow: hidden;
}

.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 22px;
  transition: all 0.3s;
}

#logo {
  float: left;
  font-size: 0;
  padding: 10px 16px;
}

#home-link {
  display: none;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav .icon {
  display: none;
}

#vegas-slider {
  width: 100%;
  height: calc(100vh - 56px);
}

.hero-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-align: center;
  z-index: 2;
}

.hero-heading a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  padding: 15px 20px;
  border: 1px solid #fff;
  border-radius: 15px;
  transition: all 0.3s;
}

.hero-heading a:hover {
  background-color: #fff;
  color: #151515;
}

.hero-about {
  height: 35vh;
  position: relative;
  background-image: url("../img/bg1.jpg");
  background-attachment: fixed;
}

.hero-about::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(21, 21, 21, 0.5);
}

.main {
  background-color: #151515;
}

.main-heading {
  text-align: center;
  color: #fff;
  padding: 30px;
}

.main-heading h2 {
  margin: 0;
}

.container {
  width: 70%;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.row-inner {
  width: 30%;
}

.about-row {
  padding: 20px 0;
}

.about-inner {
  color: #fff;
  margin: 10px;
  padding: 10px;
}

.about-inner img {
  max-width: 100%;
}

.about-inner h1 {
  margin-top: 0;
}

.about-inner:last-of-type p:first-of-type {
  margin-top: 8px;
}

.skill {
  width: 100%;
  background-color: #ddd;
  color: #151515;
}

.skill-done {
  text-align: right;
}

.skill1 {
  width: 90%;
  background-color: #4c86e5;
}

.skill2 {
  width: 80%;
  background-color: #4c86e5;
}

.skill3 {
  width: 85%;
  background-color: #4c86e5;
}

.skill4 {
  width: 65%;
  background-color: #4c86e5;
}

.about-inner p {
  line-height: 2;
}

.first-letter {
  color: #4c86e5;
  font-size: 30px;
}

.credentials {
  background-image: url("../img/bg2.jpg");
  background-attachment: fixed;
  position: relative;
}

.credentials-container {
  padding: 80px 0;
}

.credentials::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(21, 21, 21, 0.5);
}

.credentials-inner {
  width: 25%;
  color: #fff;
  text-align: center;
  z-index: 2;

  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.credentials-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.credentials-inner h1 {
  letter-spacing: 5px;
  margin-bottom: 0;
}

.icon-holder i {
  font-size: 40px;
}

.questions {
  background-color: #151515;
}

.column {
  display: flex;
  flex-direction: column;
}

.collapsible {
  background-color: #fff;
  color: #151515;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 22px;
  margin-top: 20px;
}

.collapsible-content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #5daed5;
  color: #fff;
}

footer {
  background-color: #151515;
}

.footer-container {
  text-align: center;
  color: #fff;
}

.footer-list {
  padding-left: 0;
  margin-top: 30px;
}

.footer-list li {
  display: inline-block;
  margin: auto 10px;
}

.footer-list li a {
  font-size: 20px;
  color: #fff;
  padding: 10px 15px;
  border-radius: 23px;
  transition: all 0.3s;
}

.facebook {
  background: #4470cf;
}

.twitter {
  background: #5daed5;
}

.instagram {
  background: #f58529;
}

.twitter:hover {
  background: transparent;
  color: #5daed5;
  font-size: 30px;
}

.facebook:hover {
  background: transparent;
  color: #4470cf;
  font-size: 30px;
}

.instagram:hover {
  background: transparent;
  color: #f58529;
  font-size: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  max-width: 100%;
  border-radius: 15px;
  transition: all 0.3s;
}

.gallery-item:hover img {
  border-radius: 0;
  transform: scale(1.05);
  filter: brightness(120%);
}

.contact-row {
  gap: 10px;
}

.contact-inner {
  width: 50%;
}

#forma input,
textarea {
  font-size: 16px;
  line-height: 48px;
  border-radius: 4px;
  outline: none;
  border: 1px solid #fff;
  margin: 5px;
  width: 100%;
  background-color: transparent;
  color: #fff;
  padding-left: 10px;
  box-sizing: border-box;
}

#forma textarea {
  line-height: normal;
}

.map-holder {
  height: 100%;
}

.map-holder iframe {
  width: 100%;
  height: 100%;
}

#submit-bttn:hover {
  background-color: #fff;
  cursor: pointer;
  color: #151515;
  transition: all 0.3s;
}

#on-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 3;
  background-color: #4470cf;
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 30px;
}

#on-top:hover {
  background-color: transparent;
  border: 1px solid #4470cf;
  transition: 0.3s;
  cursor: pointer;
}

@media screen and (max-width: 992px) {
  .container {
    width: 85%;
  }

  .row {
    flex-direction: column;
  }

  .row-inner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .about-inner:first-of-type {
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-holder iframe {
    height: 370px;
  }

  #forma input,
  textarea {
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .topnav a,
  #logo {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {
    position: relative;
    z-index: 99;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a,
  .topnav.responsive #home-link {
    float: none;
    display: block;
    text-align: center;
  }

  #vegas-slider {
    height: calc(100vh - 55px);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
