@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;400;500;600&family=Lora:ital,wght@1,400;1,500;1,600&family=Varela&family=Varela+Round&display=swap');

:root {
    --main-header-color: #173F5F;
    --main-light-color: #3CAEA3; 
    --highlight-color: #F6D55C;
    --orange-color: #f4a261;
    --red-color: #e76f51;
    --blue-color: #264653;
    --green-color: #2a9d8f;
    --yellow-color: #e9c46a;
    --white-color: #ddf0f0;

    /* box shadowing */
    --main-header-dark-shadow: rgba(23, 63, 95, 0.5);
}

* {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

body {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:whitesmoke;
    font-family: 'Varela', serif;
}


.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 50px; 
    width: 100%;
    padding: 0;
    top: 0;
    background: var(--main-header-color);
    font-family: 'Lora', serif;
}

.nav-bar li {
    list-style-type: none;
    width: 25%;
    text-align: center;
}

.nav-bar a {
    color: var(--white-color);
    font-size: 1.2rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s linear;
}

.nav-bar a:hover {
    border-bottom: 2px solid var(--white-color);
}

.left-hero {
    width: 500px;
}
.left-hero p {
    padding: 10px;
}

@media all and (max-width: 500px) {
    #about {
        display: none
    }
    .left-hero {
        width: 100%;
    }
}

.main-header h1{
    text-align: center;
    font-size: 2.5rem;
    padding: 10px;
    color: var(--main-header-color);
}

#headers {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-side-header {
    color: var(--main-header-color);
    margin-right: 50px;
}

#headers h1{
    font-size: 2.5rem;
}

#headers p {
    font-size: 1.2rem;
    color: var(--main-header-color);
}

.right-side-header {
    align-items: center;
    justify-content: center;
}

#picture {
    width: 250px;
    margin: 0 0 25px 0;
    border-radius: 5px;
    transition: 1s;
}

#landscape {
    width: 80%;
    object-fit: cover;
    max-height: 400px;
    max-width: 800px;
    margin: 20px;
    border-radius: 5px;
}

.highlight {
    text-decoration: none;
    color: var(--green-color);
    transition: 0.3s all;
    border-bottom: 1px solid transparent;
}

.highlight:hover {
    border-bottom: 1px solid var(--blue-color);
    color: var(--blue-color);
}

/* this let's me center the intro */
#written-intro-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

#introduction {
    display: flex;
    justify-content: center;
    color: white;
    margin-top: -5vh;
    margin-bottom: -5px;
    background-color: var(--main-header-color);
    position: relative;
}
#introduction>div {
    width: 80%;
    max-width: 850px;
}

#written-intro-center h1 {
    text-align: center;
}

#introduction h2 {
    padding-top: 50px;
    font-size: 25px;
}

.intro {
    padding: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.7rem;
}


/* typewriter css */
/*
.typewriter {
    overflow: hidden;
    display: inline-block;
    border-right: .1em solid var(--main-header-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typing 2.5s steps(17, end),
        blink-caret .55s step-end infinite;
}

@keyframes typing {
    from {width: 0}
    to {width: 6.2em}
}

@keyframes blink-caret {
    from, to {border-color: transparent}
    50% {border-color: var(--main-header-color)}
}
*/

#skills {
    text-align: center; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--blue-color)
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3rem;
}

.skills div img {
    margin: 0 1.4rem;
    width: 3rem;
    border-radius: 8px;
    box-shadow: 5px 5px 6px 2px rgba(0,0,0,0.2);
}
.skills div p {
    font-size: 0.8rem;
}

@media all and (min-width: 900px) {
    .skills {
        width: 900px;
    }
    .skills div img {
        width: 5rem;
        margin: 0 2rem;
    }
    .skills div p {
        font-size: 1rem;
    }
}


/* Designer, Front-end Developer, Data Analyst */
.icons {
    font-size: 65px; 
    color: var(--main-header-color);
}

.grid {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    text-align: center;
    justify-content: center;
    margin: 50px 0 50px 0;
}

.grid-layout {
    text-align: center;
    border-radius: 10px;
    margin: 5px;
    height: fit-content;
    width: 90%;
    padding: 0 10px 0 10px;
    font-size: large;
    align-items: top;
}

.info a {
    color: black;
    text-decoration: none;
}

.info .icon {
    margin-left: 5px;
    font-size: 1rem;
    color: var(--main-light-color)
}


.bold {
    text-align: center;
    font-weight: bold;
    color: var(--main-header-color)
}

#recent_work {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    font-size: 1.25rem;
}

#recent_header {
    color: var(--main-header-color);
    margin-bottom: 0;
}

.work_intro {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.work_intro p {
    width: 85%;
}

.email {
    text-decoration: none;
}

.project-container {
    width: 500px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: top;
    align-items: center;
}

.project-container p {
    margin: 0;
    padding: 0 10px;
    margin: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.project-description {
    font-size: 1rem;
}

.project-container p>img {
    width: 2rem
}

.project-container .a-btn {
    display: inline-block;
    font-size: 1rem;
    text-decoration: none;
    width: 60px;
    padding: 3px;
    border: 1px solid var(--main-header-color);
    border-radius: 5px;
    color: var(--orange-color);
    background-color: var(--main-header-color);
}

.project-container .code {
    color: var(--blue-color);
    background-color: var(--white-color);
    border: 1px solid var(--blue-color)
}

.project-container .a-btn:hover {
    opacity: 0.7;
}

.project-title {
    color: var(--main-header-color);
    font-weight: bolder;
    font-size: 1.3rem;
}

.project-container img {
    margin-bottom: 5px;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project {
    border: 2px solid var(--main-header-color);
    border-radius: 5px;
    width: 400px;
    height: 320px;
    image-orientation: center center;
    object-fit: contain;
    background-color: var(--main-header-color);
    margin: 10px;
    transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
}

.project:hover {
    box-shadow: 5px 5px 6px 4px var(--main-header-dark-shadow);
    transform: scale(1.005);
}


.kaggle-codepen-btns {
    margin: 35px;

}

.kaggle {
    font-size: 1.1rem;
    cursor: pointer;
    width: 200px;
    height: 50px;
    border: 2px solid var(--main-header-color);
    border-radius: 6px;
    margin: 25px;
    transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}

.kaggle:hover {
    color: white;
    background: var(--main-header-color);
    border-radius: 25px;
}




/* Contact Container and details */
#contact-container {
    display: flex;
    flex-direction: column;
    width: 300px;
    background-color: whitesmoke;
    border: 1px solid var(--main-header-color);
    color: var(--main-header-color);
    padding: 15px;
    border-radius: 15px;
    margin: 50px auto;
    justify-content: center;
}

#contact-directions {
    margin: 0 15px 25px 15px ;
    font-size: 1rem;
}

#contact-title {
    margin: 0 0 5px 0;
    text-align: center;
}

.btn, .input {
    height: 30px;
}

.input, #message {
    padding: 0 0 0 5px;
    margin: 0 0 15px 0;
    font-family: Arial;
    border: 1px solid rgba(106, 90, 205, 0.5);
    border-radius: 2px;
}


#message {
    resize: none;
    padding-top: 5px;
}

.btn {
    background-color: var(--main-header-color);
    border: none;
    border-radius: 25px;
    color: white;
    width: 50%;
    align-self: center;
    font-weight: bold;
    transition: all 0.2s;
}

.btn:hover {
    color: black;
    border: 1px solid var(--main-header-color);
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
}





/* This is the footer to end the day */
.footer {
    background: var(--main-header-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: whitesmoke;
    position: relative;
    padding: 0 25px;
    width: 100%;
}

.footer_container, .form-container {
    bottom: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.footer_container h3 {
    text-align: center;
    padding: 25px
}

.email {
    color: var(--main-light-color)
}

.small-icon {
    color: whitesmoke;
    font-size: 50px;
    margin: 15px;
    transition: 0.3s all;
}

.small-icon:hover {
    color: var(--orange-color);
    transform: scale(1.);
}

.logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

@media all and (max-width: 845px) {
    .project {
        border: 2px solid var(--main-header-color);
        border-radius: 5px;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .project-container {
        width: 300px;
        margin: 10px;
        padding: 0;
    }

}

@media all and (max-width: 700px) {
    #introduction {
        text-align: center;
        color: white;
        width: 100%;
        line-height: 1.4rem;   
    }
    
    #introduction h2 {
        padding-top: 1rem;
        font-size: 1.2rem;
    }

    #headers {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #main-header h1 {
        font-size: 1.5rem;
    }

    .left-side-header {
        color: var(--main-header-color);
        margin: auto;
    }
    
    .grid {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }
    
    .grid-layout {
        width: 80%;
        font-size: 1.2rem;
        margin: 20px 5px;
    }

    .projects {
        width: 100%;
    }

    .project-container {
        width: 100%;
        width: 350px;
    }

    .project {
        height: 250px;
        margin: 25px 0 25px 0;
    }

    .footer {
        font-size: 1rem;
        flex-direction: column;
        width: 100%;
        padding: 0;

    }

    .social {
       width: 100%;
       display: inline-flex;
       justify-content: space-evenly;
    }

    #contact-container {
        max-width: 80vw;
        margin: 5px 0;
    }

}

@media all and (max-width: 500px) {
    #picture {
        width: 200px;
        object-fit: cover;
    }

    .kaggle {
        margin: 15px;
    }
}


/* *{ 
    outline: 1px solid red;
} */
