@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url(utilities.css);
:root {
  --bg-color:#CCCCCC;
  --primary-color: #2195C7;
  --secondary-color: #32303D;
  --dark-color: #32303D;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/*
@media (min-width: 40rem) {
  html { font-size: 112%; }
}

@media (min-width: 64rem) {
  html { font-size: 120%; }
}
*/
body {
  font-family: 'Roboto', sans-serif;
  color: var(--secondary-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  scroll-behavior: smooth;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

p {
  margin: 10px 0;
}

img {
  width: 100%;
}

code,
pre {
  background: #333;
  color: #fff;
  padding: 10px;
}


.hidden {
  visibility: hidden;
  height: 0;
}

/* header */
.logo {
  font-size:1.25rem;
  color:var(--secondary-color);
}
.logo span {
  font-weight:600;
}
.logo img {
  width: 30px;
  margin: 0 2px -8px 0;
}
.logo a {
  padding:0 !important;
  border-bottom:none !important;
  margin:0 !important;
}
/* Navbar */
.navbar {
  height: 70px;
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: var(--secondary-color);
  padding: 18px 0px;
  margin: 0 1rem;
  font-weight: normal;
  font-size:1rem;
}
.navbar .active {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.65rem .8rem 1.1rem;
  border-bottom:none !important;
  font-weight: bold;
}
.navbar .navbtn {
  border: 1px var(--primary-color) solid;
  border-radius:6px;
  padding: 8px 16px;
}
.navbar .navbtn:hover {
  border: 1px var(--secondary-color) solid;
  color:var(--primary-color);
  transition: ease-in-out;
}
.navbar a:hover {
  border-bottom: 2px var(--primary-color) solid;
}

.navbar .flex {
  justify-content: space-between;
}

.hamburger {
  display: none;
}

/* Showcase */
.showcase {
  height: 400px;
  color: var(--secondary-color);
  position: relative;
}

.showcase h2 {
  font-size: 3.9rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
}
.showcase span {
  font-weight: 300;
}

.showcase p {
  margin: 0 0 15px 0;
  font-size:1.55rem;
  font-weight: 300;
}

.showcase .grid {
  overflow: visible;
  grid-template-columns: 70% auto;
  gap: 30px;
}

.showcase-text {
  /* animation: slideInFromTop 1s ease-in; */
}

.showcase-gal {
  padding:20px 0 0 0;
}

/* slider

<span>
    <h4>Another caption title</h4>
    <p>More lorem ipsum dolor...</p>
</span>

*/
.slider {
  padding: 0;
  margin: 0;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  max-width: 310px;
  border-radius: 6px;
}

.slider ul {
  width: 1000%;
  height: auto;
  position: relative;
  list-style: none;
  left: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  -moz-animation:slide-animation 15s infinite;
  -webkit-animation:slide-animation 15s infinite;
}

.slider ul:hover {
  -moz-animation-play-state:paused;
  -webkit-animation-play-state:paused;
}

.slider li {
  width: 10%;
  list-style: none;
  float: left;
  margin: 0;
  padding: 0;
}

.slider img {
  width:250px;
  border-radius: 6px;
  border: 1px var(--secondary-color) solid;
}

.slider span {
  position: relative;
  height: 50px;
  display: block;
  font-size: 0.8em;
  bottom: 0;
  padding: 0.5px 20px 0px 20px;
  margin-top: -50px;
  overflow: hidden;
  background-color:rgba(54,44,48,0.6);
  color: #fcfcfc;
  text-shadow: 0px 1px 1px #9d9d9d;
  font-weight: normal;
  border-radius: 4px;
}

@-webkit-keyframes slide-animation {
  1% {left: 0%; opacity: 1;}
  18% {left: 0%; opacity: 1}
  19% {opacity: 0.2;}
  20% {left: -100%; opacity: 1;}
  58% {left: -100%; opacity: 1;}
  59% {opacity: 0.2;}
  60% {left: -200%; opacity: 1;}
  98% {left: -200%; opacity: 1;}
  99% {opacity: 0.5;}
  100% {left: 0%;}
}

@-moz-keyframes slide-animation {
  1% {left: 0%; opacity: 1;}
  18% {left: 0%; opacity: 1}
  19% {opacity: 0.2;}
  20% {left: -100%; opacity: 1;}
  58% {left: -100%; opacity: 1;}
  59% {opacity: 0.2;}
  60% {left: -200%; opacity: 1;}
  98% {left: -200%; opacity: 1;}
  99% {opacity: 0.5;}
  100% {left: 0%;}
}

.showcase-form {
  position: relative;
  top: 60px;
  height: 350px;
  width: 400px;
  padding: 40px;
  z-index: 100;
  justify-self: flex-end;
  animation: slideInFromRight 1s ease-in;
}

.showcase-form .form-control {
  margin: 30px 0;
}

.showcase-form input[type='text'],
.showcase-form input[type='email'] {
  border: 0;
  border-bottom: 1px solid #b4becb;
  width: 100%;
  padding: 3px;
  font-size: 16px;
}

.showcase-form input:focus {
  outline: none;
}
/*
.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background: #fff;
  transform: skewY(-3deg);
  -webkit-transform: skewY(-3deg);
  -moz-transform: skewY(-3deg);
  -ms-transform: skewY(-3deg);
}
*/

/* about */
.about {
  margin:5rem 0 2rem;
}
.about .aboutTxt h2 {
  font-size:2rem;
  color:var(--secondary-color);
  font-weight: bold;
  margin:0;
}
.about .aboutTxt h3 {
  font-size:1.4rem;
  color:var(--secondary-color);
  font-weight: bold;
  margin:0;
  padding: 0.25rem 0 0 0;
}
.about .aboutTxt P {
  font-size: 0.95rem;
  line-height: 1.5em;
  margin: 0 0 1rem 0;
}
.about .aboutTxt p a:link, .about .aboutTxt p:visited {
  color:var(--secondary-color);
  font-weight: 600;
}

.about .aboutTxt p a:hover {
  color:var(--primary-color);  
}
.about .social {
  padding:0.2rem 0 0 0;
}
.about .social .fab {
  font-size:1.7rem;
  padding:0 .5rem 0 0;
}
.about .social a:hover {
  color: var(--primary-color);
}
.about .profileIMG {
  background-image: url('../img/Profile1.jpeg');
  background-size:cover;
  background-position: top center;
  width: 460px;
  height: 695px;
  border-radius: 6px;
  border:1px var(--secondary-color) solid;
}
.about .aboutIMG {
  width: 30rem;
  border-radius: 6px;
  border:1px var(--secondary-color) solid;
}
.about li {
  font-size: 0.90rem;
  font-weight: 300;
  padding:0 0 7px 0;
}

.about .skillcon {
  background-color: var(--secondary-color);
  width: 95%;
  border-radius: 6px;
}

.about .skill {
  background-color: var(--primary-color);
  padding: .15rem;
  text-align: right;
  border-radius: 6px;
}

/* Stats */
.stats {
  margin:0 0 3rem;
  /*animation: slideInFromBottom 1s ease-in;*/
}
.stats .grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 10px;
}

.stats .statsBox {
  background-color: var(--secondary-color);
  color: var(--light-color);
  border-radius: 6px;
  padding: 10%;
  min-height: 123px;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
.stats .statsBox:hover {
  background-color:  var(--primary-color);
}
.stats .statsBox h3 {
  font-size: 2rem;
  font-weight: bold;
  margin:0;
  line-height: 2.5rem;
}
.stats .statsBox sup {
  font-size:1rem;
}
.stats .statsBox p {
  font-size: 1.1rem;
  font-weight: normal;
  margin:0;
  padding:0;
  color: var(--light-color);
}

/* port */
.port {
  text-align: center;
  margin:0;
  padding:0;
}
.port-section {
  padding:0 0 2rem 0;
}
.port .btn {
  margin: 2em auto 1em auto;
}
.port h2 {
  font-size:2rem;
  color:var(--secondary-color);
  font-weight: bold;
  margin:0;
  text-align: left;
  padding:2rem 0 0;
}
.port p {
  text-align: left;
  font-size: 1.2rem;
}
.port .grid {
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(1, 1fr);
}
.port nav {
  height: 70px;
  display: none;
}

.port nav ul {
  display: flex;
}

.port nav a {
  color: var(--secondary-color);
  padding: 18px 0px;
  margin: 0 1.8rem;
  font-weight: normal;
  font-size:1rem;
}
.port nav .active {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.65rem .8rem 1.1rem;
  border-bottom:none !important;
  font-weight: bold;
}
.port nav .navbtn {
  border: 1px var(--primary-color) solid;
  border-radius:6px;
  padding: 8px 16px;
}
.port nav .navbtn:hover {
  border: 1px var(--secondary-color) solid;
  color:var(--primary-color);
  transition: ease-in-out;
}
.port nav a:hover {
  border-bottom: 2px var(--primary-color) solid;
}

/* Portfolio cards */
.port .cards {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5em, 1fr));
  grid-auto-rows: auto;
  gap: 30px;
}

.port .card {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  background: var(--secondary-color);*/
}

.port .card__image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.port .card__content {
  padding: 0 15px;

}
.port .card__content h3 {
  font-size: 1.6rem;
  text-align: left;
  line-height: 3rem;
}
.port .card__content p {
  text-align: left;
  line-height: 1.35;
  font-size: 1rem;
}
.port .card__content > p:first-of-type {
  margin-top: 0;
}

.port .card__content > p:last-of-type {
  margin-bottom: 0;
}

.port .card__info {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color:var(--secondary-color);
  font-size: 0.8em;
  border-radius: 0 0 6px 6px;
}

.port .card__info i {
  font-size: 0.9em;
  margin-right: 8px;
}

.port .card__link {
  color:var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.port .card__link:hover {
  text-decoration: underline;
}

/* footer hero*/
.footerhero {
  background:url(../img/Beach_bg.jpg) no-repeat center center;
  background-color:var(--light-color);
  background-blend-mode: darken;
  background-size:cover;
  padding: 6.5em 0em;
  border-top:1px var(--primary-color) solid;
  border-bottom:1px var(--primary-color) solid;
  margin: 3rem 0 0 0;
}
.footerhero .grid {
  grid-template-columns: 1fr;
}
.footerhero h2 {
  color:var(--dark-color);
  font-size: 2rem;
  font-weight: bolder;
  text-shadow: 1px 1px var(--bg-color);
  margin:0;
  padding:0;
}
.footerhero p {
  color:var(--dark-color);
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 1px 1px var(--bg-color);
  margin:5px 0;
}

/* Features */
.features-head img,
.docs-head img {
  width: 200px;
  justify-self: flex-end;
}

.features-sub-head img {
  width: 300px;
  justify-self: flex-end;
}

.features-main .card > i {
  margin-right: 20px;
}

.features-main .grid {
  padding: 30px;
}

.features-main .grid > *:first-child {
  grid-column: 1 / span 3;
}

.features-main .grid > *:nth-child(2) {
  grid-column: 1 / span 2;
}

/* Footer */
.footer {
  padding:3rem 0;
}
.footer h1 {
  font-size:2rem;
  font-weight: bold;
}
.footer h2 {
  font-size: 2rem;
  margin: 0 0 1.5rem 0;
  font-weight: bold;
}
.footer h3 {
  font-size: 1.5rem;
  margin: 2rem 0 .5rem 0;
  font-weight: bold;
}
.footer p {
  font-size: 20px;
  line-height: 1.4em;
  text-align: left;
}
.footer .social a {
  margin: 0 8px;
}
.footer .social a:hover {
  margin: 0 8px;
  color:var(--primary-color);
}
.footer .social .fab {
  font-size:1.5rem;
}
.footer nav {
  margin:0;
  padding:0;
}
.footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer nav li a {
  display: block;
  margin: -1px 10px;
  font-size: 0.8rem;
}
.footer nav li a:hover {
  text-decoration: underline;
}
.footer nav li {
  border-right:1px var(--light-color) solid;
  color:var(--light-color);
}
.footer nav li:last-child {
  border-right:none;
}
.footer .copyright {
  text-align: center;
  color:var(--bg-color);
}
.footer .copyright strong {
  color:var(--light-color);
}
.footerNav {
  padding:3rem 0 0 0;
}

/* form styles */
.footer input[type=text], .footer input[type=email] {     
  width: 100%;
  height: 2rem;
  border-radius: 6px;
  padding: 5px;
  font-size: .8rem;
  margin: 0 0 10px 0;
  background: var(--dark-color);
  color: var(--light-color);
  border: 1px var(--light-color) solid;
}
.footer input[type=text]:focus {

}
.footer input[type=textarea] {
  width: 100%;
  height: 5rem;
  padding: 5px;
  box-sizing: border-box;
  border: 1px var(--light-color) solid;
  border-radius: 6px;
  background: var(--dark-color);
  resize: none;
  font-size: .8rem;
  margin: 0 0 10px 0;
}
.footer input[type=submit] {
  width: 100%;
  height: 3rem;
  background:var(--primary-color);
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateX(0);
  }
}

.scrolltop-wrap {
  box-sizing: border-box;
  position: absolute;
  top: 12rem;
  right: 2rem;
  bottom: 0;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.scrolltop-wrap #scrolltop-bg {
  fill: var(--primary-color);
}
.scrolltop-wrap #scrolltop-arrow {
  fill: var(--light-color);
}
.scrolltop-wrap a:hover #scrolltop-bg {
  fill: var(--secondary-color);
}
.scrolltop-wrap a:hover #scrolltop-arrow {
  fill: var(--light-color);
}
@supports (-moz-appearance: meterbar) {
  .scrolltop-wrap {
    clip: rect(0, 3rem, auto, 0);
  }
}
.scrolltop-wrap a {
  position: fixed;
  position: sticky;
  top: -5rem;
  width: 3rem;
  height: 3rem;
  margin-bottom: -5rem;
  transform: translateY(100vh);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: inline-block;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: all;
  outline: none;
  overflow: hidden;
}
.scrolltop-wrap a svg {
  display: block;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}
.scrolltop-wrap a svg path {
  transition: all 0.1s;
}
.scrolltop-wrap a #scrolltop-arrow {
  transform: scale(0.66);
  transform-origin: center;
}
@media print {
  .scrolltop-wrap {
    display: none !important;
  }
}


/* Case Study */
.role, .summary, .challenge, .solution, .results, .learned {
  padding: 0 3.5rem;
  margin: 3rem auto 2rem;
}

.role h2, .summary h2, .challenge h2, .solution h2, .results h2, .learned h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  padding:0 0 2px 0;
  color: var(--dark-color);
}
.CSheader {}

.CSheader h2 {
  font-size: 2.9rem;
  font-weight: bold;
  margin:0;
}
.results h3 {
  font-size: 1.3rem;
  font-weight: normal;
  margin:2rem 0 0 0;
}
.CSheader p {
  font-size: 0.9rem;
  line-height: 1.4em;
  padding:0;
  margin:0;
  color: #666;
}

.CSheader-text {
  text-align: left;
  margin-top: 40px;
  padding: 0 1rem;
}
.videobox {
  margin: 1rem;
}
.learned a:link, .learned a:visited {color:var(--primary-color);font-weight: bold;}
/* mobile menu bar */
.mobileNavBar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 75px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-color);
  display: flex;
  visibility: hidden;
  overflow-x: auto;
}

.mobileNavBar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
  font-size: .85rem;
  color: var(--light-color);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.1s ease-in-out;
}

.mobileNavBar__link:hover {
  background-color:var(--bg-color);
  color:var(--dark-color);
}

.mobileNavBar__link--active {
  color: var(--light-color);
  font-weight: bold;
}

.mobileNavBar__icon {
  font-size: 1.5rem;
  padding:0 0 .2em 0;  
}

/* media queries 

@media (width > 35em) and (width < 50em){

}

@media (width > 50em) {
  
}*/
/* Tablets and under */
@media only screen and (max-width: 768px) {
  .grid,
  .showcase .grid,
  .stats .grid,
  .port .grid,
  .footerhero .grid,
  .features-main .grid,
  .docs-main .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .container {
    padding: 0 25px;
  } 
  .showcase {
    height: auto;
  }
  .showcase h2 {
    font-size: 2.9rem;
  }
  .showcase p {
    font-size: 1.3rem;
    line-height: 1.4em;
  }
  .stats .statsBox {
    padding: 5%;
    min-height: 104px;
  }
  .stats {
    margin: 0 0 2rem;
  }
  .showcase-text {
    text-align: center;
    margin-top: 40px;
    /* animation: slideInFromTop 1s ease-in; */
  }
  .showcase-text .btn {
    width: 84%;
  }
  .showcase-text .btn-dark {
    margin:1em 0;
  }
  .showcase-gal {
    padding: 0;
  }
  .scrolltop-wrap {
    display: none;
  }
  .slider {
    text-align: center;
  }
  .slider img {
    width: 300px;
  }
  .about {margin: 3rem 0 2rem;}
  .about .aboutTxt h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 0 0 1rem 0;
  }
  .port h2 {
    font-size: 2.5rem;
  }
  .about .social .fab {
    font-size: 2.8rem;
    padding: 0 0.8rem 0 0;
  }
  .about .aboutTxt h3 {
    font-size: 1.9rem;
  }
  .about .profileIMG {
    display: none;
  }
  .about .aboutTxt P {
    font-size: 1.2rem;
    line-height: 1.4em;
    margin: 0 0 0.9rem 0;
  }
  .about li {
    font-size: 1.2rem;
  }
  .port .grid > *:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .footerhero {
    padding: 2rem;
  }
  .footer .copyright {
    padding: 0 4rem;
  }
  .footer .social .fab {
    font-size: 2rem;
  }
  .mobileNavBar {
    visibility: visible;
  }
  .navbar {
      position: fixed;
      left: -100%;
      top: 5rem;
      flex-direction: column;
      width: 100%;
      border-radius: 10px;
      text-align: center;
      transition: 0.3s;
  }

  .navbar.active {
      left: 0;
  }

  .navbar li {
      margin: 2.5rem 0;
  }

  .hamburger {
      display: block;
      cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
      -webkit-transform: translateY(8px) rotate(45deg);
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
      -webkit-transform: translateY(-8px) rotate(-45deg);
      transform: translateY(-8px) rotate(-45deg);
  }
  .CSheader h2 {
    font-size: 2rem;
  }
  .CSheader-text {
    margin-top: 1rem;
    padding: 0;
    text-align: center;
  }
  .role, .summary, .challenge, .solution, .results, .learned{
    margin:1rem auto 1.5rem
  }
  .role h2, .summary h2, .challenge h2, .solution h2, .results h2, .learned h2 {
    font-size: 1.5rem;
  } 
  .footerhero h2 {
    font-size: 1.4rem;
  }
  .footerhero p {
    font-size: 1.2rem;
    margin: 0;
  } 
  .break {display:block;}
  .results h3 {
    text-align: center;
  }
  p {
    font-size: 1.2rem;
  }
}
