@charset "UTF-8";
.ortala, div.portfolio > div > div:nth-child(2), div.slider {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
}

body {
  margin: 0;
  padding: 0;
}

nav {
  background-color: darkgreen;
}
nav ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
nav ul a {
  display: block;
  text-decoration: none;
  padding: 0.5rem;
  font-size: 18px;
  color: grey;
  font-weight: bold;
}
nav ul :hover {
  background-color: #333;
}

div.slider {
  width: 100%;
  height: 60vh;
  background-image: url(slidefotgraf.png);
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
div.slider ::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
div.slider h1 {
  text-align: center;
  color: rgb(10, 134, 201);
  z-index: 1;
  font-size: 4rem;
}

div.services {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 80%;
  margin: 3rem auto;
}
@media (max-width: 990px) {
  div.services {
    flex-direction: column;
  }
}
div.services > div {
  margin: 0.5rem;
  border-radius: 0.3rem;
  overflow: hidden;
  transition: box-shadow 0.3s linear;
  border: 1px solid gray;
  cursor: pointer;
}
div.services > div:hover {
  box-shadow: 0 0 10px #333;
}
div.services > div > div {
  text-align: center;
  padding: 0.5rem;
}
div.services > div > div:nth-child(1) > img {
  height: 60px;
}
div.services > div > div:nth-child(2) > h5 {
  margin: 0;
  padding: 0;
  font-size: 26px;
}
div.services > div > div:nth-child(3) > p {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

div.portfolio {
  width: 80%;
  height: 150%;
  margin: 5rem auto;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: auto auto auto auto;
  grid-template-rows: 550px 550px 550px;
}
div.portfolio > div {
  overflow: hidden;
  position: relative;
  border: 2px solid salmon;
  border-radius: 0.5rem;
}
div.portfolio > div > div:nth-child(1) {
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}
div.portfolio > div > div:nth-child(2) {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 1vh;
  top: -100%;
  width: calc(100% - 2vh);
  height: calc(100% - 2vh);
  border-radius: 0.5rem;
  flex-direction: column;
  padding: 0.6rem;
  box-sizing: border-box;
}
div.portfolio > div > div:nth-child(2) > h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  position: relative;
}
div.portfolio > div > div:nth-child(2) > h4::after {
  content: "";
  transition: width 0.5s linear;
  border-bottom: 2px solid white;
  width: 10%;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
}
div.portfolio > div > div:nth-child(2) > ul>li {
  color: white;
  font-size: 1.2rem;
  text-align: justify;
}
div.portfolio > div:hover > div:nth-child(1) {
  transition: all ease 2s;
}
div.portfolio > div:hover:hover > div:nth-child(1) {
  filter: blur(5px);
}
div.portfolio > div:hover > div:nth-child(2) {
  top: 1vh;
  transition: all ease 3s;
}
div.portfolio > div:hover > div:nth-child(2) > h4::after {
  width: 100%;
}
div.portfolio > div.active-portfolio > div:nth-child(1) {
    filter: blur(5px);
    transition: all ease 2s;
}
div.portfolio > div.active-portfolio > div:nth-child(2) {
    top: 1vh;
    transition: all ease 3s;
}
div.portfolio > div.active-portfolio > div:nth-child(2) > h4::after {
    width: 100%;
}
@media (max-width: 990px) {
  div.portfolio {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: auto auto;
    grid-template-rows: 550px 550px 550px 550px 550px 550px;
  }
}
@media (max-width: 600px) {
  div.portfolio {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: auto;
    grid-template-rows: 550px 550px 550px 550px 550px 550px 550px 550px 550px 550px 550px 550px;
  }
}

footer {
  width: 100%;
  background-color: green;
  color: grey;
}
footer > div {
  width: 80%;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: bold;
}
footer > div > p {
  margin: 0;
  padding: 0;
  text-align: center;
  padding: 0.5rem;
}/*# sourceMappingURL=main.css.map */