@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root {
    --color-primary: #15b76d;
    --color-secondary: #fbfbfe;
    --color-accent: #ff6363;
    --font-color: #1C1B1F;
    --backgrount-color: #e0dfdd;
    --backgrount-grey: #484848;
}

body {
    font-family: "Raleway", sans-serif;
    background-color: var(--color-secondary);
}


.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
   
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--font-color);
    width: 100%;
    height: 56px;
    position: fixed;
    z-index: 600;
}

.section {
    text-align: center;
    align-items: center;
    padding-left: 54px;
    padding-right: 54px;
    /* height: 50vh; */
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .content h2{
    color: var(--color-accent);
    padding-bottom: 16px;
  }


  .content p{
    padding-bottom: 16px;
  }
/* footer styles */
.footer {
    background-color: var(--backgrount-grey);
    padding: 16px;
    text-align: center;
    margin: 16px;
  }
  .footer p {
    color: var(--color-secondary);
    font-size: 16px;
    margin-top: 16px;
  }

  .footer h6 {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 16px;
    color: var(--backgrount-color);
  }

  .social-links a {
    color: var(--color-secondary);
    /* margin: 8px; */
    padding: 8px;
  }
  .social-links a:hover {
    color:var(--color-accent);
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }

/* filternav */
.container{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 56px;
    background-color: var(--color-secondary);
    z-index: 600;
}
.portfolio .filter-buttons{
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 20px;
}


.portfolio .filter-buttons ul{
  list-style: none;
  text-align: center;
  padding: 0;
}
.portfolio .filter-buttons ul li{
  color: var(--font-color);
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  margin: 0px 8px;
  text-transform: uppercase;
  cursor: pointer;
  padding-top: 10px;
}
.portfolio .filter-buttons ul li.active{
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.portfolio .portfolio-gallery{
  flex: 0 0 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.portfolio .portfolio-gallery .item{
  flex: 0 0 33.33%;
  max-width: 33.33%;
  position: relative;
  padding: 8px;

}
.portfolio .filter-buttons ul a:hover {
    color: var(--color-accent);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.filter-buttons a {
    color: var(--font-color);
    /* -webkit-transition: all 0.3s ease-in; */
}



.nav-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 0 16px;
    max-width: 1128px;
}

.nav-header h6 {
    font-family: "Raleway", sans-serif;
    font-size: 32px;
    color: var(--backgrount-color);
    /* visibility: hidden; */
}

.nav-brand {
    /* left: 4%;
    position: fixed; */
    z-index: 600;
    top: 4px;
    width: 48px;
}


.header-links {
    margin-top: 6px;
    /* padding: 0;
    position: fixed;
    width: 360px;
    z-index: 500; */
}

.header-links li {
    display: inline;
    /* padding: 15px; */
    /* color: white; */
    /* float: right; */
    /* font-size: 16px; */
}

.header-links a {
    color: var(--backgrount-color);
    /* -webkit-transition: all 0.3s ease-in; */
}

.header-links a:hover {
    color: var(--color-accent);
    -webkit-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}



/* Expanding border effect */
.header-links a::after {
    display: block;
    margin: 0 auto;
    margin-top: 4px;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    content: "";
    opacity: 0;
    -webkit-transition: width 0.6s, opacity 0.8s;
    -moz-transition: width 0.6s, opacity 0.8s;
    transition: width 0.6s, opacity 0.8s;
}

.header-links a:hover::after,
.header-links a:focus::after {
    opacity: 1;
    width: 100%;
}


ul {
    list-style-type: none;
    font-family: "Raleway", sans-serif;
}

a {
    text-decoration: none;
}

.header {
    text-align: center;
    padding: 32px;
}

.header h1 {
    font-family: "Raleway", sans-serif;
    font-size: 57px;
    padding-top: 48px;
}

/* gallery */
.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 16px 16px 16px;
}

.column {
    flex: 25%;
    max-width: 25%;
}

.img-hover-zoom {
    height: auto;
    overflow: hidden;
    border: 5px solid #ffff;
}

.img-hover-zoom img {
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: 0;
    transition: transform .5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.5);
}




@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }

    .row {
        padding: 0px 16px 16px 16px;
    }


}

@media screen and (max-width: 500px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }

    .row {
        padding: 0px 16px 16px 16px;
    }
.header{
    padding: 16px;
}
.header h1{
    font-size: 32px;
    padding-top: 48px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
}

}