html {
    scroll-behavior: smooth;
  }
body {
    margin: 0;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

header {
    margin: 0;
    background-image: url(img/header.jpeg);
    background-size: cover;
    color: white;
    overflow:hidden;
    text-align: center;
    transition-duration: 200ms;
}

header.services {
    background-image: url(img/services.jpeg?v=2);
}

header.gallery {
    background-image: url(img/gallery.jpeg);
}

header.contact {
    background-image: url(img/contact.jpeg);
}

header.about {
    background-image: url(img/about.jpeg?v=2);
}

header.blog {
    background-image: url(img/blog.jpeg?v=2);
    background-position: bottom;
}

header .nav {
    text-align: left;
    background-color: #262626;
    float: left;
    padding: 30px;
    position: fixed;
    top: 3vh;
    left: 2vw;
    width: 96%;
    box-sizing: border-box;
    font-size: 20px;
    transition-duration: 200ms;
    z-index: 2;
}

header a {
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition-duration: 150ms;
}

header a:hover {
    color: grey;
    transition-duration: 150ms;
}

header .nav span.green {
    color: #a2c888;
}

header .nav .links {
    float: right;
}

header .nav .links a {
    margin-left: 20px;
    text-align: center;
}

header .banner {
    margin: 200px 0 100px 0;
    transition-duration: 200ms;
}

header .banner.home {
    margin: 275px 0 150px 0;
    
}

header .banner h2 {
    font-size: 50px;
    margin: 0 50px 50px 50px;
}

header .banner a {
    color: white;
    border-style: solid;
    border-width: 2px;
    padding: 10px;
    text-decoration: none;
    transition-duration: 200ms;
    border-radius: 10px;
    font-size: large;
}

header .banner a:hover {
    background-color: white;
    color: black;
    border-color: white;
    transition-duration: 200ms;
    
}

header .nav .links .mobile {
    display: none;
}

/* Width at which the nav messes up: 870px */

@media only screen and (max-width: 870px) {

    header .nav .links .desktop {
        display: none;
    }

    header .nav .links .mobile {
        display: block;
    }

    .large {
        display: none;
    }

    .title {
        font-size: larger;
    }
    
}

@media only screen and (min-width: 870px) {
    
    .mobileLinks {
        display: none !important;
    }

}

.cards {
    margin: 20px;
}

.card {
    max-width: 90%;
    width: 350px;
    background-size: cover;
    padding: 0;
    text-align: left;
    background-color: #F2F2F2;
}

.cardText {
    padding: 20px;
}

.card .text {
    width: 20vw;
}

.card img {
    width: 100%;
}

.cards {
    margin: 20px auto 40px auto;
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
    flex-wrap: wrap;
}

footer {
    text-align: center;
    line-height: 5px;
    margin-top: 30px;
    width: 100vw;
    /* position: absolute;
    bottom: 0; */
    background-color: white;
}

footer p {
    margin-top: 30px;
}

.socials img {
    width: 50px;
    margin: 0 10px;
    transition-duration: 200ms;
}

.socials img:hover {
    opacity: 0.5;
    transition-duration: 200ms;
}

.content {
    margin: 0 auto;
    max-width: 1000px;
    padding: 20px;
}

 h3 {
    font-size: 30px;
    margin-top: 0;
}


.sideBySide {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px;
    align-items: center;
}

.sideBySide img {
    width: 500px;
    max-width: 90%;
    margin: 20px 0;
}

.ssText {
    width: 500px;
    max-width: 90%;
    margin: 20px 0;
}

.active {
    color: lightgrey;
}

.images {
    margin: 50px auto 40px auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    z-index: -1;
}

.image {
    max-width: 90%;
    width: 350px;
    height: 350px;
    background-size: cover;
    padding: 0;
    text-align: left;
    background-color: #F2F2F2;
    cursor: pointer;
    transition-duration: 200ms;
}

.image:hover {
    filter: brightness(1.1);
    transition-duration: 200ms;
}

.mobileLinks {
    text-align: center;
    display: none;
    transition-duration: 200ms;
    margin-top: 50px;
}

#x {
    display: none;
}

.prompt {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    background-color: #F2F2F2;
    padding-top: 75px;
    padding-bottom: 75px;
}

.prompt .btn, .info .btn {
    color: black;
    border-style: solid;
    border-width: 2px;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition-duration: 200ms;
}

.prompt .btn:hover, .info .btn:hover {
    background-color: black;
    color: white;
    border-color: black;
    transition-duration: 200ms;
}

.prompt h2 {
    margin: 0 0 40px 0;
    font-size: 35px;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #262626ee;
    z-index: 3;
    background-size: cover;
    display: none;
}

.fullscreen img#image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    
}

.fullscreen img#close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}


.contact form {
    background-color: #F2F2F2;
    width: 400px;
    max-width: 90vw;
    padding: 40px;
}

input.text, label.text {
    display:block;
}

label.text {
    margin-top: 20px;
}

form button {
    margin-top: 30px;
    color: black;
    border-style: solid;
    border-width: 2px;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition-duration: 200ms;
    background-color: none;
    cursor:pointer;
    font-family: 'Figtree', sans-serif;
    font-weight: bold;
}

form button:hover {
    background-color: black;
    color: white;
    border-color: black;
    transition-duration: 200ms;
}

input.text {
    margin-top: 10px;
    width: 100%;
    padding: 10px 0 10px 0;
    font-family: 'Figtree', sans-serif;
}

textarea {
    resize: none;
    display: block;
    width: 100%;
    margin-top: 10px;
    font-family: 'Figtree', sans-serif;
}

.info {
    margin: 20px;
}

.info img {
    width: 30px;
    margin: 0 10px;
    display: inline;
}

.infoLine {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.aboutText {
    width: 50%;
}

.profile {
    text-align: center;
}

.profile h4, .profile p {
    margin: 10px 0 10px 0;
}



.profile img {
    width: 250px;
    border-radius: 100%;
    border-style: solid;
    border-width: 2px;
    margin: 0;
    border-color: #a2c888;
}

.post .infoLine img {
    width: 30px;
    border-radius: 100%;
    margin-right: 10px;
    margin-left: 10px;
    color: grey;
    border-style: solid; 
    border-width: 1px;
}

.latest .infoLine img {
    width: 30px;
    border-radius: 100%;
    margin-right: 10px;
    margin-left: 5px;
    color: grey;
    border-style: solid; 
    border-width: 1px;
}



.post h3 {
    margin-bottom: 0;
}

.sideBySideBlog {
    display: flex;
    flex-wrap: wrap;
    margin: 50px;
    justify-content: center;
    gap: 30px;
}

.ssTextBlog {
    max-width: 75%;
}

.latest {
    width: 400px;
    max-width: 90%;
    background-color: #F2F2F2;
    padding: 10px;
}

.latest p {
    color: grey;
}

.latest h4 {
    margin-bottom: 0;
}

.latestPost {
    margin-bottom: 30px;
    cursor: pointer;
}

.post img {
    width: 500px;
    max-width: 90%;
}

.center {
    color: grey;
    text-align: center;
}