/* CSS Variables */
:root {
    --red-color: #FF1B00;
}

/* Logo */
#logo {
    width: 200px;
    height: auto;
    margin-right: 25px;
    padding-left: 0px;
}

/* Navigation */
#sticky-navbar {
    background: black;
}
#navbar {
    background: black;
}
#navbar ul > li:last-child a {
    padding-right: 0px;
}
.uk-active a {
    color: white !important;
}

/* Mobile Navigation */
#mobile-navbar {
    padding-right: 0px;
}
#offcanvas-navigation h3 {
    margin-top: 0px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid gray;
    margin-bottom: 25px !important;
}
#offcanvas-navigation button {
    margin-top: 5px !important;
    margin-right: -5px !important;
}

/* Links */
a:hover {
    color: white !important;
}

/* About section background video element */
#about-video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

/* About section */
#about {
    background: url(images/video-blinds.png) center top;
    height: calc(100vh -5px);
    position: relative;
    z-index: 10;
}

#about-viewport {
    position: relative;
    z-index: 10;
}
#about-title {
    color: white;
}
#about-description {
    color: white;
    font-weight: 100;
    font-size: 18px;
    letter-spacing: 1.5px;
}
#about-buttons {
    display: flex;
}
.about-button {
    border: 1px solid white;
    padding: 10px;
    margin-right: 25px;
    cursor: pointer;
}
.about-button > a {
    display: flex;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.about-button > a:hover {
    text-decoration: none !important;
}
.about-button > a > img {
    width: 20px;
    height: 15px;
    margin-right: 5px;
    display: flex;
}
.about-button > a > div {
    color: white;
    font-size: 18px;
    font-weight: 100;
    display: flex;
}
#about-buttons > div:last-child {
    margin-right: 0px !important;
}

/* Work section */
#work {
    background: black;
    position: relative;
    z-index: 10;
    padding-bottom: 150px
}
#work-title {
    margin-top: 50px;
    margin-bottom: 50px;
    color: white;
}
.project .uk-card {
    height: 500px;
}
.project .project-left .uk-card {
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}
.project .project-left .uk-card h2 {
    color: white;
    font-size: 2.0rem;
}
.project .project-left a {
    color: white;
    font-style: italic;
}

.project .project-left a:hover {
    color: white;
    font-style: italic;
    margin-right: 20px;
}

.project .project-left a img {
    /* height: 12px; */
    /* width: 12px; */
    height: 20px;
    width: 20px;
    margin-left: 10px;
}

.project .project-left a:hover {
    font-style: italic;
    text-decoration: none;
    color: var(--red-color) !important;
}
.project .project-left p {
    font-weight: 300;
    color: hsl(0,0%,75%);
    font-style: italic;
}
.project .project-right .uk-card {
    padding: 0px;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project .project-right .image-1 {
    margin-top: 30px;
    margin-bottom: 30px;
    max-height: 500px;
}
.project .project-right:hover .uk-card {
    transform: scale(0.9);
    transition: all 0.25s ease-in-out;
}
.project .project-right .uk-card .image-1 {
    transition: all 0.25s ease-in-out;
}
.project .project-right:hover .uk-card .image-1 {
    transform: scale(1.3);
    transition: all 0.25s ease-in-out;
}
.project .project-right .uk-card .image-2 {
    transition: all 0.25s ease-in-out;
}
.project .project-right:hover .uk-card .image-2 {
    transform: scale(1.3);
    transition: all 0.25s ease-in-out;
}

/* Contact section */
#contact {
    background: #222222;
    height: auto;
    padding-bottom: 50px;
    position: relative;
    z-index: 10;
}
#contact-title {
    margin-top: 50px;
    margin-bottom: 15px;
    color: white;
}

#contact-typewriter {
    color: white;
    font-weight: 200;
    padding-bottom: 25px;
    visibility: visible;
    display: block;
}

/* custom cursor style of linux command animation  */
#contact-typewriter .Typewriter__cursor {
    color: red;
    font-size: 16px;
    font-weight: bold;
}

#contact-terminal {
    text-decoration:none;
    color: red !important;
}
#contact-static {
    color: white;
    font-weight: 200;
    display: none;
    margin-bottom: 25px;
}
#contact-static a {
    text-decoration: none !important;
    color: red;
}

.uk-input, .uk-textarea {
    background: black;
}
.uk-input, .uk-textarea {
    background: black;
}
#contact-form .name-email-inputs {
    display: flex;
    flex-direction: row;
}
.uk-inline {
    width: 100%;
}
#contact-form .name-email-inputs > div:nth-child(1) {
    margin-right: 20px;
}
.message-input {
    height: calc(10em + 95px);
}
.message-input .uk-inline {
    height: 40px;
}
.message-input textarea {
    padding-left: 40px;
    padding-top: 6.5px;
}
.send-button {
    transition: all 0.15s linear !important;
    display: flex;
    font-weight: 200;
}
.send-button img {
    width: 20px;
    height: 14px;
    margin-right: 5px;
    margin-top: -2.5px;
    transform: rotate(-90deg);
}
.send-button button {
    color: white;
    border: 1px solid white;
    text-transform: none;
    padding: 5px;
    padding-left: 15px;
    padding-right: 20px;
}
.send-button button:hover {
    border-color: var(--red-color);
    color: var(--red-color);
}
.uk-margin.send-button {
    margin-top: 35px !important;
}

/* Hide recaptcha */
.grecaptcha-badge {
    display: none;
}
/* Message success / fail */
#message-failure {
    display: none;
    float: right;
    margin-left: auto;
}
#message-failure .uk-label {
    border-radius: 0;
    height: 48px;
    display: flex;
    align-content: center;
    justify-content: center;
    line-height: 50px;
    background: transparent;
    text-transform: none !important;
}
#message-failure .uk-label {
    border: 1px solid var(--red-color);
}

#form-submit-success {
    display: none;
    border: 1px solid lime;
    color: lime;
}

#form-submit-success img {
    transform: rotate(0deg);
}

.uk-input:disabled, 
.uk-select:disabled, 
.uk-textarea:disabled {
    color: white;
    background: black;
    border: 0px;
}

.uk-input, .uk-textarea {
    color: white;
}

/* removes red shadow in firefox */
input {
    box-shadow: none;
}

/* Footer */
footer {
    background: black;
    position: relative;
    z-index: 15;
    padding-top: 50px;
    padding-bottom: 50px;
    color: white;
    font-weight: 200;
    text-align: center;
}
footer div > p:nth-child(1) {
    border-bottom: 1px solid gray;
    padding: 8px;
    margin-bottom: 8px;
}
footer div > p:nth-child(2) {
    margin-top: 0px;
}
#footer-logo {
    padding-top: 20px;
    padding-bottom: 20px;
}
#footer-logo img {
    max-width: 50px;
    height: auto;
}
#footer-contact a {
    text-decoration: none;
    color: white;
}

/* Responsive Design */
/* Window size less than 960px */
@media only screen and (max-width: 960px) {
    #work .project .project-left .uk-card {
        height: auto;
    }
    #footer-logo {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    #terminal-fixed {
        padding-bottom: 15px;
    }

    #footer-contact {
        display: none;
    }

    footer {
        padding-top: 0px;
        padding-bottom: 30px;
    }

    #footer-logo {
        padding-top: 35px;
        padding-bottom: 15px;
    }

    .uk-margin.send-button {
        margin-top: 20px !important;
    }

    #about-description {
        font-weight: 200;
    }

    .about-button > a > div {
        font-weight: 200;
    }
  }
/* Less than 479px */
@media only screen and (max-width: 479px) {
    #about-title{
        font-size: 2.0rem;
    }
    #work .project .uk-card {
        height: 300px;
    }
    .uk-offcanvas-bar .uk-nav li a {
        font-size: 1.2rem !important;
    }
    #contact-typewriter {
        display: none;
    }
    #contact-static {
        display: block;
    }
    #work .project .uk-card a {
        padding-bottom: 20px;
    }
    
    .project .project-left p {
        color: white;
        font-weight: 200;
    }
}
/* Less than 375px */
@media only screen and (max-width: 375px) {
    #about-title{
        font-size: 1.8rem;
    }
    #about-description{
        font-size: 16px;
        margin: 30px 0px !important;
    }
    .about-button > a > div {
        font-size: 16px;
    }
    #work .project .uk-card {
        height: 250px;
    }
    #work .project .project-left .uk-card {
        padding-bottom: 0px !important;
    }
    #work .project .project-left p {
        font-size: 0.9em;
        margin-top: 0px !important;
    }
}
/* Less than 320px */
@media only screen and (max-width: 320px) {
    #about-viewport{
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    #about-title{
        font-size: 1.6rem;
    }
    #about-description{
        font-size: 15px;
        margin: 20px 0px !important;
    }
    .about-button > a > div {
        font-size: 15px;
    }
    #about-button-work{
        margin-right: 15px;
    }
}

/* Global Fixes */
p {
    letter-spacing: 0.5px !important;
}
header #sticky-navbar, #about, #work, #contact, footer {
    padding-left: 15px;
    padding-right: 15px;
}