* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }

body {
    color: #fff;
    font-family: "Baloo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    height: 100vh;
    background-color: #100c31;
}

.logo {
    margin-bottom: 40px;
    margin-left: -2px;
    width: 300px;
    height: 150px;
}

.chevrons {
    width: 100px;
}

.tac {
    text-align: center;
}

.centre-chunk {
    position: relative;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 90vh;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.main-nav-stuff {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    max-width: 900px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.divider {
    width: 100px;
    height: 1px;
    margin-bottom: 24px;
    background-color: rgba(222, 222, 222, .2);
}

.central-list {
    margin-left: -16px;
    padding-left: 0px;
}
.w-central-unstyled {
    padding-left: 0;
    list-style: none;
}

.central-list-items {
    display: block;
    overflow: visible;
    -webkit-transition: -webkit-transform 400ms ease;
    transition: -webkit-transform 400ms ease;
     transition: transform 400ms ease;
    transition: transform 400ms ease, -webkit-transform 400ms ease;
}

.central-list-link {
    display: inline-block;
    padding: 16px;
    -webkit-transition: color 400ms ease, -webkit-transform 400ms ease;
    transition: color 400ms ease, -webkit-transform 400ms ease;
    transition: color 400ms ease, transform 400ms ease;
    transition: color 400ms ease, transform 400ms ease, -webkit-transform 400ms ease;
    color: #dbd9e8;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    text-decoration: none;
}

.central-list-link:hover {
    transform: translate(16px, 0px);
    color: #fff000;
}



/* get the images to display, and certain colours in certain places etc */

.face-block {
    position: absolute;
    left: 40%;
    top: 15%;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 500px;
    height: 500px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.me-red, .me-blue, .me-yellow {
    position: absolute;
    width: 192px;
    height: 300px;
    opacity: 0.4;
    z-index: 1;
    background-color: transparent;
    text-align: center;
}

.me-red {
    position: absolute;
    left: 100px;
    top: 260px;
    background-image: url('red-me.webp');
    background-position: 50% 50%;
}

.me-blue {
    position: absolute;
    left: 130px;
    top: 250px;
    background-image: url('blue-me.webp');
    background-position: 50% 50%;
}

.me-yellow {
    position: absolute;
    left: 160px;
    top: 240px;
    background-image: url('yellow-me.webp');
    background-position: 50% 50%;
}


p a {
    color: #fff000;
    text-decoration: none;
}

p a:hover {
    opacity: 0.8;
}

.about-divider {
    padding-top: 25px;
    border-bottom: solid 1px #e9e9e9;
}


.contact-btn {
    background-color: #fff000;
    color: #333;
    border-radius: 5px;
    padding: 15px;
    font-weight: 500;
    font-size: 18px;
    border: solid 2px #f9f9f9;
}

.contact-btn:hover {
    opacity: 0.8;
    cursor: pointer;
}

.tac {
    text-align: center;
}


/* none home page nav bar */

body.light-mode {
    background-color: #f9f9f9;
    color: #333;
    height: 100%;
}

body.light-mode a {
    color: rgba(0, 69, 255);
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 10px;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: solid 1px #ccc;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: inherit;
}

.hero {
    text-align: center;
    padding: 20px 0;
    color: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ccc;
}

input:checked + .slider:before {
    transform: translateX(26px);
}




/* main page styles */

.main-content {
    display: block;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
}


/* cards for projects */

.row {margin: 0 -5px;}

.row:after {
  content: "";
  display: table;
  clear: both;
  text-align: center;
}

.column {
    float: left;
    width: 25%;
    padding: 0 10px;
  }

.card {
    background-color: #f9f9f9;
    height: 350px;
    width: 250px;
    border: solid 1px #333;
    border-radius: 15px;
    box-shadow: 2px 3px 4px 1px #808080;
    text-align: center;
    margin: 0 auto;
}

.card img {
    width: 100%;
    border-radius: 15px;
}

.card h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: center;
    padding-bottom: 10px;
}

.card p {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: left;
    padding: 0 10px;
}

.card p a {
    font-weight: 500;
    color: #100c31;
    text-decoration: none;
}

/* cards for blogs */
.row-blog {
    margin: 0 -5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.column-blog {
    float: left;
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.column-blog a {
    text-decoration: none;;
}

.card-blog {
    background-color: #f9f9f9;
    height: 100%;
    width: 300px;
    border: solid 1px #333;
    border-radius: 15px;
    box-shadow: 2px 3px 4px 1px #808080;
    text-align: center;
    margin: 10px;
}

.card-blog:hover {
    opacity: 0.8;
    cursor: pointer;
}

.card-blog img {
    width: 100%;
    border-radius: 15px;
}

.card-blog h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: center;
    padding-bottom: 10px;
}

.card-blog p {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: left;
    padding: 0 10px;
}

.card-blog p a {
    font-weight: 500;
    color: #100c31;
    text-decoration: none;
}

.blog-date {
    font-size: 14px;
}


.card-blog .card-date {
    font-size: 10px;
    color: #555;
    padding-top: 5px;
}


/* form shit */

.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.form-container h2, h4 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.form-group button:hover {
    background-color: #0056b3;
}

.divider {
    width: 100%;
    border-bottom: solid 1px #666;
}


/* all of the code for the footer */

footer {
    width: 80%;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    border-top: solid 1px #ccc;
}

/*mobile css*/
@media (max-width: 769px) {

    .centre-chunk {
        padding: 20px;
        height: 90vh;
    }

    .face-block {
        left: 15%;
    }

    .main-content {
        display: block;
        align-items: center;
        max-width: 100vh;
        margin: 0 auto;
        padding: 20px;
    }

    .container {
        width: 100%;
    }

  }
  