@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,700,900");

* {
  box-sizing: border-box;
  transition: all ease-in-out 250ms;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  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;
}

a {
  text-decoration: none;
}

/* Column system
=================== */

[class^="col-"] {
  width: 100%;
  margin-top: 1em;
}

[class^="col-"]:first-child {
  margin-top: 0;
}

.col-1 {
  width: 33.333334%;
  float: left;
}

@media (min-width: 40rem) {
  [class^="col-"] {
    float: left;
    padding: 0 0.5em;
    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.7rem;
  margin-top: 0;
}

.red_text {
  color: red;
}

p {
  margin-top: 0;
  line-height: 1.5;
}

p:last-of-type {
  margin-bottom: 0;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 1.5em;
  font-weight: 900;
  margin-top: 2em;
}

.title span {
  font-weight: 300;
  display: block;
  font-size: 0.9em;
}

.title-cta {
  margin: 0 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;
    margin-top: 1em;
  }
}

/* buttons */

/* This is for mobile first */
.button {
  display: inline-block;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  border-style: solid;
  box-shadow: 0 4px 6px darkslategray;
  border-radius: 18px;
  border: 1px solid black;
  padding: 0.5em 1.75em;
  background-color: #74ccf4;
  color: #404040;
}

/* For larger screen size, change these attributes */
@media (min-width: 60rem) {
  .button {
    font-size: 1.2rem;
  }
}

/* text color on all buttons */
/* .button-accent {
	color: #404040;
} */

/* Lighten button color on hover/focus */
.button-accent:hover,
.button-accent:focus {
  background: #9ddbf7;
}

/*  These attributes aren't being used in this site */
.button-small {
  font-size: 0.7rem;
  font-weight: 700;
}

.button-dark {
  color: #232323;
  border-color: #232323;
}

.button-dark:hover,
.button-dark:focus {
  background: #232323;
  color: AquaMarine;
}

/* header & nav
=================== */

header {
  position: absolute;
  left: 0;
  right: 0;
  margin: 1em;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1;

  a {
    font-weight: 700;
    padding: 0.5em;
    text-transform: uppercase;
    color: black;
    font-size: 0.9rem;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #74ccf4;
    border-radius: 12px;
  }

  li {
    display: inline;
    margin: 0em;
  }

  nav a:hover,
  nav a:focus {
    color: #ddd;
  }
}

.logo {
  float: left;
  height: 10rem;
}

#navbar {
  overflow: hidden;

  ul {
    float: center;
  }
}

#navbar a {
  display: inline-block;
  color: black;
  text-align: center;
  padding: 14px;
  position: sticky;
  top: 0;

  /* Larger screen size (Non mobile) */
  @media (min-width: 60rem) {
    .logo {
      float: right;
      height: 15rem;
    }

    nav {
      float: right;
      z-index: 100;
    }

    nav li {
      margin: 1em;
    }

    nav a {
      font-weight: 700;
      padding: 0.5em;
      text-transform: uppercase;
      color: black;
      font-size: 0.6rem;
    }
  }

  .content {
    padding: 16px;
  }

  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .sticky+.content {
    padding-top: 60px;
  }
}

/* hero-home
=================== */

.home-hero {
  background-image: url(../img/3.jpg);
  background-size: cover;
  background-position: center;
  padding: 10em 0;
  color: #fff;
}

@media (min-width: 60rem) {
  .home-hero {
    height: 100vh;
    padding-top: 35vh;
  }
}

/* hero-home
=================== */

.home-about-textbox {
  background-color: #232323;
  padding: 4em;
  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;
}

.home-about-textbox a {
  color: white;
}

.home-about .gohome {
  background: aquamarine;
  border-color: aquamarine;
  font-weight: bold;
}

@media (min-width: 25rem) {
  h1 {
    font-size: 2rem;
  }

  .home-about-textbox {
    padding: 5.5em;
  }

  .home-about-textbox h1 {
    top: 0.6em;
    padding: 0 0.325em;
  }
}

@media (min-width: 60rem) {
  h1 {
    font-size: 2.5rem;
  }

  .home-about {
    background-image: url(../img/rice.jpg);
    background-repeat: no-repeat;
    padding-bottom: 10em;
  }

  .home-about-textbox {
    width: 50%;
    padding: 7em;
    outline-offset: -3.75em;
    margin-left: -2.5%;
    top: 5em;
    text-align: left;
    box-shadow: 0 0 4em 0 rgba(0, 0, 0, 0.3);
  }

  .home-about-textbox h1 {
    top: 0.75em;
    left: 6rem;
    transform: translateX(0);
  }

  .home-about .gohome {
    background: aquamarine;
    border-color: aquamarine;
    font-weight: bold;
    margin-left: 85%;
    margin-top: 8.5%;
  }
}

/* portfolio
=================== */

.portfolio {
  margin: 3em 0;
}

.port-item {
  margin: 0;
  position: relative;
}

.port-item img {
  display: block;
  padding: 0.5rem;
}

.port-desc {
  position: absolute;
  z-index: 100;
  bottom: 0em;
  left: 0em;
  right: 0em;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding-bottom: 2em;
}

.port-desc p {
  margin: 1em;
}

@media (min-width: 37rem) {
  .port-item {
    width: 50%;
    float: left;
  }

  .port-item img {
    display: inline-block;
    /* width: 40rem; */
    padding: 0.5rem 0.5rem;
  }
}

@media (min-width: 60rem) {
  .port-item {
    width: 33.3333334%;
    overflow: hidden;
  }

  .port-desc {
    transform: translateY(150%);
  }

  .port-item:hover,
  .port-desc {
    transform: translateY(0%);
  }

  .port-item img {
    display: inline-block;
    /* width: 40rem; */
    padding: 0.5rem 0.5rem;
  }
}

/* CTA
=================== */

.cta {
  background-color: #00ff6c;
  padding: 5em 0;
}

/* About Us Section
=================== */

.about_us p {
  line-height: normal;
  margin-bottom: auto;
  font-size: 1.1em;
}

.about_us_col1 h3 {
  text-align: right;
}

.parent {
  margin: 3em 0;
  column-count: 3;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 0px;
  column-width: auto;
  /* text-align: center; */
  padding: 20;
  /* margin: 20; */
  overflow-wrap: normal;
  max-width: 100%;
  /* padding: 0px 20px 0px 20px; */
  /* background-color: #00ff6c; */
}

.parent h3 {
  text-align: left;
}

.parent h3 {
  text-align: center;
}

.parent span {
  font-style: italic;
}

.about_us_col1 {
  text-align: center;
  /* background-color: #00ff6c; */
}

.about_us_col2 {
  text-align: left;
  /* background-color: #f47494; */
}

.about_us_col3 {
  text-align: center;
  /* background-color: aqua; */
}

p span {
  display: flex;
}

.agendas {
  text-align: center;
}

.agendas h3 {
  text-align: center;
}

/* Width more than 600px */
@media (min-width: 800px) {
  .parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 2em;
    grid-row-gap: 0px;
    /* background-color: #f47494; */
  }

  p span {
    font-style: italic;
  }
}

/* Footer
=================== */

footer {
  background: white;
  color: black;
  text-align: center;
  padding-top: 3em;
  padding-bottom: 5em;
}

footer h1 {
  text-decoration: none;
  text-transform: uppercase;
  color: cornflowerblue;
}

footer .gohome {
  background: aquamarine;
  border-color: aquamarine;
  font-weight: bold;
  margin-top: 1em;
}

.contact_us p {
  line-height: 0.1em;
}

/*Floating Back-To-Top Button*/
#myBtn {
  position: fixed;
  bottom: 10px;
  float: right;
  left: 10%;
  right: 90%;
  max-width: 10em;
  width: 100%;
  font-size: 12px;
  border-color: rgba(85, 85, 85, 0.2);
  background-color: rgb(100, 100, 100);
  padding: 0.5px;
  border-radius: 4px;
  z-index: 100;
}

@media (min-width: 60rem) {
  #myBtn {
    left: 5%;
    right: 95%;
  }
}

/*On Hover Color Change*/
#myBtn:hover {
  background-color: #f47494;
  color: red;
}

/* Table */
.content-table {
  border-collapse: collapse;
  margin: 25px 0px 25px 50px;
  font-size: 0.9em;
  min-width: 400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
  background-color: #74ccf4;
  color: black;
  text-align: center;
  font-weight: bold;
}

.content-table th,
.content-table td {
  padding: 8px 20px;
}

.content-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
  border-bottom: 2px solid #74ccf4;
}