/* ----------------------------------------------------------------------------
components.css
Enthält alle Regeln zu Module.

@media (min-width:600px) { }
@media (min-width:801px) { }
@media (min-width:1025px) {  }
@media (min-width:1281px) { }
----------------------------------------------------------------------------*/

/* Portfolio Item
-----------------------------------------------------------------------------*/

.m-portfolioItem {
  margin: 0 auto;
  margin-bottom: 10rem;
  max-width: 1025px;
}

@media only screen and (min-width: 801px) {
  .m-portfolioItem {
    display: grid;
    align-items: center;
    height: 500px;

    grid-template-columns: 33% 1fr;
    grid-column-gap: var(--xl);
    justify-items: center;
  }
  .m-portfolioItem-image {
    width: 80%;
  }
}

.m-portfolioItem-title,
.m-portfolioItem-subtitle {
  margin: var(--xxl) 0 var(--m) 0;
}

.m-portfolioItem-title + .m-portfolioItem-subtitle {
  margin-top: calc(var(--m) * -1);
}

.m-portfolioItem-image {
  display: block;
  margin: 0 auto;
  margin-bottom: var(--m);
  max-width: 500px;
  width: 80%;
  border-radius: 10px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Buttons
-----------------------------------------------------------------------------*/

.m-linkButton {
  display: block;
  margin: 10px 0;
  padding: var(--l) var(--xl);
  width: 100%;
  border: none;
  border-radius: 3px;
  background-color: var(--color-accent);
  color: var(--color-backgrounds);
  /* line-height: 50px; */
  transition: color 0.25s, background-color 0.25s;
}

.m-linkButton:hover {
  background: #000;
}

@media only screen and (min-width: 801px) {
  .m-linkButton {
    display: inline-block;
    margin: 10px 0;
    padding: var(--xs) var(--s);
    width: auto;
  }
}
