@import url("https://use.fontawesome.com/releases/v5.15.3/css/all.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
/* CSS VARIABLES */
:root {
    --yellow: #2888a3;
    --blue: #2888a3;
    --cyan: #2888a3;
    --grey: #2888a3;
    --light: #2888a3;
        --black: #000000;
        --white: #FFFFFF;
}
body, html {
	height: 100%;
}
body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 24px;
    /*Body Text Color*/
    color: white;
    /*Body BG*/
    background: black;
}
a, a:hover, a:focus {
    color: var(--blue);
}
#wrapper {
    min-height: 100%;
    padding: 0;
}
/* JUMBOTRON (HEADER) */
.jumbotron {
    height: 50px; /* Adjust this value to the height of your header image, added extra 10px for border */
    margin: 0; /* If you have removed the fixed mobile menu, replace with margin: 0; */
    padding: 0;
    border-bottom: 10px black;
    position: center;
    background: black;
    
}
/* This is needed to vertically align site name/logo */
.jumbotron .container {
    height: 100%;
    position: relative;
}
.branding {
    position: absolute;
    left: 50%;
    top: 67%;
    transform: translate(-50%, -50%);
}
/* NAVIGATION */
.navbar {
    background: white;
    margin: 0;
    border-radius: 0;
	border: 0;
	text-align: left;
    position: fixed; /* This forces the navigation fixed to the top of the window for tablet/mobile */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
.navbar-brand:hover {
    color: var(--blue);
}
.logo {
	background:url('../img/logo.png') 70% 50% no-repeat;
	text-indent: -99999px;
	display: block;
	width: 210px; /* Update this value to the width of your logo */
    height: 50px;
	padding:0;
}
.navbar-brand {
	color: #fff;
    font-size: 30px;
    text-transform: uppercase;
}
/* Remove this CSS if you don't want center aligned navigation links */
.navbar-nav {
	float: none;
}
.navbar-nav>li {
	float: none;
	display: block;
}
/* End of center aligned navigation links */
.nav>li>a {
    color: black;
    text-transform: uppercase;
    font-size: 17px;
    letter-spacing: 1.5px;
    font-family: 'Abel', sans-serif;
    padding: 15px 20px;
}
.nav>li>a:focus, .nav>li>a:hover {
    background: black;
    color: var(--white);
    text-decoration: none;
}
.nav>li>a .fa {
    margin-right: 10px;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background: black;
    color: var(--cyan);
}
.dropdown-menu {
    background: white;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.dropdown-menu>li>a {
    color: black;
    border-left: 5px solid transparent;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    background: black;
	color: #fff;
}
/* NAV Dropdown Separater */
.dropdown-menu .divider {
    background: var(--cyan);
}
/* NAV Dropdown Header */
.dropdown-header {
    color: black;
}
/* Colour of hamburger icon */
.navbar-toggle .icon-bar {
    background: var(--cyan);
}
/* CONTENT */
#content {
    padding: 40px 0 50px;
}
h1, h2 , h3, h4, h5 {
    font-family: 'Abel', sans-serif;
    text-transform: uppercase;
    color: white;
}
h2:before, h3:before, h4:before, h5::before {
    content: '';
    position: relative;
    left: 0px;
    top: -23px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: var(--yellow);
    margin-right: 8px;
}
h2:before {
    top: -29px;
}
h3:before {
    top: -26px;
}
h3:before {
    top: -25px;
}
h1 {
    margin: 0 0 30px;
    text-align: center;
}
h4 {
	margin: 15px 0 10px;
}
.avatar {
	margin: 0 6px 4px 0;
    border: 0px;
	padding: 2px;
    float: left;
    height: 300px;
}
/* PORTFOLIO SECTION */
.portfolio {
    margin: 30px 0;
}
.portfolio .row > .row {
    margin-bottom: 20px;
}
.portfolio article {
    border-bottom: 1px solid var(--light);
}
/* If the image isn't 100% width of the div, this centers the image */
.portfolio article img {
    margin: 0 auto;
    display: block;
}
.portfolio article h2 {
    margin: 0;
    font-size: 24px;
}
.portfolio article h2:before {
    display: none; /* Removes yellow triangle */
}
.portfolio-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}
.portfolio-links {
    flex-shrink: 0;
}
.portfolio-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
    float: right;
}
.portfolio-links ul li {
    display: inline-block;
}
.portfolio-links a {
    border-bottom: 4px solid var(--blue);
    padding: 8px 5px;
    margin: 0 10px;
    display: inline-block;
}
.portfolio-links a:hover {
    text-decoration: none;
    background: var(--blue);
    color: #fff;
}
/* ASIDE box */
aside {
    background-color: var(--white);
    width: 100%;
    float: none;
    padding: 20px 20px 30px;
    color: #fff;
    margin: 25px 0;
}
aside ul {
    padding-left: 0;
    list-style: none;
}
aside ul li {
    margin-bottom: 15px;
    background: url('../img/arrow.png') left top no-repeat; /* Background-image is used rather than "list-style-image" to reposition the image as it is taller than the line height. */
    padding-left: 20px;
}
aside ul li a {
    color: var(--yellow);
}
aside ul li a:hover {
    color: var(--yellow);
}
/* FOOTER */
footer {
	background: var(--white);
	width: 100%;
	color: var(--cyan);
    font-size: 14px;

}
footer .slogan {
    color: var(--white);
    text-transform: uppercase;
    font-size: 150%;
    text-align: right;
    float: right;
    margin: 0;

}
footer h2 {
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
    padding: 0;
    font-size: 20px;
    border: none;
}

footer ul li {
    margin-bottom: 10px;
}
footer ul.links {
    list-style: none;
    padding: 0;
}
footer ul.links li {
    margin-bottom: 20px;
}
footer ul.links li a {
    text-transform: uppercase;
    color: var(--black);
    border-bottom: 1px dotted var(--light);
    letter-spacing: 1px;
    padding-bottom: 5px;
}
footer ul.links li a:hover {
    text-decoration: none;
    color: var(--cyan);
    border-bottom: 1px solid var(--white);
}
footer .widget {margin: 0 15px 40px;}
footer .widget:nth-child(1) {
    margin-top: 10px;
}
.buttons {
    padding: 0;
}
.buttons li {
	display: inline-block;
	list-style: none;
	border: 2px solid transparent;
}
.buttons li:hover {
	border: 2px solid var(--blue);
}
/* MEDIA QUERIES */
@media screen and (min-width: 768px) {
    .branding {
        top: 50%;
        left: 18%;
    }
    .jumbotron {
        background-position: 50% 0%;
        margin-top: 0; /* If you have removed the fixed mobile menu, remove this line */
    }
    .navbar {
        text-align: center;
        position: static;
    }
    .navbar-brand {
        position: relative;
        left: 30%;
    }
    .navbar-nav>li {display: inline-block;}
    .nav>li>a .fa {
        display: block;
        margin: 10px auto;
        font-size: 28px;
    }
    aside {
        background-image: url('../img/sidebar.png');
        background-position: 0 100%;
        background-repeat: no-repeat;
        float: right;
        width: 220px;
        margin: 0 0 50px;
    }
    footer {
        padding: 25px 0;
        background-position: center top;
    }
    footer .slogan {
        padding: 0 0 10px 20px;
    }    
    footer .widget:nth-child(1) {
        margin: 0;
    }
    footer .widget:nth-child(2) {
        margin: 30px 0 0;
    }
    footer .widget:nth-child(3) {
        margin: 70px 0 0;
    }
    footer .slogan {
        padding: 0 40px 10px 20px;
    }

}











/* OL CARDS */

body { 
  --color-bg: #ffffff;

}

.ol-cards,
.ol-cards *,
.ol-cards *::before,
.ol-cards *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ol-cards {
  --ol-cards-color-bg: var(--color-bg);
  list-style-type: none;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 45em;
  padding: 2em;
  gap: 2em;
  counter-reset: ol-cards-counter;
}

.ol-cards li {
  display: grid;
  grid-template-areas:
    "step title"
    "step content";
  padding: 1em 2em 1em 0;
  row-gap: 0.5em;
  column-gap: 2em;
  box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.4),
    inset 0.05em 0.05em rgba(255, 255, 255, 1);
  counter-increment: ol-cards-counter;
  text-align: left;
  background-color: var(--ol-cards-color-bg);
}

.ol-cards.alternate li:nth-child(even) {
  grid-template-areas:
    "title step"
    "content step";
  padding: 1em 0 1em 2em;
}

.ol-cards li .step {
  grid-area: step;
  display: flex;
  align-self: flex-start;
  background-color: var(--ol-cards-color-accent);
  border-radius: 0 50em 50em 0;
  padding: 1em;
  justify-content: flex-end;
  box-shadow: inset 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.4),
    0em 0.05em rgba(255, 255, 255, 1);
  flex: 1;
  gap: 1em;
}

.ol-cards li .step::before {
  flex: 1;
  align-self: center;
  color: var(--ol-cards-color-bg);
  font-weight: bold;
  font-size: 2em;
  text-shadow: 0.025em 0.025em 0.125em rgba(0, 0, 0, 0.4);
}
.ol-cards.alternate li:nth-child(even) .step {
  border-radius: 50em 0 0 50em;
  flex-direction: row-reverse;
}

.ol-cards li .step i {
  color: var(--ol-cards-color-accent);
  width: 2em;
  height: 2em;
  font-size: 1.8em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: var(--ol-cards-color-bg);
  box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.4),
    inset 0.05em 0.05em rgba(255, 255, 255, 1);
}

.ol-cards li .title {
  grid-area: title;
  color: var(--ol-cards-color-accent);
  font-weight: bold;
}
.ol-cards li .content {
  grid-area: content;
  font-size: 0.9em;
}

@media only screen and (max-width: 500px) {
  .ol-cards{
    padding: 1em;
  }
  .ol-cards li{
    column-gap: 0em;
    grid-template-areas:
      'step title'
      'content content';
    grid-template-columns: min-content auto;
    padding: 1em 0em;
  }
  .ol-cards.alternate li:nth-child(even){
    column-gap: 0em;
    grid-template-areas:
      'title step'
      'content content';
    grid-template-columns: auto min-content ;
    padding: 1em 0em;
  }
  .ol-cards li .title{
    padding: 0 1em;
    align-self: center;
    width: auto;
    
  }
  .ol-cards li .step{
    font-size: .5em;
  }
  .ol-cards li .content{
    padding: 0 1em;
  }
}