* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0 auto;
  font-size: 2rem;
  background: #212931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
  text-align: center;
  color: #fff;
  font-size: 3.5rem;
}

p {
  text-align: justify;
}

img {
  margin: 0 auto;
  max-width: 100%;
  box-shadow: 1px 0px 14px 5px rgba(0, 0, 0, 0.2);
}

a {
  transition: 0.5s;
  text-decoration: none;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

main {
  margin: 0 auto;
  max-width: 345px;
  padding: 100px 0 150px 0;
}

.second-main h1 {
  margin: 110px 0 0 0;
}

/* HEADER */

header {
  width: 100%;
  position: fixed;
  padding: 0 0 25px;
}

header > nav {
  background: #6f6360;
}

/* NAV */

.navbar-title {
  font-size: 2rem;
  color: #111;
  display: flex;
}

.navbar-title img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
}

.navbar-title:hover {
  color: #111;
  text-decoration: none;
}

.navbar-nav a {
  margin: 5px;
}

/* HEADING */

.heading {
  margin: 110px 0 0 0;
}

.heading p {
  color: #fff;
  text-align: center;
  margin: 25px;
}

.heading p:last-of-type {
  font-size: 1.5rem;
  line-height: 35px;
}

.btn-wrapper {
  width: 100%;
  text-align: center;
  transition: 0.5s;
}

.btn {
  display: inline-block;
  box-shadow: none;
  appearance: none;
  border: 0;
  outline: 0;
  padding: 10px 50px;
  background-color: #6f6360;
  font-size: 20px;
  border-radius: 30px;
  color: #111;
  cursor: pointer;
  transition: all 0.5s;
  user-select: none;
  margin: 30px 0 0 0;
}

.btn:hover {
  color: #fff;
  transform: scale(1.1, 1.1);
}

/* FOOTER */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #6f6360;
  text-align: center;
  padding: 15px;
}

@media (min-width: 765px) {
  main {
    margin: 0 auto;
    max-width: 745px;
  }

  img {
    width: 75%;
  }

  .heading {
    text-align: center;
  }

  article {
    flex: 400px;
  }
}

@media (min-width: 1024px) {
  main {
    margin: 0 auto;
    max-width: 990px;
  }

  img {
    width: 60%;
  }

  .heading {
    text-align: center;
  }

  .content {
    display: flex;
    flex-wrap: wrap;
    margin: 50px 0 0 0;
  }

  article {
    flex: 400px;
  }
}

h2 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
}

.content {
  margin: 110px 0 0 0;
  text-align: center;
  color: #fff;
}

article {
  margin: 10px;
  border: solid 1px #fff;
  border-radius: 45px;
  padding: 20px 30px 20px 30px;
}

h1 {
  margin: 100px 0 0 0;
}

.content h2 {
  padding: 0 0 20px 0;
}

.content p {
  margin: 10px 0 0 0;
}

.content article:last-of-type p {
  text-align: center;
}

.content article:last-of-type img {
  width: 30%;
}

.content a,
.contact a {
  color: #fff;
}

.content a:hover,
.contact a:hover {
  text-decoration: none;
  color: #007bff;
}

/* CONTACT */

.contact {
  display: flex;
  margin: 30px 0 0 0;
  text-align: center;
}

.contact article i {
  padding: 0 0 10px;
  color: #fff;
  text-align: center;
}

.contact article {
  display: flex;
  flex-direction: column;
  padding: 50px 30px 50px 30px;
}

.infos {
  margin: 40px 0 0 0;
}

.infos p {
  color: #fff;
  margin: 50px 0 0 0;
}

.grey-color {
  color: rgb(165, 156, 156);
}
