@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/Raleway/raleway-v22-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/Raleway/raleway-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/Raleway/raleway-v22-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/Raleway/raleway-v22-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/Raleway/raleway-v22-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/Raleway/raleway-v22-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}
:root{
  --mainColor: #333;
  --mainSelected: rgba(51, 51, 51, 0.671);
  --secColor: #f6f6f6;
  --thirdColor: ;
  --success: green;
  --failure: crimson;
}

* {
    font-family: "Raleway", sans-serif;
    color: var(--mainColor);
    scroll-behavior: smooth;
}
body{
    background-color: var(--secColor);
    display: flex;
    justify-content: center;
    align-items: center;
}
#content {
    width: 70vw;
    margin: auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.welcome {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 80px;
}
.welcome h1 {
    text-align: center;
    /* color: rgb(0, 0, 0); */
    /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
    font-size: 8vw;

}
.quote{
  /* max-width: 540px; */
  width: 80%;
  margin-bottom: 50px;
  padding: 15px 20px 15px 20px;
  text-align: center;
  line-height: 2;
  border-top: 1.5px solid var(--mainColor);
  border-bottom: 1px solid var(--mainColor);
}
.services{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin: 20px;
}
.service{
    width: 200px;
    height: 200px;
    margin: 15px;
}
.modal-wrapper {
  position: absolute;
}
.modal-container {
  display: none;
  justify-content: center;
  align-content: center;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal {
  border-radius: 5px;
  background-color: #fefefe;
  width: 70%;
  height: fit-content;
  padding: 25px;
  margin: 25px;
  transform: scale(1);
  transition: all 0.5s;
}
.modal-content > div {
  text-align: start;
  line-height: 2.2;
  padding: 25px;
}
.modal-content img {
  text-align: center;
}
.intro {
    margin-top: 20px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.intro img{
    border-radius: 100%;
    width: 230px;
/*    height: fit-content; */
    margin-bottom: 10px;
    /* box-shadow: 4px 4px 4px black; */
}
.intro-text {
    margin: 20px;
    padding: 5px;
    max-width: 720px;
    line-height: 1.5;
}
.intro-text h2, h5{
    width: 100%;
    margin: 0;
}
.box {
    border-radius: 5px;
    /* border: 0.1px solid var(--mainColor); */
    /* border-width: 1 0 1 0; */
    /* box-shadow: 1px 1px 4px 1px rgba(51, 51, 51, 0.521); */
    /* background-color: #b8bdc6; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.box-selectable {
  cursor: pointer;
  box-shadow: 1px 1px 4px 1px rgba(51, 51, 51, 0.226);
  /* transition: all 0s; */
}
.box-selectable:hover{
  box-shadow: 1px 1px 4px 1px rgba(51, 51, 51, 0.87);
  transform: translate(-1px, -2px);
}
.filter {
  text-decoration: underline
}
.tagoverview {
  display: none
}
.projecttags {
  display: flex
}
.tagoverview, .projecttags{
  flex-wrap: wrap;
  gap: 12px;
}
.tagoverview{
  padding: 20px;
  width: 90%;
}
@media only screen and (max-width: 992px) {
  .tagoverview {
    flex-wrap:nowrap;
    overflow: auto;
    white-space: nowrap;
    width: 90vw;
  }
} 
.projecttags{
  justify-content: end;
  padding: 0!important;
}
.tag, .projecttag{
  color: var(--mainColor);
  border: solid 1px var(--mainColor);
  text-align: center;
  padding: 12px 30px 12px 30px;
  border-radius: 50px;
  font-size: small;
}
.tag[selected] {
  background-color: var(--mainColor);
  color: var(--secColor);
}
.projecttag{
  font-size: small;
  padding: 6px 15px;
}
@media (hover: hover){
  .tag:hover{
    background-color: var(--mainSelected);
    cursor: pointer;
  }
}
.projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 20px;
    text-align: center;
}
.content > h2 {
    /* color: black; */
    margin-top: 50px;
}
.project{
    width: 250px;
    height: 250px;
    margin: 15px;
}

form {
  width: 350px;
  margin: 25px auto;
}
form .form-group {
  position: relative;
  width: 100%;
  margin-bottom: 36px;
  overflow: hidden;
}
form .form-group.active input[type='text'],.form-group.active input[type='email'], form .form-group.active textarea {
  transform: translate3d(0, 0%, 0);
  transition: transform 0.2s cubic-bezier(0.83, 0, 0.6, 1);
  background-color: var(--mainColor);
  color: var(--secColor);
}
form .form-group.active label {
  transform: translate3d(0, 0, 0);
}
form .form-group.active label span {
  transform: scale(0.85);
}
form input[type='text'], form input[type='email'], form textarea {
  position: relative;
  display: block;
  width: 100%;
  padding: 13.5px 18px;
  /* color: #333; */
  font-size: 1em;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--mainColor);
  z-index: 2;
}
form input[type='text']:focus, form input[type='email']:focus, form textarea:focus {
  outline: none;
}
form label {
  position: relative;
  transform: translate3d(0, 100%, 0);
  transition: font-size 0.1s cubic-bezier(0.83, 0, 0.6, 1), transform 0.2s cubic-bezier(0.83, 0, 0.6, 1);
  display: block;
  padding: 13.5px 0;
  font-size: 1.25em;
  z-index: 1;
}
form label span {
  position: relative;
  display: inline-block;
  transform: scale(1);
  transition: transform 0.1s cubic-bezier(0.83, 0, 0.6, 1);
  z-index: 2;
}

.resiz{
  display: inline-grid;
  vertical-align: top;
  align-items: stretch;
  position: relative;
}
.resiz::after,
.resiz textarea {
  resize: none;
  overflow: hidden;
  width: auto;
  min-width: 1em;
  grid-area: 2/1;
  /* appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none; */
}
.resiz::after{
  content: attr(data-value) " ";
  visibility: hidden;
  white-space: pre-wrap;
}
.content-centered{
  
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-submit{
  font-size: 1.2em;
  width: 50%;
  align-self: center;
  /* font-weight: 600; */
  background: var(--mainColor);
  color: var(--secColor);
  border: 0;
  transition: all 0.2s;
  cursor: pointer;
  height: 3rem;
  padding: 0 25px;
  margin-top: 15px;
  border-radius: 4px;
  z-index: 1;
}
.form-submit:hover{
  background: var(--mainSelected);
  transform: translateY(-2px);
}
.form-submit:active{
  transform: translateY(0);
}
.form-status{
  width: 80%;
  align-self: center;
  margin-bottom: 25px;
  border: 0;
  transition: all 0.2s;
  padding: 0 25px;
  border-radius: 4px;
  display: none;
}
.form-status.success{
  background: var(--success);
}
.form-status.failed{
  background: var(--failure);
}
.form-status p{
  color: var(--secColor);
}
/* *::before,
*::after {
  box-sizing: border-box;
} */
/* form label:before {
  position: absolute;
  top: 0;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.2s cubic-bezier(0.83, 0, 0.6, 1);
  display: block;
  width: 100%;
  height: 100%;
  background: #333;
  content: '';
} */


/* @media (hover: hover) and (pointer:fine){
  .box-selectable{
    box-shadow: none;
  }
  .box-selectable:hover{
    box-shadow: 1px 1px 4px 1px rgba(51, 51, 51, 0.521);
  }
} */
