@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  transition: all ease-in-out 250ms;
  padding:0;
  margin:0;
}


div,
section,
header,
footer,
ul,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p{
  display:block;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 95%;
  max-width: 70em;
  margin: 0 auto;
}

.clearfix::after 
section::after
footer::after {
  content: "";
  display: block;
  clear: both;
}

/*column system*/
[class^=col-] {
  width: 100%;
  margin-top: 1em;
}

[class^=col-]:first-child {
    margin-top: 0%;
}

.col-1 {
    width: 33.33334%;
    float: left;
}

@media (min-width: 40rem) {

    [class^=col-] {
        float: left;
        padding: 0 .5rem;
        margin-top: 0;
    }
    
[class^=col-]:first-child {
        padding-left: 0%;
    }
    
[class^=col-]:last-child {
        padding-right: 0%;
    }

.col-3{
    width: 50%;

}

.col-1 {
  width: 16.6666%;
}
}

/* Typography */
h1 {
  font-weight: 300;
  font-size: 1.6rem;
  margin-top: 0;
}

p {
  margin-top: 0;
}

p {
  margin-bottom: 0;
}

.title {
  font-size: 100px;
  margin-bottom: 1.5em;
  font-weight: 900;
  margin-top: 1em;
}

.title span {
  font-weight: 300;
  display: block;
  font-size: 0.9em;
}

.title-cta{
    margin: 0 0 .5em;
}

.unstyled-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}


@media (min-width: 60rem) {
  p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  .title {
    font-size: 3.7rem;
  }
}

/* Button */

.button {
  display: inline-block;
  font-size: 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  padding: 0.5em 1.75em;
}

@media (min-width: 60rem) {
  .button {
    font-size: 1.5rem;
  }
}

.button_small {
  font-size: 0.6rem;
}

.button_accent {
  color: #00ff6c;
  border-color: #00ff6c;
}

.button_accent:hover,
.button_accent:focus {
  background: #00ff6c;
  color: #232323;
}

.button_dark {
  color: #232323;
  border-color: #232323;
}

.button_dark:hover,
.button_dark:focus {
  background: #232323;
  color: #00ff6c;
}

/* Header here */

header {
  position: absolute;
  left: 0;
  right: 0;
  padding: 1rem;
}
header nav{
  
    display: inline-block;
    float: right;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
  margin: 1rem;
}

nav a {
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.5rem;
  color: #fff;
}

nav a:hover,
nav a:focus {
  color: #ddd;
}

@media (min-width: 60rem) {
  .logo {
    float: left;
  }
  .nav {
    float: right;
  }
}

/* Home here */
.home_hero {
  background-image: url("../IMG/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 10rem 0;
}

@media (min-width: 60rem) {
  .home_hero {
    height: 100vh;
    padding-top: 3 5vh;
  }
}

.home_about_textbox {
  background-color: #232323;
  padding: 3em;
  width: 100vw;
  /* margin-left: -2.5%; */
  outline: 2px solid #00ff6c;
  outline-offset: -2.5em;
  color: #fff;
  position: relative;
}

.home_about_textbox h1 {
  color: #00ff6c;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.75em;
  background: #232323;
  padding: 0 0.145em;
}

@media (min-width: 25rem) {
  h1 {
    font-size: 2rem;
  }

  .home_about_textbox h1 {
    top: 0.6em;
    padding: 0.325em;
  }
}

@media (min-width: 60rem) {
  h1 {
    font-size: 2.5rem;
  }

  .home_about {
    background-image: url(../IMG/who-we-are.jpg);
    background-repeat: no-repeat;
    padding-bottom: 10em;
  }

  .home_about_textbox {
    width: 50%;
    padding: 6em;
    outline-offset: -3.75em;
    text-align: left;
    top: -5em;
    box-shadow: 0 0 3em 0 rgba(0, 0, 0, 0.3);
  }

  .home_about_textbox h1 {
    top: 6px;
    padding: 0.6em;
    left: 6rem;
    transform: translateX(0);
  }
}

/* Portfolio here */

.portfolio {
  margin: 3em 0 0;
}

.port-items {
  margin: 0;
  position: relative;
}

.port-items img {
  display: block;
}

.port-description {
  position: absolute;
  z-index: 100;
  bottom: 0em;
  left: 0em;
  right: 0em;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  /* padding: 1em; */
  padding-bottom: 2em;
  /* padding-top: .5em; */
}

.port-description p {
  margin: 1em;
}

@media (min-width: 37rem) {
  .port-items {
    width: 50%;
    float: left;
  }
}

@media (min-width: 60rem) {
  .port-items {
    width: 33.333333%;
    overflow: hidden;
  }
  .port-description {
    transform: translateY(150%);
  }

  .port-items:hover .port-description {
    transform: translateY(0%);
  }
}

/* CTA here */

.cta {
  background: #00ff6c;
  padding: 6em 0;
  text-align: center;
}


/* Footer here */

footer {
  background: #232323;
  text-align: left;
  padding: 2rem;
  color: #fff;

}

footer .container{
  display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}


@media(max-width:767px){
  .container{
    width: 100%;
  }
  .home_about_textbox{
    outline-offset: -1.5rem;
  }
  .home_about_textbox h1{
    top: 5px;
  }
  .title{
    font-size:32px;
    line-height: 1.3;
  }
  .col-1{
    width:50%;
  }
}

.port-flex{
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap:wrap;
}