html {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-decoration: none;
    scroll-behavior: smooth;
}
a {
  color:white;
  text-decoration: none;
}
body {
  margin:0;
}

.banner {
  background: url(../Images/background+onyx+online+with+logo.png);
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media only screen and (max-height: 650px), only screen and (max-width: 530px) and (max-height: 800px) {
  .banner {
    background:url(../Images/background+onyx+online.jpg);
  }
}
/* HEADER STUFF */

.header {
  letter-spacing: .02em;
  font-size: 16px;
  font-style: normal;
  text-transform: none;
  


}

.header ul {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  margin:45px;
}

.header li {
  display: inline;
  padding: 6px;

}

.header li a {
  color: white;

}

.links {
  position: absolute;
  display: inline;
  right: 15px;
  padding-left: 5px
}


.contact {
  border: 1px solid white;
  padding: 6 15px;
  transition-duration: 0.2s;
}
.contact:hover {
  background: white;
  color: black;
}

/* stlying for social link symbols */
.fa {
  font-size: 20px;
  width: 20px;
  text-align: center;
  text-decoration: none;
  padding: 0 10;
}
.fa-facebook, .fa-twitter, .fa-instagram {
  color: white;
}

/* BANNER STUFF */

.banner-text {
  position:absolute;
  left: 0;
  right: 0;
  text-align: center;
  padding-bottom: 3vw;
  bottom: 35px;
  max-width: 500px;
  margin:auto;
}
.banner-text h1 {
  font-size: 2.4rem;
  margin: 0;

}
.button {
  border: 1px solid white;
  padding: 10 20px;
  margin: 40 60 0 60px;
  display: inline-block;
  transition-duration: 0.2s;
}
.button:hover {
  background: white;
  color: black;
}


/* Mobile Header */
.topnav-icon {
  display:none;
}
.mobile {
  display: inline;
}
@media only screen and (max-width: 1000px) {
  .header li a {display: none;}
  .socials {display: none;}
  .contact {display: none;}
  .topnav-icon {
    float: right;
    display: block;
  }

  .responsive {
    position:absolute;
    right: 15px;
    display: block;
    text-align: center;
    color:red;

  background: black;
  background-size: cover;
  background-position: center;

  }  

}

/*Mobile 2021*/
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  display: block;
  transition: 0.3s;
}
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}


/* GALLERY STUFF */

.gallery {
  width: 33.33%;
  float: left; /*a god, lets them all fit nice and snug*/
  overflow: hidden; /*when hovered and zooms in, you don't see overflow*/
  
}
.gallery img {
  filter: grayscale(100%);
  transition: .3s ease;
}
.gallery:hover img{
  filter: grayscale(0%); /*black and white to color when hovered*/
  transform: scale(1.1); /*very mild zoom in*/

}
/* blackmagic that you're supposed to do after using a float */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
/* resizes columns when screen is small*/
@media only screen and (max-width: 700px) {
  .gallery {
    width: 49.99%;
  }
}


/*RECENT WORK*/

.title {
  color: black;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 25px;
  font-size: 1.5rem;
}
.website-gallery {
  width: 33.33%;
  float:left;
  overflow: hidden; /*when hovered and zooms in, you don't see overflow*/
  
}
.website-gallery img {
  transition: .3s ease;
  border-bottom: 1px solid black;
}
.website-gallery:hover img{
  transform: scale(1.1); /*very mild zoom in*/
}
.description {
  color: black;
  padding-top: 5px;
  padding-bottom: 0;
  text-align: center;
}
.description-text {
  color: black;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  padding-bottom: 16px;
}

.white-space {
  display: block;
  height: 100px;
}
@media only screen and (max-width: 700px) {
  .description-text {
    display:none;
  }
}



/* Portfolio*/
.portfolio {
  font-size: 0;
  background-color: black;;
  /*  height: 37.72vw */
}
.portfolio-title {
  color: white;
  text-align: center;
  font-size: 24px;
  display: block;
  width: 100%;
  background-color: black;
  padding: 15px 0;
  font-size: 2.4rem;
}
.portfolio-container {
  width: 80%;
  display: inline-block;
}
.portfolio .img-container {
  width: calc(50% - 4px);
  display: inline-block;
  border-right: solid 4px black;
  border-bottom: solid 4px black;
  overflow: hidden;
}
.portfolio .img-container img {
  width: 100%;
  transition: .3s ease;
}
.portfolio .img-container img:hover {
  transform: scale(1.1);
}
.more {
  width: 20%;
  display: inline-block;
  vertical-align: top; 
}
.more-text {
  color: black;
  font-size: 6.2vw;
  display: block;
  padding-left: 20px;
  line-height: 1.2;
  background-color: white;
  transition: .3s;
}
.more-text:hover {
  background-color: black;
  color: white;
}
@media only screen and (max-width: 600px) {
  .more-text {
    padding-left: 10px;
  }
}



/*GET IN TOUCH*/
.get-in-touch {
  background: url(../Images/background+2-dark.png);
  min-height: 750px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100 10 50 10px;
}
.form-text {
  max-width: 557px;
  position: absolute;
  right:55%;
  margin: 15px;
}

.form-container {
  max-width: 583px;
  position: absolute;
  left:50%;
  margin-right: 15px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px dashed white;
  border-radius: 45px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}
input[type=submit] {
  color: white;
  padding: 12px 20px;
  border: 2px solid white;
  cursor: pointer;
  background:none;
  transition-duration: 0.2s;
  font-family: 'Oswald', sans-serif;
}
input[type=submit]:hover {
  background-color: white;
  color: black;
}
::placeholder {
  font-family: sans-serif;
  color: rgb(104, 103, 103);
  font-size:12px;
}
@media only screen and (max-width: 800px) {
  .form-text {
    display: block;
    width: 100%;
    right: 0;
    position: static;
    margin: auto;
  }
  .form-container{
    display: block;
    width: 100%;
    left: 0;
    position: static;
  }
}



/*FOOTER SECTION*/
.footer {
  background: black;
  text-align: center;
  width: 100%;
  height: 400px;
}
.footer-text {
  position: relative;
  left:0;
  right:0;
  padding-top: 3.3vmax;
  padding-bottom: 3.3vmax;
}
.footer-socials {
  margin: 20px;
  display: block;
}





/* ABOUT US PAGE */



.banner.about {
  background: url(../Images/background+onyx+online.jpg);
  max-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.banner-text.about {
  position:relative;
  top:50%;
}


.who-container {
  text-align: center;
  color:black;
  max-width: 900px;
  margin: 90 auto;
}
hr {
  text-align: center;
  max-width: 800px;

}
.who-text {
  display:inline-block;
  max-width: 400px;
  padding: 17px;
  text-align: center;
}
.profile-gallery {
  display:inline-block;
  max-width: 400px;
  padding: 17px;
  text-align: center;
  margin: 0 50px;
}
.description a {
  color: -webkit-link;
}
.map {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
  margin:50 50 0 50px;
}
.map iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
  filter: invert(90%);
}



/*SERVICES*/
.service-banner {
  background: url(../Images/background+3.png);
  height:100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color:black;
}

.web-design-section {
  background-color: black;
  /*
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), url(../Images/web+design+bg-suana.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  */
}
.seo-section {
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), url(../Images/ottawa+seo+bg-suana.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.social-media-ads-section {
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), url(../Images/ottawa+social+media+ads+bg-suana.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-text {
  margin:auto;
  text-align: center;
  max-width: 900px;
  padding:50px;
}
.underline {
  text-decoration: underline;
}
.service-text h1 {
  font-size: 2.4rem;
  margin: 0;
  margin-bottom: 25px;
}
.service-text ul {
  padding-left:25%;
}
.service-text li {
  text-align: left;
}
.service-text img {
  margin: auto;
  display:block;
  width:93.5px;
}


.price {
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), url(../Images/background+onyx+online.jpg);
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
}
.price-text {
  padding: 84px 150px; 
}
@media only screen and (max-width: 500px) {
  .price-text {
    padding: 84px 25px;
  }
}
.price hr{
  margin: 8px auto;
  max-width:900px;
}
.price-box {
  display: inline-block;
  max-width: calc(50% - 85px);
  text-align: left;
  vertical-align: top;
}


.line {
  width:1px;
  border-right: 1px solid white;
  margin: 0 80px;
  height: 294px;
  display: inline-block;
}
.mobile-line {
  display:none;
}
@media only screen and (max-width: 800px) {
  .price-box {
    display: block;
    max-width: fit-content;
    }
  .service-text ul {
    padding: 0;
  }
  .line {
    display:none;
  }
  .mobile-line {
    display:block;
  }
}



/* WEBSITE SERVICE */
.section h1 {
  margin-top: 40px;
}
table {
  margin: auto;
  border-collapse: collapse;
}
th {
  font-size: 24px;
}
table th:not(:first-child), td:not(:first-child) {
  border-left: solid 1px grey;
}
table td {
  padding: 20px 20px 0 20px;
  width: 50%;
  text-align: left;
  vertical-align: middle;
}
.summary td {
  text-align: center;
  padding: 20px 0 0 0;
  vertical-align: top;
}
.post-table {
  font-weight: 100;
  margin-top: 30px;
}
.step2 .button {
  text-transform: uppercase;
  display: block;
  background-color: white;
  color: black;
  padding: 50px 12px;
  border-radius: 50%;
  width: 100px;
  height: 24px;
  vertical-align: bottom;
  margin: 50px auto;
}
.step2 .button .button-text {
  margin: 0;
}
.price table td.tsubject {
  width: 100px;
}
.price td {
  width: auto;
  vertical-align: middle;
}
.price table td.tprice {
  width: 80px;
}
.text-link {
  text-decoration: underline;
  color: lightskyblue;
}
.tdescription a {
  color: lightskyblue;
}
@media only screen and (max-width: 800px) {
  .price td {
    padding: 20px 5px 0 5px;
  }
  .price table td.tsubject {
    width: 75px;
  }
}
@media only screen and (max-width: 650px) {
  .price td {
    display: block;
    border-left: none;
  }
  .price td.tdescription {
    border-bottom: solid 2px white;
  }
  .price td.tsubject {
    text-decoration: underline;
    width: 200px;
  }
}

/*BLOG*/
.invert-header {
  filter: invert(1);
}


.blog-container {
  background-color: grey;
  height:100%;
  width:auto;

}

.banner-blog {
  background-color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-font {
  color: black;
  font-weight: 400;
  max-width: 1200px;
  margin: auto;
  margin-top: 80px;
  margin-bottom:80px;
  padding: 6vw;
}
.blog-font img {
  width:100%;
}

.blog-font p {
  display:inline;
  vertical-align: top;
}
.blog-font-indent {
  text-indent: 50px;
}
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.blog-link a {
  color:black;
  display:block;
}
.blog-link h2 {
  font-weight: 600;
}

.blog-link {
  width: 25%;
  display:inline-block;
  height: 400px;
  margin: 0 4%;
  vertical-align: top;
  color:black;
 }
@media only screen and (max-width: 800px) {
  .blog-link {
    display: block;
    width: 92%;
    height: auto;
    margin-bottom: 30px;
  }
}


.blog-link img {
  width:100%;
}

.readmore {
  text-decoration: underline;
  font-weight: 400;
}


.PageNavigation {
  font-size: 14px;
  display: block;
  width: auto;
  overflow: hidden;
}

.PageNavigation a {
  display: block;
  /* I copied this code and I don't want it
  width: 50%;
  float: left;
  */
  margin: 1em 0;
  color:black;
}

.PageNavigation .prev {
  text-align: right;
}


.blog-logo img {
  width:100px;
  margin: 40 30px;
}

.blog-list {
  font-weight:400;
  margin: 50px 0;
  min-height: calc(100% - 340px - 233px);
}



/* PORTFOLIO */
.portfolio-page {
  max-width: 720px;
  margin: 0 auto;
}
.portfolio-page-post {
  margin: 30px 0;
  padding: 5px;
  border: solid 2px black;
}
.portfolio-page-image-container {
  width: calc(50% - 40px);
  display: inline-block;
  margin-right: 20px;
}
.portfolio-page-image-container img {
  width: 100%;
}
.portfolio-page-text {
  display:inline-block;
  margin-left: 20px;
  width: calc(49% - 20px);
  vertical-align: top;
  color: black;
}
.portfolio-page-text h2 {
  margin: 5px 0 20px 0; 
}
.portfolio-page-text a {
  color: black;
  border: solid 1px black;
  padding: 1px;
}
.portfolio-page-text a:hover {
  color: white;
  background-color: black;
}