/* This file contains Portfolio Content styling */

/* font-family: 'Lato', sans-serif; */
/* font-family: "Merriweather", serif; */
/* font-family: "Roboto", sans-serif;  */

p {
  font-family: 'Lato', sans-serif;
  margin-bottom: 1.5em;
}

.hero {
  /* background-color: #f3eed9; */
  background-color: #8e8c8c;
}

.hero__container {
  display: grid;
  align-items: center;
  justify-self: center;
  margin: 0 auto;
  height: 30vh;

  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  padding-right: 50px;
  padding-left: 50px;
}

.hero__container::before {
  content: '';
  background-image: url(../img/hero.jpg);
  background-position: center;
  background-size: cover;
  opacity: 0.85;
  position: absolute;
  inset: 0;
}

.hero__content {
  /* font-family: "Cinzel", serif; */
  text-transform: capitalize;
  color: #ec0404;
  position: absolute;
  top: 20%;
  left: 40%;
  transform: translate(-30%, -30%);
  text-align: center;
}

.hero__content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-shadow: 1px 0 0 #000000, 0 1px 0 #000000, 0 -1px 0 #000000,
    -1px 0 0 #000000, 1px 1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000,
    -1px -1px 0 #000000;
  isolation: isolate;
}

.myButton {
  background-color: #44c767;
  color: #ffffff;
  margin-top: 15px;
  -moz-border-radius: 28px;
  -webkit-border-radius: 28px;
  border-radius: 28px;
  border: 1px solid #18ab29;
  display: inline-block;
  align-items: center;
  cursor: pointer;
  font-family: arial;
  font-size: 20px;
  padding: 5px 31px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #2f6627;
}
.myButton:hover {
  background-color: #5cbf2a;
}
.myButton:active {
  position: relative;
  top: 1px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .hero__container {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    justify-self: center;
    width: 100%;
    margin: 0 auto;
    height: 35vh;
  }

  .hero__content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero__content h1 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero__content h1 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }
}

/****** Opening Content ******/

.opening {
  background-color: #8e8c8c;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.opening__container {
  display: flex;
  background: #f3eed9;
  max-width: 1400px;
  padding: 1rem;
}

.opening__card {
  font-family: 'Lato', sans-serif;
  margin: 1rem;
  border-radius: 4px;
  position: relative;
  color: #000;
}

.opening__card h1 {
  font-family: 'Lato', sans-serif;
  text-align: center;
  font-size: 2rem;
}

.opening__card p {
  font-family: 'Lato', sans-serif;
  text-align: center;
  font-size: 1.4rem;
}

.opening-col p {
  font-size: 1rem;
}

.opening-row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) / -2);
  margin-left: calc(var(--bs-gutter-x) / -2);
}

.opening-row > * {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) / 2);
  padding-left: calc(var(--bs-gutter-x) / 2);
  margin-top: var(--bs-gutter-y);
}

@media (min-width: 960px) {
  .opening-col {
    flex: 1;
    /* flex: 1 0 0%; */
  }
}

/* Codepen CSS */

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  overflow: hidden;
}

.btn {
  color: #ffffff;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 400;
  display: block;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards_item {
  display: flex;
  padding: 1rem;
}

@media (min-width: 40rem) {
  .cards_item {
    width: 50%;
  }
}

@media (min-width: 56rem) {
  .cards_item {
    width: 33.3333%;
  }
}

.card {
  background: linear-gradient(to bottom left, #000 40%, #f70404 100%);
  border-radius: 0.25rem;
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card_content {
  padding: 1rem;
}

.card_title {
  color: #d5d1d1;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: capitalize;
  margin: 0px;
  text-align: center;
}

.card_text {
  color: #d5d1d1;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.made_by {
  font-weight: 400;
  font-size: 13px;
  margin-top: 35px;
  text-align: center;
}
