/* ---------------------------------------
Name:     Ryan Dixon
ID:       18041192
Project:  Personal Website

                [Variables]
----------------------------------------- */
:root {
  --color-primary: #212628;
  --color-secondary: #6a7177;
  --text-primary: #fed136;
}

/*------------------------------------------------------------------
[Reset
http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ---------------------------------------
          [General Styles]
----------------------------------------- */
body {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-primary);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

p {
  line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-weight: 700;
}

section {
  padding: 100px 0;
}

img {
  vertical-align: middle;
  border-style: none;
}

section .heading {
  font-size: 40px;
  margin-top: 0;
}

section .subheading {
  color: var(--color-secondary);
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
}

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

.text-uppercase {
  text-transform: uppercase;
}

.text-primary {
  color: var(--text-primary);
}

.container {
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
  z-index: 5;
}

.column {
  margin-bottom: 2em;
}

.text-info {
  color: #6a7177;
}

.light-bg {
  background-color: #f8f9fa;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.form-control {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 20px;
}

.btn {
  color: #fff;
  background: #fed136;
  display: inline-block;
  cursor: pointer;
  font-weight: 400;
  font-size: 18px;
  padding: 12px 40px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  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;
}

.btn-primary {
  font-weight: 700;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background-color: #212529;
  border-color: #121518;
  color: #fff;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

.clear:before,
.clear:after {
  content: ' ';
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  zoom: 1; /* ie 6/7 */
}

#portfolio .row {
  margin-bottom: 75px;
}

/* ---------------------------------------
                [Icons]
----------------------------------------- */
#menu-button {
  display: block;
  cursor: pointer;
  background-color: #fed136;
  border-radius: 4px;
  color: #fff;
  position: relative;
  padding: 7px 7px;
  float: right;
  margin-top: 5px;
}

#menu-button .bars {
  display: inline-block;
  margin-left: 5px;
}

#menu-button .bar {
  display: block;
  width: 20px;
  margin-bottom: 3px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

#menu-button .bar:nth-child(2) {
  width: 14px;
}

#menu-button .bar:last-child {
  margin-bottom: 0;
}

#menu-button:hover {
  background-color: #fec810;
  border-color: #fec810;
  border-radius: 4px;
}

.light {
  color: #d8d8d8;
}

/* Hide checkbox */
#navbar-primary input[type='checkbox'] {
  display: none;
  -webkit-appearance: none;
}

/* Show menu when invisible checkbox is checked */
#navbar-primary input[type='checkbox']:checked ~ .navbar {
  display: block;
  height: auto;
}

/* ---------------------------------------
          [Notifications]
----------------------------------------- */
#notification {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
  padding: 0.6em 0;
  text-align: center;
  background: #febf01; /* Old browsers */
  background: linear-gradient(to bottom, #febf01 0%, #febf01 100%);
  position: relative;
  z-index: 9999;
}

#notification a {
  display: inline-block;
  padding: 5px 13px;
  color: #fff;
  background: #212529;
  border-radius: 7px;
}

#notification a:hover {
  color: #fed136;
}

/* ---------------------------------------
          [Navigation]
----------------------------------------- */
nav#navbar-primary {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #212529;
  z-index: 9999;
}

nav#navbar-primary .logo {
  display: inline-block;
  font-size: 1.25em;
  font-weight: 700;
  padding: 12px 0;
  color: #fed136;
}

nav#navbar-primary .navbar {
  display: none;
}

nav#navbar-primary .navbar .navbar-items .nav-item {
  border-bottom: 1px dotted #fff;
}

nav#navbar-primary .navbar .navbar-items .nav-item:last-child {
  border-bottom: none;
}

nav#navbar-primary .navbar-items .nav-item .nav-link {
  color: #fff;
  font-size: 90%;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 54px;
  text-transform: uppercase;
  display: block;
}

nav#navbar-primary .navbar-items .nav-item .nav-link.active,
nav#navbar-primary .navbar-items .nav-item .nav-link:hover {
  color: #fed136;
}

/* ---------------------------------------
          [Header]
----------------------------------------- */
header#header .container {
  position: relative;
  z-index: 1;
}

header#header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/dot-pattern.png);
  background-repeat: repeat;
  z-index: 1;
}

header#header {
  background-image: url(../images/header-bg.jpeg);
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
  position: relative;
}

header#header .intro {
  padding: 300px 0 200px 0;
  z-index: 10;
}

header#header .intro .intro-greet {
  font-size: 40px;
  font-style: italic;
  line-height: 40px;
  margin-bottom: 25px;
}

header#header .intro .intro-heading {
  font-weight: 700;
  font-size: 65px;
  line-height: 65px;
  margin-bottom: 50px;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

/* header#header .video-wrapper {
  position: relative;
} */

header#header .featured {
  background-size: cover;
  overflow: hidden;
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  /* z-index: -100; */
}

.assignments-greet {
  font-size: 30px;
  font-style: italic;
  line-height: 30px;
  margin-bottom: 25px;
}

.assignments {
  display: flex;
  /* background: #fff;
  border-radius: 2px;
  -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
          box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2); */
}

.assignments a {
  color: #bdbdbd;
  font-size: 4em;
  font-weight: 350;
  text-align: center;
}

.assignments span {
  font-weight: 1000;
  color: #212628;
}

/* ---------------------------------------
          [Services]
----------------------------------------- */
section#services .service-heading {
  margin: 15px 0;
  text-transform: none;
}

/* ---------------------------------------
          [Portfolio]
----------------------------------------- */
section#portfolio .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
}

section#portfolio .portfolio-item {
  margin: 0 0 30px;
  flex-grow: 1;
  /* width: 33%; */
  display: flex;
  flex-direction: column;
}

section#portfolio .portfolio-item .portfolio-link {
  background: #f7f7f7;
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

section#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
  flex-grow: 1;
}

section#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
}

section#portfolio .portfolio-item .portfolio-link .portfolio-button {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

section#portfolio
  .portfolio-item
  .portfolio-link
  .portfolio-button
  .portfolio-button-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: #fff;
}

section#portfolio
  .portfolio-item
  .portfolio-link
  .portfolio-button
  .portfolio-button-content
  span {
  padding: 5px;
}

section#portfolio .portfolio-item .portfolio-link .portfolio-button:hover {
  opacity: 1;
}

/* ---------------------------------------
          [About]
----------------------------------------- */
section#about .row h2 {
  text-align: center;
  color: #323549;
  line-height: 52px;
  font-size: 30px;
  margin-bottom: 20px;
}

section#about .summary {
  text-align: center;
  margin: 0 auto 1em;
  max-width: 720px;
}

section#about .freelancer {
  width: 100%;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 4px 4px 32px 0px rgba(232, 224, 255, 1);
  padding: 32px;
  margin: 30px 0;
}

section#about .freelancer .links p {
  text-align: center;
}

section#about .user-profile {
  margin-bottom: 25px;
}

section#about .user-profile .user-designation {
  font-size: 16px;
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
  color: #6a7177;
  margin-right: 15px;
  font-weight: 500;
}

section#about .freelancer img {
  width: 62px;
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

/* ---------------------------------------
          [Contact]
----------------------------------------- */

section#contact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/dot-pattern.png);
  background-repeat: repeat;
}

section#contact .container {
  position: relative;
}

section#contact {
  background-color: #212529;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-image: url(../images/contact-phones.jpeg); */
  background-image: url(../images/contact.jpg);
  position: relative;
}

section#contact .heading,
section#contact .subheading {
  color: #fff;
}

section#contact .form-group {
  margin-bottom: 25px;
}

section#contact .form-group textarea.form-control {
  height: 248px;
}

/* ---------------------------------------
          [Footer]
----------------------------------------- */
footer {
  padding: 25px 0;
  text-align: center;
}

footer .logo {
  font-weight: bold;
  margin-right: 2em;
}

footer .copyright {
  text-align: left;
}

footer .list-inline-item {
  display: inline-block;
  margin-right: 0.5rem;
}

footer .list-inline-item:last-child {
  margin-right: 0;
}

footer ul.social-buttons li a {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 50px;
  height: 50px;
  transition: all 0.3s;
  color: #fff;
  border-radius: 100%;
  outline: 0;
  background-color: #212529;
}

footer ul.social-buttons li a:hover {
  background-color: #fed136;
}

/*------------------------------------------------------------------
[Mobile First Media Queries]
*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
  /* ---------------------------------------
            [Navigation]
  ----------------------------------------- */
  nav#navbar-primary .navbar {
    float: right;
  }

  nav#navbar-primary .navbar-items .nav-item {
    display: inline-block;
  }

  nav#navbar-primary .navbar .navbar-items .nav-item {
    padding: 0 1em;
    border-bottom: none;
    line-height: 20px;
  }

  /* ---------------------------------------
            [About]
  ----------------------------------------- */
  section#about .freelancer {
    width: 500px;
    margin: 30px 0;
  }

  /* ---------------------------------------
            [Portfolio]
  ----------------------------------------- */
  section#portfolio .portfolio-item {
    width: 100%;
  }

  /* ---------------------------------------
            [Contact]
  ----------------------------------------- */
  section#contact .column {
    width: 50%;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  /* ---------------------------------------
            [General styles]
  ----------------------------------------- */
  .column {
    width: 33.33%;
    float: left;
    padding: 0 15px;
    margin-bottom: 0;
  }

  .container {
    max-width: 720px;
  }

  /* ---------------------------------------
            [Navigation]
  ----------------------------------------- */
  #menu-button {
    display: none;
  }

  nav#navbar-primary .navbar {
    display: block;
  }

  /* ---------------------------------------
            [About]
  ----------------------------------------- */
  section#about .freelancer-container {
    display: flex;
    justify-content: center;
    margin-top: 100px;
  }

  section#about .freelancer {
    width: 445px;
    margin: 30px 15px;
  }

  /* ---------------------------------------
            [Portfolio]
  ----------------------------------------- */
  section#portfolio .portfolio-item {
    width: 33%;
  }

  /* ---------------------------------------
            [Footer]
  ----------------------------------------- */
  footer .row .column {
    width: 50%;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  section#about .freelancer {
    width: 445px;
    float: left;
    margin: 30px 10px;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1150px;
  }

  section#about .freelancer {
    width: 500px;
  }
}
