@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap");

/* css reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6em;
  /* color: #333;
  background-color: #fff; */
}

h1,
h2 {
  line-height: 1.2em;
}
img {
  width: 100%;
}
p {
  margin: 10px 0;
}

/* header */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: fixed;
}
nav ul {
  display: flex;
}
.logo {
  font-weight: 300;
}

nav a {
  color: #fff;
  padding: 10px 20px;
  margin: 0 5px;
}
nav a:hover {
  border-bottom: 2px solid #28a745;
}

#hero {
  background-image: url("./images/home/showcase.jpg");
  background-position: center center;
  background-size: cover;
  color: #fff;
  position: relative;
  height: 100vh;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
  text-align: center;
}

.content h1 {
  font-size: 53px;
  font-weight: 300;
}

.content p {
  font-size: 23px;
  margin: 20px 0 20px;
  max-width: 500px;
}

#hero:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
}
#hero * {
  z-index: 10;
}

/* icon and solution */

.icons {
  padding: 30px;
}
.icons h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

.icons i {
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  margin-bottom: 15px;
  padding: 15px;
}

.flex-coloumns .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.reverse-coloumns .row {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.row .col-1 {
  width: 50%;
}
.col-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row .col-2 {
  width: 50%;
  padding: 20px 30px;
}
.col-2 h4 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-top: 60px;
}

.col-2 h2 {
  font-size: 40px;
  font-weight: 300;
}

/* cases */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 300;
  margin-top: 20px;
}
.section-header h4 {
  margin-top: 30px;
}

.section-header p {
  margin-top: 20px;
}

.flex-item {
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
}

.flex-item .column {
  width: 25%;
}
.flex-item .column img {
  width: 100%;
  height: 100%;
  transition-property: opacity;
  transition-duration: 3s;
}

.flex-item .column img:hover {
  opacity: 0.5;
}

.reverse-coloumns {
  margin-top: 20px;
}

.flex-case-item {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.flex-case-item .case-column {
  width: 300px;
  text-align: center;
  margin-bottom: 50px;
  height: 100%;
}

.flex-case-item .case-column img {
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* contact */

.contact-form {
  width: 50%;
  padding: 20px 30px;
}
.contact-form label {
  display: block;
}

.contact-form label input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
}
.contact-form label input:focus {
  outline-color: #28a745;
}

.contact-form h2 {
  font-weight: 300;
  margin-bottom: 30px;
  font-size: 40px;
}

.contact-form a {
  width: 100%;
}

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  color: #fff;
}
.social i {
  /* background-color: #28a745; */
  color: #fff;
  padding: 20px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
  }
  .flex-items,
  .flex-coloumns .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .flex-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .flex-item .column {
    width: 100%;
  }
  .reverse-coloumns .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
