

:root {
  --transition: all 250ms ease-in-out;
  --dark-faded: rbga(100, 100, 100, 0.4)
  --white-faded: rbga(255, 255, 255, 0.5)
    --primary: #08417d;
}

body{
    background-color:#e9e5e5;
    font-family: 'Raleway', sans-serif;
    
}

img { 
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 3%;
}

h1 {
  font-weight:700;
  font-size: 6vh;
  
}
.squared img {
  border-radius: 0%;
}

#form {
  font-family: 'Raleway', sans-serif;
}

.aboutText {
    font-size: 1.2em;
    text-align: center;
}

.keytopText {
    font-size: 1.2em;
    text-align: left;
}

.main_text {
    font-size: 4vh;
    text-align: center;
    font-weight: normal;
    padding: 1rem;
}

.container-services {
    text-align: left;
}



/* main page services buttons */
a.button-services{
    display:inline-block;
    padding:0.5em 3em;
    border:0.08em solid #FFFFFF;
    margin:0 0.3em 0.3em 0;
    box-sizing: border-box;
    text-decoration:none;
    text-transform:uppercase;
    font-family:'Roboto',sans-serif;
    font-weight:400;
    color:#FFFFFF;
    text-align:center;
    transition: all 0.15s;
}
a.button-services:hover{
    color:#DDDDDD;
    border-color:#DDDDDD;
    background: rgba(255, 255, 255, 0.5);
}
a.button-services:active{
    color:#BBBBBB;
    border-color:#BBBBBB;
}
@media all and (max-width:30em){
    a.button-services{
    display:block;
    margin:0.4em auto;
  }
} 

/* main page services- scheule  button */

a.button-services-b{
    display:inline-block;
    padding:0.5em 3em;
    border:0.08em solid #FFFFFF;
    margin:0 0.3em 0.3em 0;
    box-sizing: border-box;
    text-decoration:none;
    text-transform:uppercase;
    font-family:'Roboto',sans-serif;
    font-weight:400;
    color:#FFFFFF;
    text-align:center;
    transition: all 0.15s;
}
a.button-services-b:hover{
    color:#DDDDDD;
    border-color:#DDDDDD;
    background: rgba(200, 0, 0, 0.5);
}
a.button-service-bs:active{
    color:#BBBBBB;
    border-color:#BBBBBB;
}
@media all and (max-width:30em){
    a.button-services{
    display:block;
    margin:0.4em auto;
  }
} 

/* Services Cards */
a.button-cards{
    display:inline-block;
    padding:0.3em 1.2em;
    margin:0 0.1em 0.1em 0;
    border:0.16em solid rgba(255,255,255,0);
    border-radius:2em;
    box-sizing: border-box;
    text-decoration:none;
    font-family:'Roboto',sans-serif;
    font-weight:300;
    color:#FFFFFF;
    text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
    text-align:center;
    transition: all 0.2s;
}
a.button-cards:hover{
    border-color: rgba(255,255,255,1);
}
@media all and (max-width:30em){
    a.button-cards{
    display:block;
    margin:0.2em auto;
}
} 

.heading{
    color: #50311b;
    padding-bottom: 2rem;
    text-align: right;
    text-shadow: 2px 2px 5px #8092a7;
}
.aboutPhoto {
       width: 25%;
       display: block;
       margin-left: auto;
       margin-right: auto;
}

.container .card {
    max-width: 300px;
    height: 215px;
    margin: 30px 10px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out
}

.container .card:hover {
    height: 450px
}

.container .card .imgContainer {
    position: relative;
    width: 250px;
    height: 250px;
    top: -50px;
    left: 10px;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2)
}

.container .card .imgContainer img {
    max-width: 100%;
    border-radius: 4px
}

.container .card .content {
    position: relative;
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    /* pointer-events: none; */
    transition: 0.3s ease-in-out
}

.container .card:hover .content {
    visibility: visible;
    opacity: 1;
    margin-top: -40px;
    transition-delay: 0.3s
}

@media (max-width: 330px) {
    .container .card .imgContainer {
        left: -2px
    }
}


/* main page hover effect */




.image {
  position: relative;
  width: 400px ;
}

.image__img {
  display: block;
  width: 100%;
}

.image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color:#ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left:50px;
  padding-right:50px;
  padding-top:50px;
  opacity: 0;
  transition: opacity 0.25s;
}

.image__overlay--blur {
  backdrop-filter: blur(5px);
}

.image__overlay:hover {
  opacity: 1;
}

.image__overlay > * {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.image__overlay:hover > * {
  transform: translateY(0);
}

.image__title {
  font-size: 2em;
  font-weight: bold;
}

image_description {
  font-size: 1.25em;
  margin-top: 0.25;
} 

/* Contact Form */


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  font-family: 'Raleway', sans-serif;
}

.contact-nav {
  z-index: 1000;
}

.contact-title {
  text-align: right;
  color: whitesmoke;
}

.contact-bg{
  background: url('../img/hero.jpg') no-repeat top center;
  background-size: cover;
  height: 100vh;
}

.wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1000px;
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wrapper .title h1{
  color: #c5ecfd;
  text-align: center;
  margin-bottom: 25px;
}

.contact-form{
  display: flex;
}

.input-fields{
  display: flex;
  flex-direction: column;
  margin-right: 4%;
}

.input-fields,
.msg{
  width: 48%;
}

.input-fields .input,
.msg textarea{
  margin: 10px 0;
  background: transparent;
  border: 0px;
  border-bottom: 2px solid #c5ecfd;
  padding: 10px;
  color: #c5ecfd;
  width: 100%;
}

.msg textarea{
  height: 212px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #c5ecfd;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #c5ecfd;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #c5ecfd;
}

@media screen and (max-width: 600px){
  .contact-form{
    flex-direction: column;
  }
  .msg textarea{
    height: 80px;
  }
  .input-fields,
  .msg{
    width: 100%;
  }
}


/* PHOTO GALLERY */

.body-main {
    display: grid;
    background-color: bisque;
    place-items: center;
    align-content: center;
    min-height: 100vh;
}





/* #gallery {
  line-height: 0;
  -webkit-column-count: 5;
  -webkit-column-gap: 5px;
  -moz-column-count: 5;
  -moz-column-gap: 5px;
  column-count: 5;
  column-gap: 5px;
} */

#gallery img {
  width: 100%; 
  height: auto; 
  margin-bottom: 5px;
}

.grid-container {
      line-height: 0;
  -webkit-column-count: 5;
  -webkit-column-gap: 5px;
  -moz-column-count: 5;
  -moz-column-gap: 5px;
  column-count: 5;
  column-gap: 5px;

    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    width: 100%;
    grid-gap: 1rem;
    padding: 2.5rem; */
}

.lightbox-enabled {
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.lightbox-enabled:hover {
    opacity: .8;
    cursor: zoom-in;
    transform: scale(1.01);
}

.lightbox-container {
    position: fixed;
    top: 0;
    min-width: 100vh;
    min-height: 100vh;
    background-color: var(--white-fadded);
    display: grid;
    place-items: center;
    margin: 5rem;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox-container.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-image-wrapper {
    display: grid;
    place-items: center;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    box-shadow: 3px 3px 10px var(--dark-faded);
}

.lightbox-btn {
    background-color: var(--white-fadded);
    display: grid;
    place-items: center;
    padding: .8rem;
    color: var(--white-fadded);
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
}

.lightbox-btn.inactive {
    opacity: 0;
    pointer-events: none;
}

.lightbox-btn:focus {
    outline: none;
}

.left {
    left: 5px;
}

.left:hover, .left:focus {
    left: 0px;
}

.right:hover, .right:focus {
    right: 0px;
}

.right {
    right:5px
}

.lightbox-image {
    width: 100%;
    border-radius: 3%;
    background-color: rgba(245, 245, 245, .6);
    margin: 20px;
    padding: 20px;
    object-fit: cover;
    cursor: zoom-out;
}

@media (max-width: 1200px) {
    #gallery {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 800px) {
    #gallery {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 800px) {
    #gallery {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 400px) {
    #gallery {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .mobile-hidden {
      display: none;
    }
  
}

