:root {
    --primary-colour: hsl(220, 39%, 48%);
    --primary-colour-dim: hsl(220, 42%, 35%);
    --secondary-colour: hsl(43, 62%, 53%);
    --secondary-colour-dim: hsl(43, 68%, 49%);
    --colour-white: hsl(0, 0%, 100%);
}

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}

hr {
    width:75%;
    height: 5px;
    background-color: var(--secondary-colour); 
    border: none;
}
/* Start of customizing Scroll Bar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-colour);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-colour-dim);
}
/* End of customizing Scroll Bar */
/* Start of Scroll To Top Button Styling */
#progress {
   position: fixed;
   bottom: 300px;
   right: 10px;
   height: 70px;
   width: 70px;
   display: none;
   align-items: center;
   justify-items: center;
   border-radius: 50%;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   cursor: pointer;
   z-index: 50;
}
#progress-value {
   display: block;
   height: calc(100% - 15px);
   width: calc(100% - 15px);
   background: var(--primary-colour);
   border-radius: 50%;
   display: grid;
   font-size: 35px;
   color: var(--colour-white);
   z-index: 50;
}
#arrow {
   padding: 2px;
   text-align: center;
}
/* End of Scroll To Top Button Styling */
/* Start of Navigation Rework*/
.navigation {
    display: flex;
    width: auto;
    height: 100px;
    background: var(--primary-colour);
    border-bottom: 5px solid var(--secondary-colour);
}
.nav-position-left {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
}
.nav-position-right {
    display: flex;
    flex: 1;
    flex-direction: row-reverse;
    justify-content: space-evenly;
}
header ul li {
    list-style: none;
}
.navbar-button {
    text-transform: uppercase;
    overflow: hidden;
    letter-spacing: 4px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: var(--colour-white);
    transition: 0.2s;
    font-size: 16px;
}
.navbar-button:hover {
    background: var(--secondary-colour);
    box-shadow: 0 0 10px var(--secondary-colour), 0 0 10px var(--secondary-colour), 0 0 40px var(--secondary-colour), 0 0 80px var(--secondary-colour);
    transition-delay: 1s;
}
.navbar-button span {
    position: absolute;
    display: block;
}
.home-navcurrent {
    font-family: sans-serif;
    font-weight: bold;
    color: var(--colour-white);
}
.navbar-button span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, var(--secondary-colour));
}
.navbar-button:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
}
.navbar-button span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(180deg, transparent, var(--secondary-colour));
}
.navbar-button:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}
.navbar-button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-colour));
}
.navbar-button:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}
.navbar-button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, var(--secondary-colour));
}
.navbar-button:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}
.nav-portrait img {
    width: 256px;
    height: 192px;
}
@media (max-width: 1045px) {
    .navbar-button {
        display: none;
   }
}
/* End of Header Rework */
/* Start of navigation side bar for mobile */
.side-navbar {
    display: none;
}
@media (max-width: 1045px) {
    .nav-position-left {
        padding: 0%;
   }
    .side-navbar {
        display: flex;
        transition: width 200ms ease;
        z-index: 5;
        fill: var(--colour-white);
   }
    .side-navbar-nav{
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
   }
    .side-nav-item {
        width: 100%;
        background-color: var(--primary-colour);
        border-right: 5px solid var(--secondary-colour);
   }
    .side-nav-item:last-child{
        margin-top: auto;
        border-bottom: 5px solid var(--secondary-colour);
   }
    .side-nav-link{
        display:flex;
        align-items: center;
        height: 3.5rem;
        color: var(--text-primary);
        text-decoration: none;
        filter: grayscale() opacity(0.7);
        transition: var(--transition-speed);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        justify-content: center;
   }
    .side-link-text {
        display: block;
        color: var(--colour-white);
   }
    .side-nav-link svg{
        min-width: 1.5rem;
        margin: 0 1.5rem;
        transition: width 200ms ease;
   }
    .nav-link:hover{
        filter: grayscale(0%) opacity(1);
        background: var(--bg-primary);
        color: var(--text-secondary);
        transition: 2ms ease-in;
   }
    .side-navbar:hover .side-link-text{
        display: block;
        color: whitesmoke;
   }
    .side-icon{
        margin-bottom: 1.9rem;
        text-align: center;
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 0.3ch;
        width: 100%;
        padding-left: 10px;
   }
    .side-icon svg {
        transform: rotate(0deg);
        transition: transform var(--transition-speed);
        transition: all 1s;
   }
    .side-navbar:hover .side-icon svg {
        transform: rotate(-180deg);
   }
}
/* End of navigation side bar for mobile */
/* Start of Footer Rework */
footer {
    width: auto;
    height: 250px;
    display: flex;
    background: var(--primary-colour);
    border-top: 5px solid var(--secondary-colour);
}
.foot-navcurrent {
    font-family: sans-serif;
    font-weight: bold;
    color: var(--colour-white);
}
.foot-single-footer {
    flex: 2;
    padding-left: 1rem;
    padding-right: 1rem;
}
.foot-single-footer h2 {
    text-transform: uppercase;
    text-decoration: underline;
    font-weight: bolder;
    color: var(--colour-white);
    margin-top: 10px;
}
.foot-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.foot-nav a {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--colour-white);
    font-size: 24px;
}
.foot-nav a:hover {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--secondary-colour);
    font-size: 24px;
}
.foot-social-links {
    float: right;
}
.foot-svg-container svg {
    width: 50px;
    height: 50px;
}
.foot-colour {
    fill: var(--colour-white);
}
.foot-svg-container svg:hover {
    fill: var(--secondary-colour);
    transition: 350ms ease-in;
}
/* End Of Footer Rework */
/* Start Of The Image Slider CSS */
.img-slider {
    width: 100%;
    height: 500px;
    position: absolute;
    background-color: whitesmoke;
  }
  @keyframes background-pan {
    from {
      background-position: 0% center;
    }
    to {
      background-position: -200% center;
    }
  }
  h2 .magic {
    animation: background-pan 3s linear infinite;
    background: linear-gradient(to right, var(--primary-colour), var(--secondary-colour), var(--secondary-colour-dim), var(--primary-colour-dim));
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
  }
  .img-slider .slide {
    position: absolute;
    width: 100%;
     /* Set the initial z-index to 1 */
     z-index: 1;
     /* Set the animation-fill-mode to "forwards" */
     animation-fill-mode: forwards;
  }
  .img-slider .slide.active {
    z-index: 2;
    /* Set the clip-path property to the final value of the animation */
    clip-path: circle(150% at 0 50%);
    /* Define the animation */
    animation: clip-path-animation 2s;
    visibility: visible;
    transition: 1s;
    transition-property: clip-path, visibility;
  }

  /* The animation keyframes */
  @keyframes clip-path-animation {
    /* Set the initial value of the clip-path property */
    0% {
      clip-path: circle(0% at 0 50%);
    }
    /* Set the final value of the clip-path property */
    100% {
      clip-path: circle(150% at 0 50%);
    }
  }
  
  .img-slider .slide img {
    z-index: 1;
    width: 100%;
    filter: drop-shadow(0 0 0.75rem var(--secondary-colour));
  }
  .img-slider .slide .info {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 15px 21px;
    z-index: 2;
  }
  .img-slider .slide .info h2 {
    color: var(--colour-white);
    background: rgba(0, 0, 0, 0.5);
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
  }
  .img-slider .slide .info p {
    color: var(--colour-white);
    background: rgba(0, 0, 0, 0.5);
    font-size: 24px;
    padding: 5px;
    border-radius: 4px;
  }
  .img-slider .navigationslider {
    z-index: 2;
    position: absolute;
    display: flex;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
  }
  .img-slider .navigationslider .btn {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    margin: 10px;
    border-radius: 50%;
    cursor: pointer;
  }
  .img-slider .navigationslider .btn.active {
    background: var(--primary-colour);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  }
  
  @media (max-width: 1069px) {
    .img-slider .slide .info {
      top: 45px;
    }
    .img-slider .slide .info h2 {
      font-size: 35px;
    }
  }
  @media (max-width: 874px) {
    .img-slider .slide .info {
      top: 42px;
    }
    .img-slider .slide .info h2 {
      font-size: 30px;
      padding: 10px;
    }
    .img-slider .slide .info p {
      font-size: 16px;
      padding: 10px;
    }
    .img-slider .navigationslider {
      bottom: 15px;
    }
  }
  
@media (max-width: 1069px) {
    .img-slider .slide .info {
        top: 45px;
   }
    .img-slider .slide .info h2 {
        font-size: 35px;
   }
}
@media (max-width: 874px) {
    .img-slider .slide .info {
        top: 42px;
   }
    .img-slider .slide .info h2 {
        font-size: 30px;
        padding: 10px;
   }
    .img-slider .slide .info p {
        font-size: 16px;
        padding: 10px;
   }
    .img-slider .navigationslider {
        bottom: 15px;
   }
}
/* End Of The Image Slider CSS */
/* Start Of Styling for index.html (Homepage) */

.home-intro {
    background-color: #f9f9f9;
    padding: 50px;
    text-align: center;
  }
  
.home-intro h1 {
    margin-bottom: 20px;
    color: #333;
  }
  
.home-intro p {
    line-height: 1.5;
    color: #666;
  }
  

.home-keyskills {
    text-align: left;
    display: flex;
}
.home-WD_keyskills {
    flex: 1;
    padding-right: 10px;
}
.home-DM-SM_keyskills {
    flex: 1;
}
.home-JCC_Img {
    width: 50%;
    height: 50%;
}
.home-infosummary {
    padding-left: 40px;
    padding-right: 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 200px;
}
.home-EDU_Qualification {
    padding-left: 150px;
    padding-right: 150px;
}
.home-heroimage {
    max-height: 700px;
    max-width: 700px;
    padding-right: 40px;
}
.home-CTAbuttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.home-portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    background-color: #f1f1f1;
    padding: 30px;
    margin-bottom: 2rem;
  }
.home-portfolio-section {
    margin-bottom: 0.25rem;
    text-align: center;
    width: 250px;
    height: 250px;
    padding: 1rem;
}
.home-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-colour);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.home-btn-group {
    max-height: 165.6px;
    min-width: 200px;
}
.home-btn:hover {
    background-color: var(--secondary-colour);
}
@media (max-width: 1582px) {
    .home-EDU_Qualification {
        padding-left: 2px;
        padding-right: 2px;
   }
}
@media (max-width: 1250px) {
    .home-EDU_Qualification {
        padding-left: 40px;
        padding-right: 40px;
   }
}
@media (max-width: 960px) {
    .home-JCC_Img {
        width: 100%;
        height: 100%;
   }
    .home-keyskills {
        flex-direction: column;
   }
    .home-col1 {
        display: none;
        width: 0%;
   }
   .home-intro {
    padding: 15px;
   }
}
/* End Of Styling for index.html (Homepage) */
/* Starts Of Styling for CV Pages */
.CV-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    justify-items: center;
}
/* End Of Styling for CV Pages */
/* Start of Thank You Page Styling */
.tyheroimage {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tyheroimage img {
    width: 600px;
    height: 600px;
}
@media (max-width: 485px) {
    .tyheroimage img {
        width: 375px;
        height: 375px;
        padding-bottom: 85px;
   }
}
/* End of Thank You Page Styling */
/* Start of Styling portfolio.html (Website portfolio) */
.port_row {
    display: -ms-flexbox;
   /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap;
   /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}
.card-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px;
}
.port_column {
    -ms-flex: 25%;
   /* IE10 */
    flex: 25%;
    max-width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 695.3px;
}

.port_column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 25%;
}
.port_project_containers {
    flex: 4;
}
.port_buttons_container {
    flex: 1;
    padding: 10px;
}
.pagination{
    text-align: center;
    margin: 30px 15px 60px;
    user-select: none;
    margin-top: 100px;
}
@media(max-width: 1200px) {
    .port_column{
        height: auto;
    }
    .pagination {
        margin-top: 10px;
    }
}
.pagination li{
    display: inline-block;
    margin: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 10%);
}
.pagination li a {
    color: var(--colour-white);
    text-decoration: none;
    font-size: 1.2em;
    line-height: 45px;
}
.previous-page, .next-page {
    background: var(--secondary-colour);
    width: 80px;
    border-radius: 45px;
    cursor: pointer;
    transition: 0.3s ease;
}
.previous-page:hover{
    transform: translateX(-5px);
}
.next-page:hover{
    transform: translateX(5px);
}
.current-page, .dots{
    background: #ccc;
    width: 45px;
    border-radius: 50%;
    cursor: pointer;
}
.active2{
    background: var(--primary-colour);
}
.disable{
    background: #ccc;
}
@media screen and (max-width: 960px) {
    .port_column {
        -ms-flex: 100%;
        flex: 50%;
        max-width: 100%;
   }
}
@media screen and (max-width: 768px) {
    .port_column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
        padding-left: 0%;
   }
}
/* End of Styling portfolio.html (Website portfolio) */
/* Start of Main Content (All Pages) */
main {
    background: whitesmoke;
}
.maincontent {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 24px;
    min-width: 200px;
}
.mainheader {
    margin-top: 75px;
    font-size: 24px;
}
/* End of Styling Main Content (All Pages) */
/* Start of Styling Video Page */
.vid-infosummary {
    padding-left: 5%;
    padding-right: 5%;
}
.vid-heroimage {
    max-height: 500px;
    max-width: 500px;
    padding: 0px 0px 50px 0px;
}
.vid-CTAbuttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}
/* End of Styling Video Page */
/* Start of Styling Contact Us Page */
.col_contactus {
    border-radius: 5px;
    padding: 50px 0px 20px 100px;
    font-family: sans-serif;
    text-transform: uppercase;
}
.col_contactus h2 {
    font-family: 'Roboto', sans-serif;
    padding: 0;
}
.contact-heroimage {
    min-height: 750px;
    min-width: 750px;
    padding: 0px 0px 120px 50px;
}
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: sans-serif !important;
}
input[type=emailC] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
input[type=submit] {
    align-items: center;
    background-color: rgb(5, 6, 45);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: var(--colour-white);
    display: flex;
    font-family: Phantomsans, sans-serif;
    font-size: 24px;
    justify-content: center;
    line-height: 1em;
    max-width: 100%;
    min-width: 140px;
    padding: 16px 24px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
}
input[type=submit]:active, [type=submit]:hover {
    background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
}

/* Contact Us page Media Tags */

@media (max-width: 1250px) {
    .contact-heroimage {
        padding: 0px 100px 0px 0px;
   }
    .col_contactus {
        border-radius: 5px;
        padding: 20px 50px 20px 50px;
        font-family: sans-serif;
        text-transform: uppercase;
   }
}
@media screen and (max-width: 740px) {
    .col_contactus {
        padding: 0px 0px 20px 0px;
   }
}
/* End of Styling Contact Us Page */
.row { /* Pages - About Me, Contact Me, Index & Video */
   margin-bottom: 3%;
   display: flex;
}
.col1 .vid-col1 { /* Pages - About Me & Videos */
   width: 50%;
   align-items: center;
   padding-right: 2px;
   margin-left: 15px;
   font-size: 24px;
}
.col2 { /* Pages - About Me & Contact Me */
   width: 50%;
   display: flex;
   align-items: center;
}
.ab_hero-images {
    max-height: 500px;
    max-width: 500px;
    padding: 0px 0px 120px 0px;
}
/* Start of Optimisation Style for mobile and smaller resoluitons */
@media (max-width: 1250px) {
    .vid-col1 {
        width: 0%;
        display: none;
   }
    .col2 {
        width: 0%;
        display: none;
   }
}
@media screen and (max-width: 960px) {
    .row {
        flex-direction: column-reverse;
   }
}
/* End of Optimisation Style for mobile and smaller resoluitons */
/* Start Of Styling Button 64 */
.button-64 { /* Pages - About Me, Index, Portfolio, Thank You, Video */
    align-items: center;
    background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: var(--colour-white);
    display: flex;
    font-family: Phantomsans, sans-serif;
    font-size: 20px;
    justify-content: center;
    line-height: 1em;
    max-width: 100%;
    min-width: 140px;
    padding: 3px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
}
.button-64:active, .button-64:hover {
    outline: 0;
}
.button-64 span {
    background-color: rgb(5, 6, 45);
    padding: 16px 24px;
    border-radius: 6px;
    width: 100%;
    transition: 300ms;
    text-decoration: none;
}
.button-64:hover span {
    background: none;
}

/* Media Tags For Button 64 */

@media (min-width: 768px) {
    .button-64 {
        font-size: 24px;
        min-width: 196px;
   }
}
/* End Of Styling Button 64 */
