/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #041e42;
    background: #ffffff;
    background: linear-gradient(rgba(255, 255, 255, .95), rgba(255, 255, 255, .95)), url(../img/test.jpg);
    background-attachment: fixed;
    font-family: 'Aleo', sans-serif;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    margin: 0;
    
}

h1,
h2,
h3,
h4,
h6 {
    color: #041e42;
}

h5 {
    color: #ffffff;
}

a {
    color: #041e42;
    transition: .3s;
}


a:hover,
a:active,
a:focus {
    color: #a51f37;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: #041e42;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #041e42;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
    border-radius: 6px;
}

.btn:hover {
    color: #041e42;
    background: transparent;
    box-shadow: inset 0 0 0 0 #041e42;
    border-color: #041e42;
}

#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #ffffff;
    border-top: 5px solid #041e42;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/

.dropdown-item:hover {
    background-image: none;
    background-color: #ffffff;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.navbar {
    padding: 100px 0 0 0;
    position: fixed;
    width: 100%;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar .navbar-brand {
    margin: 0;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .5s;

}


.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar {

    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        padding: 30px 60px;
        background: transparent !important;

        z-index: 9;
    }

    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #ffffff !important;
    }

    .navbar .navbar-brand {
        color: #ffffff;
    }

    .navbar .navbar-brand:hover {
        color: #ffffff;
    }

    .navbar.nav-sticky .navbar-brand {
        color: #041e42;
    }

    .navbar.nav-sticky .navbar-brand:hover {
        color: #041e42;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 10px 10px 8px 10px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 500;
    } 

    .nav-link:active{
        color: #ffffff;
    }

    .navbar-light.nav-sticky .navbar-nav .nav-link,
    .navbar-light.nav-sticky .navbar-nav .nav-link:focus {
        color: #041e42;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #a51f37;
    }


    .navbar-light.nav-sticky .navbar-nav .nav-link:hover {
        color: #a51f37;
    }

    .navbar-light .navbar-nav .nav-link.active {
        color: #ffffff;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link.active {
        color: #041e42;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 15px;
        background: #ffffff !important;
    }

    .navbar .navbar-brand {
        color: #041e42;
    }


    .navbar .navbar-nav {
        margin-top: 15px;
    }

    .navbar a.nav-link {
        padding: 5px;
    }


    .navbar {
        box-shadow: none;
    }
}


/*******************************/
/********** title CSS ***********/
/*******************************/
.title {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 100px 0 0 0;
    overflow: hidden;
    background: #041e42;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.title .container-fluid {
    padding: 0;
}

.title .title-image {
    position: relative;
    text-align: right;
    padding-right: 75px;
}

.title .title-image img {
    max-width: 80%;
    max-height: 80%;
}

.title .title-content {
    position: relative;
    padding-left: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.title-text h2::after {
    content: "";
    margin-left: 4px;
    width: 2px;
    height: 80%;
    background: #ffffff;
    display: inline-block;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% {background: #041e42}
    50% {background: #ffffff}
    100% {background: #041e42}
}


.title .title-text p {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.title .title-text h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.title .title-text h2 {
    display: inline-block;
    margin: 0;
    height: 35px;
    color: #ffffff;
    font-size: 35px;
    font-weight: 600;
}


.title .title-text .typed-cursor{
    font-size: 35px;
    font-weight: 300;
    color: #ffffff;
}

.title .btn {
    margin-top: 35px;
    color: #041e42;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.title .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.title .btn:first-child {
    margin-right: 10px;
}

@media (max-width: 991.98px) {
    .title {
        padding-top: 60px;
    }

    .title .title-content {
        padding: 0 15px;
    }

    .title .title-text p{
        font-size: 20px;
    }

    .title .title-text h1 {
        font-size: 45px;
    }

    .title .title-text h2 {
        font-size: 25px;
        height: 25px;
    }

    .title .btn {
        padding: 12px 30px;
        letter-spacing: 1px;
    }
}

@media (max-width: 767.98px) {
    .title {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .title,
    .title .title-text,
    .title {
        width: 100%;
        text-align: center;
    }

    .title .title-text p {
        font-size: 18px;
    }

    .title .title-text h1 {
        font-size: 35px;
    }

    .title .title-text h2 {
        font-size: 22px;
        height: 22px;
    }

    .title .btn {
        padding: 10px 15px;
        letter-spacing: 1px;
    }
}

@media (max-width: 575.98px) {
    .title .title-text p {
        font-size: 16px;
    }

    .title .title-text h1 {
        font-size: 30px;
    }

    .title .title-text h2 {
        font-size: 18px;
        height: 18px;
    }

    .title .btn {
        padding: 8px 10px;
        letter-spacing: 0;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 45px;
}

.section-header p {
    display: inline-block;
    margin: 0 30px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #ffffff;
}

.section-header p::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 11px;
    right: 0;
    left: -30px;
    background: #041e42;
    z-index: -1;
}

.section-header p::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    top: 11px;
    left: 3px;
    background: #041e42;
    z-index: 1;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}

/*******************************/
/********** Tools CSS **********/
/*******************************/

.tools-box{
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-right: 5px solid #ffffff;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
    
}

.tools {
    position: relative;
    width: 100%;
    margin: -45px 0 45px 0;
    margin-top: 15px;
    margin-bottom: 30px;
}

.tools .col-lg-6 {
    padding: 0;
}

.tools .section-header {
    margin-bottom: 30px;
}

.tools .tools-img {
    position: relative;
    height: 100%;
}

.tools .tools-img img {
    position: relative;
    width: 100%;
    height: 100%;
}

.tools .tools-content {
    padding: 0 60px;
}

.tools .tools-text p {
    font-size: 16px;
}

.tools p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.tools p:last-child {
    float: right;
}

.tools .progress {
    height: 10px;
    border-radius: 10px;
    background: #ffffff;
}

.tools .progress .progress-bar {
    width: 0px;
    background: #041e42;
    border-radius: 10px;
    transition: 2s;
}

.tools .tools-text a.btn {
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .tools .tools-content {
        padding: 45px 15px 0 15px;
    }
}

/*******************************/
/******* education CSS ********/
/*******************************/
.education {
    position: relative;
    padding: 45px 0 15px 0;
}

.education .timeline {
    position: relative;
    width: 100%;
}

.education .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #041e42;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.education .timeline .timeline-item {
    position: relative;
    background: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.education .timeline .timeline-item.left {
    left: 0;
    padding-right: 30px;
}

.education .timeline .timeline-item.right {
    left: 50%;
    padding-left: 30px;
}

.education .timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 48px;
    right: -8px;
    background: #ffffff;
    border: 2px solid #041e42;
    border-radius: 16px;
    z-index: 1;
}

.education .timeline .timeline-item.right::after {
    left: -8px;
}

.education .timeline .timeline-item::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 46px;
  right: 10px;
  z-index: 1;
  border: 10px solid;
  border-color: transparent transparent transparent #ffffff;
}

.education .timeline .timeline-item.right::before {
  left: 10px;
  border-color: transparent #ffffff transparent transparent;
}

.education .timeline .timeline-date {
    position: absolute;
    width: 100%;
    top: 44px;
    font-size: 16px;
    font-weight: 600;
    color: #041e42;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.education .timeline .timeline-item.left .timeline-date {
    text-align: left;
    left: calc(100% + 55px);
}

.education .timeline .timeline-item.right .timeline-date {
    text-align: right;
    right: calc(100% + 55px);
}

.education .timeline .timeline-text {
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-right: 5px solid #ffffff;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.education .timeline .timeline-item.right .timeline-text {
    border-right: none;
    border-left: 5px solid #ffffff;
}

.education .timeline .timeline-text h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600;
}

.education .timeline .timeline-text h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

.education .timeline .timeline-text p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .education .timeline::after {
        left: 8px;
    }

    .education .timeline .timeline-item {
        width: 100%;
        padding-left: 38px;
    }

    .education .timeline .timeline-item.left {
        padding-right: 0;
    }

    .education .timeline .timeline-item.right {
        left: 0%;
        padding-left: 38px;
    }

    .education .timeline .timeline-item.left::after,
    .education .timeline .timeline-item.right::after {
        left: 0;
    }

    .education .timeline .timeline-item.left::before,
    .education .timeline .timeline-item.right::before {
        left: 18px;
        border-color: transparent #ffffff transparent transparent;
    }

    .education .timeline .timeline-item.left .timeline-date,
    .education .timeline .timeline-item.right .timeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        text-align: left;
        margin-bottom: 10px;
    }

    .education .timeline .timeline-item.left .timeline-text,
    .education .timeline .timeline-item.right .timeline-text {
        border-right: none;
        border-left: 5px solid #ffffff;
    }
}


/*******************************/
/********* Banner CSS **********/
/*******************************/
.banner {
    position: relative;
    width: 100%;
    margin: 45px 0;
    padding: 40px 0;
    background: #041e42;
}

.banner .container {
    flex: 1;
    max-width: 750px;
    text-align: center;
}

.banner .section-header {
    margin-bottom: 20px;
}

.banner .section-header p {
    color: #ffffff;
    background: transparent;
}

.banner .section-header p::after {
    display: none;
}

.banner .section-header h2 {
    color: #ffffff;
}


.banner .banner-text p {
    font-size: 18px;
    color: #ffffff;
}

.banner .banner-text .btn {
    margin-top: 15px;
    color: #041e42;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.banner .banner-text .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

/*******************************/
/********* footer CSS **********/
/*******************************/



footer{
    margin-top: auto;
}

.footer {
    position: relative;
    width: 100%;
    margin-top: 45px;
    background: #041e42;
    
  }

  .footer .container-fluid {
    
    padding: 60px 0 0 0;
}
  
  
  /* Sticky footer style and color
  -------------------------------------------------- */
  
  footer a {
    color: #ffffff;
    text-decoration:none;
  }
 

.footer-btn:focus {
    box-shadow: none;
}


.footer-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #041e42;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 6px;
    box-shadow: inset 0 0 0 50px #ffffff;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

form, input, textarea {
    color: #041e42 !important;
}

textarea{
    resize: vertical;
    min-height: 65px;
    max-height: 100px;
    
}

.footer-btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.form-control{
    color: #041e42;
}

.form-control::placeholder {
    color: #041e42;
    opacity: 1;
}

.form-control:-ms-input-placeholder,
.form-control::-ms-input-placeholder {
    color: #041e42;
}


/*******************************/
/********** Snake CSS **********/
/*******************************/

#game-board{
    background-color: #041e42;
    width: 75vmin;
    height: 75vmin;
    display: grid;
    grid-template-rows: repeat(21, 1fr);
    grid-template-columns: repeat(21, 1fr);
}

.snake{
    background-color: #ffffff;
    border: .25vmin solid #041e42; 
    
}

.food{
    background-color: #a51f37;
    border: .25vmin solid #041e42; 
    
}

