body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #9a9a9a;
}

@media only screen and (max-width: 900px) {
    body {
      font-size: x-large;
    }
  }

.centered {
    text-align: center;
    margin: 0 auto;
}

.topmargin25 {
    margin-top: 25%;
}

.smalltext {
    font-size: small;
}

.width75 {
    width: 75%;
}

.verticalcenter {
    display: flex;
    align-items: center;
}

.blue {
    background-color: blue;
}

.green {
    background-color: green;
}

.max25 {
    max-height: 25%;
}

.max590 {
    max-width: 590px;
}

.maingrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "maintexteng maintexteng maintexteng maintexteng maintexteng maintexteng"
                         "head head head head head head"
                         "cheesy cheesy cheesy cheesy cheesy cheesy"
                         "portfolio-img portfolio-img about-img about-img contact-img contact-img"
                         "footer footer footer footer footer footer";

    gap: 10px;
}

.portfoliogrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "text text text"
                         "gallery gallery gallery"
                         "footer footer footer";

    gap: 0px;
}


.portfolio-gallery {
    grid-area: gallery;
}

.maintexteng {
    grid-area: maintexteng;
    text-align: left;
}

.maintextswe {
    grid-area: maintextswe;
    text-align: left;
}

.cheesy {
    width: 100%;
    grid-area: cheesy;
    color: #9a9a9a;
    text-align: center;
}



.header-image {
    grid-area: head;
}

.portfolio-image {
    grid-area: portfolio-img;
    margin-top: 6px;
}

.about-image {
    grid-area: about-img;
}

/* no touchy / Anton */
.contactgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text text"
                         "form form"
                         "footer footer";

    gap: 0px;
}

.contact-text {
    grid-area: contact-text;
}

.contact-image {
    grid-area: contact-img;
    margin-top: 0px;
}

.contact-longtext {
    grid-area: text;
    text-align: left;
}

.contain100 {
    width: 100%;
    object-fit: contain;
}

.footer {
    color: #7f7f7f;
    font-size: small;
    grid-area: footer;
    margin-bottom: 2%;
}

#navbar {
    padding-top: 25px;
    padding-bottom: 50px;
    width: 100%;
    z-index: 30;
    overflow: hidden;
    background-color: white;
    text-align: center;
    }

#navbar a {
    z-index: 30;
    float: center;
    color: #9a9a9a;
    background-color: white;
    text-align: center;
    padding-left: 1%;
    padding-right: 1%;
    text-decoration: none;
    white-space: nowrap;
    
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition: all .5s;
    
    }
    
    #navbar a:hover {
    color: black;
    }

#navbar-container {
    min-height: 100px;
}
    
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    }

.logo {
    width: 300px;
    height: 300px;
    padding-top: 50px;
}


#commonlink a {
    font-size: large;
    color: #9a9a9a;
    text-decoration: none;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition: all .5s;
}

#commonlink a:hover {
    color: black;
}

.aboutgrid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    grid-template-areas: "text text pic"
                         "text text pic"
                         "footer footer footer";

    gap: 0px;
}

.about-longtext {
    grid-area: text;
    text-align: left;
}

.about-longimage {
    grid-area: pic;
}

.about-longimage p {
    margin-top: -10px;
}

#fcf-form {
    display:block;
}

.fcf-body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: small;
    font-weight: 400;
    line-height: 1.5;
    color: #9a9a9a;
    text-align: left;
    background-color: #fff;
    border-radius: 0.25rem;
    max-width: 100%;
    margin-left: 5%;
    grid-area: form;
}

.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #9a9a9a;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
    border: 1px solid #313131;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: -apple-system, Arial, sans-serif;
    height: auto;
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-credit {
    padding-top: 10px;
    font-size: 0.9rem;
    color: #9a9a9a;
}

.fcf-credit a {
    color: #9a9a9a;
    text-decoration: underline;
}

.fcf-credit a:hover {
    color: #9a9a9a;
    text-decoration: underline;
}

.fcf-btn {
    display: inline-block;
    font-weight: 400;
    color: #9a9a9a;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
    color: #fff;
    background-color: #a9a9a9;
    border-color: #a9a9a9;
}

.fcf-btn-primary:hover {
    color: #fff;
    background-color: black;
    border-color: black;
}

.fcf-btn-primary:focus, .fcf-btn-primary.focus {
    color: #fff;
    background-color: black;
    border-color: black;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.fcf-btn-block {
    display: block;
    width: 100%;
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}


.max900 {
    max-width: 900;
}

/* {box-sizing: border-box} */

/* Container needed to position the overlay. Adjust the width as needed */
.overlaycontainer {
    color: #a9a9a9;
}

/* Make the image to responsive */
/* .overlayimage {
  display: block;
  width: 100%;
  height: auto;
} */

/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position: relative;
  top: -50%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: auto;
  transition: .5s ease;
  opacity: 0.5;
  color: white;
  font-size: 20px;
  padding: 5px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.overlaycontainer:hover .overlay {
  opacity: 1;
}

#language-select {
    position: fixed;
    top: 0px;
    right: 0px;
}

#language-select-img {
    max-width: 40px;
}

#pimage10 {
    max-width: 20%;
    max-height: 20%;
}

#pimage20 {
    max-width: 40%;
    max-height: 40%;
}

#pimage30 {
    max-width: 60%;
    max-height: 60%;
}

#pimage25 {
    max-width: 25%;
    max-height: 25%;
}

/** LIGHTBOX MARKUP **/

.lightbox {
    /* Default to hidden */
    display: none;
  
    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* A bit of padding around image */
    padding: 1em;
  
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
  }
  
  /* Unhide the lightbox when it's the target */
  .lightbox:target {
    display: block;
  }
  
  .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
  
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  
  #myBtn:hover {
    opacity: 1;
}