/* 
BM Black #424a51 
BM Orange #FF9933
*/

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  height: 100%;
  overscroll-behavior: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: #4e1824;
  background-color: #fcead8;
}

h1, h2 {
  font-weight: 300;
  padding: 0;
  margin: 0;
}

hr {
  border: 2px #4e1824 solid;
  width: 100%;
}

.app {
  padding-left: 50px;
  padding-right: 50px;
  width: calc(100vw - 100px);
  background-color: #fcead8;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.top-left-logo {
  flex: 0;
  display: inline-flex;
  margin-left: 0;
  margin-right: auto;
}

.top-left-logo img {
  height: 150px;
  width: auto;
  margin: -30px;
}

.top-right-logo {
  flex: 0;
  display: inline-flex;
  justify-content: flex-end;
  margin-right: 0;
  margin-left: auto;
}

.top-right-logo img {
  height: 100px;
  width: auto;
}

.bottom-right-logo img {
  height: auto;
  width: 200px;
}

.content {
  flex-grow: 1;
  margin-top: 25px;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-title {
  margin: 1rem;
}

.card-image {
  width: 100%;
  min-height: calc(90vh - 225px);
  max-height: calc(90vh - 300px);
}

.card-image img:hover {
  opacity: 0.7;
}

.card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.footer {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TABLET */
@media screen and (max-width: 1200px) {
  .top-right-logo img {
    height: 50px;
  }

  .top-left-logo img {
    height: 100px;
    margin: -20px;
  }
  
  .bottom-right-logo img {
    width: 175px;
  }

  h1 {
    font-size: 1.5em;
  }
}



@media screen and (max-width: 1000px) {
  .top-right-logo {
    display: none
  }
}


/* PHONE */
@media screen and (max-width: 550px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .title {
    display: none
  }

  .footer {
    justify-content: center;
  }

  .bottom-left-logo {
    display: none;
  }

  .card-image {
    min-height: calc(40vh);
  }

  .top-right-logo {
    margin: unset;
    /* display: unset; */
  }

  .top-right-logo img {
    height: 30px;
  }

  .top-left-logo {
    margin: unset;
  }

  .top-left-logo img {
    height: 100px;
  }
  
  .bottom-right-logo img {
    width: 120px;
  }
}