@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@1,500&display=swap');
:root {
    /* primary is a darker tune of the secondary color */
    --primary-text: rgb(13, 13, 13);
    --secondary-text: #4b5156;
    --primary-color: #eaeaea;
    --secondary-color: #fff;
    --border-color: #c1c1c1;
    --theme-dot-border: #24292e;
    --preview-bg: rgba(251, 249, 243, 0.8);
    --preview-shadow: #f0e8cd;
    --btn-color: black;
}

body,
html {
    padding: 0px;
    margin: 0px;
}

body * {
    transition: 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    color: var(--primary-text);
}

a {
    text-decoration: none;
    color: #17a2b8;
    font-family: 'Roboto Mono';
}

a:hover {
    color: #1d7e8d;
}

ul {
    list-style: none;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px
}

h6 {
    font-size: 16px
}

p,
li,
span,
label,
input,
textarea {
    font-family: 'Roboto Mono', monospace;
    color: var(--secondary-text)
}

.s1 {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    overflow: auto;
}

.s2 {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    overflow: auto;
}

.main-container {
    width: 1200px;
    margin: 0 auto;
}

.greeting-wrapper {
    display: grid;
    min-height: 10em;
    text-align: center;
    align-content: center;
    
}
#greeting-title {
    overflow: hidden; 
    border-right: .15em solid var(--border-color); 
    white-space: nowrap; 
    margin: 0 auto; 
    letter-spacing: auto;
    font-size: 5vw;
    animation: typing 3.5s steps(40, end),blink-caret .75s step-end infinite;
}
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }

  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--border-color); }
  }
.intro-wrapper {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'nav-wrapper nav-wrapper' 'left-column right-column';
    border-radius: 5px 5px 0 0;
}

.nav-wrapper {
    grid-area: nav-wrapper;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 5px 5px 0 0;
}

#navigation {
    margin: 0px;
    padding: 10px;
}

#navigation a {
    color: var(--primary-text);
}

#navigation li {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

.dots-wrapper {
    display: flex;
    padding: 10px;
}

.browser-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    margin-left: 5px;
}

#dot-1 {
    background-color: #Fc6058
}

#dot-2 {
    background-color: #fec03f;
}

#dot-3 {
    background-color: #2aca3e;
}

.left-column {
    grid-area: left-column;
    padding-top: 50px;
    padding-bottom: 50px
}

#profile-pic {
    display: block;
    height: 200px;
    width: 200px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: -4px 3px 10px -1px rgba(0, 0, 0, 0.75);
    margin: 0 auto;
}

#profile-pic:hover {
    transform: translateY(-7px);
    box-shadow: -10px 5px 10px -1px rgba(0, 0, 0, 0.75);
}

.theme-options-wrapper {
    display: flex;
    justify-content: center;
}

.theme-dots {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #17a2b8;
    cursor: pointer;
    border: 1px solid var(--theme-dot-border);
    margin: 5px;
    margin-bottom: 15px;
    transition: all 0.3s ease 0s;
    box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
}

.theme-dots:hover {
    border-width: 5px;
    -webkit-box-shadow: 3px 6px 20px 3px rgba(0, 0, 0, 0.7);
    box-shadow: 1px 3px 5px 1px rgba(0, 0, 0, 0.75);
}

#light-mode {
    background-color: #fff;
}

#blue-mode {
    background-color: #192734;
}

#green-mode {
    background-color: #78866b;
}

#purple-mode {
    background-color: #7e4c74;
}

.right-column {
    grid-area: right-column;
    display: grid;
    align-content: center;
    padding-top: 50px;
    padding-bottom: 50px
}

#preview {
    background-color: var(--preview-bg);
    width: 300px;
    padding: 15px;
    border: 1.5px solid #17a2b8;
    transition: all 0.5s ease 0s;
    position: relative;
    box-shadow: -31px -25px 2px -1px var(--preview-shadow);
}

#preview:hover {
    transform: translateY(-7px);
    box-shadow: -45px -5px 2px -1px var(--preview-shadow);
}

.preview-corner {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    border: 1.5px solid #17a2b8;
    background-color: #fff;
    position: absolute;
}

#corner-tl {
    top: -5px;
    left: -5px;
}

#corner-tr {
    top: -5px;
    right: -5px;
}

#corner-br {
    bottom: -5px;
    right: -5px;
}

#corner-bl {
    bottom: -5px;
    left: -5px;
}

.about-wrapper {
    display: grid;
    padding-top: 50px;
    padding-bottom: 50px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.skills-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--preview-shadow);
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

.skill-icon {
    width: 20px;
    height: 20px;
    margin: 5px;
}

.social-links {
    padding-top: 150px;
    text-align: center;
}

.projects-wrapper {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, 320px);
    justify-content: center;
}

.project {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    transition: all 0.4s ease 0s;
    box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
}

.project:hover {
    box-shadow: 0px 15px 20px rgba(5, 5, 5, 0.9);
    transform: translateY(-7px);
}

.project-preview {
    background-color: #fff;
    padding: 15px;
    transition: all 0.3s ease 0s;
}

.project-preview:hover {
    text-shadow: 0.4px 0.4px var(--secondary-text)
}

.porject-title {
    color: black;
    margin: 0;
}

.project-desc {
    color: #4b5156;
    font-size: 14px;
}

.project-thumbnail {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
}

.hoverable {
    transition: all 0.8s ease 0s;
}

.hoverable:hover {
    transform: translateY(-5px);
    text-shadow: 1px 2px var(--primary-color);
}

#contact-form {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 5px;
    background-color: var(--primary-color);
    margin-bottom: 50px;
}

#contact-form label {
    line-height: 2.7em;
}

#contact-form textarea {
    min-height: 100px;
    font-size: 14px;
}

.input-field {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

#submit-btn {
    margin-top: 10px;
    width: 100%;
    font-size: 17px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    background-color: var(--btn-color);
    border-radius: 15px;
    cursor: pointer;
    outline: none;
    box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    transition: all 0.3s ease 0s;
}

#submit-btn:hover {
    box-shadow: 0px 10px 20px -1px var(--btn-color);
    transform: translateY(-7px);
}

@media screen and (max-width: 1200px) {
    .main-container {
        width: 95%;
    }
}

@media screen and (max-width: 800px) {
    .intro-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: 'nav-wrapper''left-column''right-column';
    }
    .right-column {
        justify-content: center;
    }
}