* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
}

.page {
  display: flex;
  flex-wrap: wrap;
}

h1, h2, h3, h4, h6, p {
  font-family: "helvetica neue", arial, sans-serif;
  /* font-family: 'Roboto', sans-serif; */
}

h1 {
  font-size: 36px;
  line-height: 1.4em;
  font-weight: 200;
  letter-spacing: 1px;
  /* these lower two lines added to add border lines */
  /* overflow: hidden;
  text-align: center; */
}

/* BEGIN BORDER LINES BEFORE/AFTER */
/* h1:before,
h1:after {
    background-color: #000;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 10%;
}
h1:before {
    right: 0.5em;
    margin-left: -50%;
}
h1:after {
    left: 0.5em;
    margin-right: -50%;
} */
/* END BORDER LINES BEFORE/AFTER */
h2 {
  color: #1D78D0;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: .5px;
}

h4 {
  color: rgba(26, 26, 26, .7);
}

h5 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 70px;
}

h6 {
  font-size: 36px;
  line-height: 1.4em;
  font-weight: 200;
  letter-spacing: 1px;
}

p {
  font-style: 16px;
  color: #5E5E5E;
  margin: 16px 0;
  line-height: 1.4em;
}

/* WELCOME IMAGE */
.bg {
  display: flex;
  /* The image used */
  background-image: url("images/welcomeimage.jpg");
  /* Full height */
  height: 100%;
  /* Center and scale the image nicely */
  background-position: initial;
  background-repeat: no-repeat;
  background-size: cover;
}

.hi-text {
  text-align: center;
  margin: auto;
  color: white;
  padding-top: 240px;
}

/* FAVORITES SECTION */
#favorites {
  /* background-color: blue; */
  /* margin: auto; */
}

.favorite-intro {
  text-align: center;
  margin: 85px 0;
}

.favorite-items {
  /* position: relative; */
  /* margin: auto; */
  /* width: 100%; */
}

/* a favorite item container with both picture and text */
.favorite-item {
  display: flex;
  margin: 60px 0;
}

.favorite-text {
  padding: 17px;
}

.favorite-picture {
  padding: 17px;
}

/*  SECTION: OTHER WRITING AND PRODUCING */
/* NOTE: i need to create another page for this section, one without the margins so it can be all black  */
.other-writing-producing-blackbox {
  width: 100%;
  background-color: black;
}

.other-intro {
  text-align: center;
  margin: 70px auto 100px;
  color: white;
  width: 70%;
}

.other-writing {
  color: white;
}

.other-top {
  color: white;
  padding-top: 90px;
  /* These last two items are for making the border lines on each side of text. */
  /* overflow: hidden;
    text-align: center; */
}

/* BEGIN BORDER LINES BEFORE/AFTER */
/* .other-top:before,
.other-top:after {
    background-color: #fff;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 8%;
}
.other-top:before {
    right: 0.5em;
    margin-left: -50%;
}
.other-top:after {
    left: 0.5em;
    margin-right: -50%;
} */
/* END BORDER LINES BEFORE/AFTER */
.other-bottom {
  color: #CCCCCC;
  margin-bottom: 60px;
}

.other-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* width: 100px; */
}

.box {
  width: 33.3%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.other-item {
  padding-bottom: 50px;
}

/* WHATS ON MY DESK SECTION */
.whats-on-desk-intro {
  text-align: center;
  margin: 90px 0 50px;
}

/* .ondesk-top{
  color: black;
} */
.ondesk-bottom {
  width: 70%;
  margin: 30px auto 0px;
}

.whats-on-desk-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* margin: 0 20px; */
  padding-bottom: 100px;
}

.whats-on-desk-item {
  margin: 0 10px;
  margin-bottom: 30px;
}

/* 'GET IN TOUCH' SECTION */
/* .get-in-touch-item{
flex: 1;
} */
.closing-image {
  display: flex;
  /* The image used */
  background-image: url("images/GetinTouch.jpg");
  /* Full height */
  height: 70%;
  /* Center and scale the image nicely */
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  /* opacity: .2; */
}

.closing-image {
  max-width: 100%;
  max-height: 847px;
}

.getintouch-wrapper {
  /* position: relative; */
  /* bottom: -3700px;
left: 800px; */
  /* bottom: 500px;
left: 400px; */
  margin-top: 110px;
  margin-left: auto;
  margin-right: 130px;
  /* margin-top: 110px;
/* margin-left:a:;uto;
margin-right:130px; */
  */
  /* width: 200px; */
}

.getintouch {
  color: black;
  font-size: 35px;
  font-weight: 200;
  text-align: center;
}

.myButton {
  /* background:linear-gradient(to bottom, #2dabf9 5%, #2dabf9 100%); */
  background-color: #1D78D0;
  border-radius: 42px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: "helvetica neue", arial, sans-serif;
  font-size: 14px;
  letter-spacing: 2.5px;
  padding: 14px 26px;
  text-decoration: none;
}

.myButton:hover {
  background: linear-gradient(to bottom, #2dabf9 5%, #2dabf9 100%);
  background-color: #2dabf9;
}

.myButton:active {
  position: relative;
  top: 1px;
}









/* Mobile Styles */
@media only screen and (max-width: 640px) {
  .favorite-intro {
    text-align: center;
    margin: 70px 0 0 0;
  }

  .favorite-item {
    flex-wrap: wrap;
  }

  .favorite-picture {
    margin: auto;
  }

  .favorite-text {
    text-align: center;
  }

  h1 {
    font-size: 28px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .bg {
    max-width: 100%;
    max-height: 290px;
  }

  .hi-text {
    text-align: center;
    margin: auto;
    color: white;
    padding-top: 100px;
  }

  h5 {
    font-size: 30px;
  }

  h6 {
    font-size: 18px;
  }

  .closing-image {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("images/GetinTouch.jpg");
    max-width: 100%;
    max-height: 290px;
  }

  .getintouch-wrapper {
    opacity: 1;
    margin: 80px auto;
    /* margin-right: 80px; */
  }

  .other-intro {
    width: 90%;
  }

  .ondesk-bottom {
    width: 80%;
  }

  .other-writing-producing-blackbox {
    width: 100%;
  }

  .other-items {
    min-width: 400px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }

  .other-item {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    justify-content: center;
    align-items: center;
    padding-left: 22px;
    padding-right: 22px;
  }

  img {
    /* putting this image selector with min-width and mix-width values is what allowed the logos to scale down.  */
    min-width: 0;
    max-width: 100%;
    min-height: auto;
  }
}








/* Tablet Styles */
@media only screen and (min-width: 641px) and (max-width: 960px) {
  .page {
    /* max-width: 800px; */
  }


  .bg {
    background-position: 30% 50%;
    height: 100%;
    background-size: cover;


  }

  /* Center and scale the image nicely */




  .whats-on-desk {
    width: 641px;
    margin: 0 auto;
  }

  h1 {
    font-size: 36px;
    line-height: 1.4em;
    font-weight: 200;
    letter-spacing: 1px;
    /* these lower two lines added to add border lines */
    overflow: hidden;
    text-align: center;
  }

  /* BEGIN BORDER LINES BEFORE/AFTER */
  h1:before,
  h1:after {
    background-color: #000;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 10%;
  }

  h1:before {
    right: 0.5em;
    margin-left: -50%;
  }

  h1:after {
    left: 0.5em;
    margin-right: -50%;
  }

  /* END BORDER LINES BEFORE/AFTER */
  .favorite-item {
    margin: 40px 20px;
  }

  .favorite-picture {}



    .other-writing-producing-blackbox {
      width: 100%;
      padding-bottom: 5px;
    }


  .other-items {
    min-width: 641px;
    margin: 0 auto 40px 0;
    justify-content: center;
    align-items: center;

  }

  .other-item {
    display: flex;
    flex-wrap: wrap;
    width: 31%;
    justify-content: center;
    align-items: center;
  }

  .other-items img {
    /* putting this image selector with min-width and mix-width values is what allowed the logos to scale down.  */
    min-width: 0;
    max-width: 100%;
    min-height: auto;
  }




  .other-top {
    color: white;
    padding-top: 90px;
    /* These last two items are for making the border lines on each side of text. */
    overflow: hidden;
    text-align: center;
  }

  /* BEGIN BORDER LINES BEFORE/AFTER */
  .other-top:before,
  .other-top:after {
    background-color: #fff;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 8%;
  }

  .other-top:before {
    right: 0.5em;
    margin-left: -50%;
  }

  .other-top:after {
    left: 0.5em;
    margin-right: -50%;
  }


  .closing-image {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("images/GetinTouch.jpg");
    max-width: 100%;
    /* max-height: 290px; */
  }

  .getintouch-wrapper {
    opacity: 1;
    margin: 140px auto;
    /* margin-right: 80px; */
  }

  /* END BORDER LINES BEFORE/AFTER */
}






/* Desktop Styles */
@media only screen and (min-width: 961px) {
  .page {
    width: 1020px;
    margin: 0 auto;
  }

  .bg {
    max-width: 100%;
    max-height: 847px;
  }

  .other-items {
    min-width: 961px;
    margin: 0 auto;
  }

  /* .whats-on-desk{
  width:960px;
  margin: 0 auto;

} */
  .whats-on-desk-items {
    width: 1150px;
    margin: 0 auto;
  }

  .get-in-touch-items {
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  h1 {
    font-size: 36px;
    line-height: 1.4em;
    font-weight: 200;
    letter-spacing: 1px;
    /* these lower two lines added to add border lines */
    overflow: hidden;
    text-align: center;
  }

  /* BEGIN BORDER LINES BEFORE/AFTER */
  h1:before,
  h1:after {
    background-color: #000;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 10%;
  }

  h1:before {
    right: 0.5em;
    margin-left: -50%;
  }

  h1:after {
    left: 0.5em;
    margin-right: -50%;
  }

  /* END BORDER LINES BEFORE/AFTER */
  .other-top {
    color: white;
    padding-top: 90px;
    /* These last two items are for making the border lines on each side of text. */
    overflow: hidden;
    text-align: center;
  }

  /* BEGIN BORDER LINES BEFORE/AFTER */
  .other-top:before,
  .other-top:after {
    background-color: #fff;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 8%;
  }

  .other-top:before {
    right: 0.5em;
    margin-left: -50%;
  }

  .other-top:after {
    left: 0.5em;
    margin-right: -50%;
  }

  /* END BORDER LINES BEFORE/AFTER */
}
