:root {
    --mainColor: #eaeaea;
    --secondaryColor: #fff;

    --borderColor: #c1c1c1;

    --buttonColor: #000000;

    --mainText: black;
    --secondaryText: #4b5156;

    --themeDotBorder: #24292e;
    --previewBg: rgb(251, 249, 243, 0.8);
    --previewShadow: #f0ead6;
    --iconColor: gray;
    --iconHoverColor: #17a2b8;
}

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

body * {
    transition: 0.5s;
}

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

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

a {
    text-decoration: none;
    color: #17a2b8;
}

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;
}

.s1 {
    background-color: var(--mainColor);
    border-bottom: 1px solid var(--borderColor);
    overflow: auto;
}
.s2 {
    background-color: var(--secondaryColor);
    border-bottom: 1px solid var(--borderColor);
    overflow: auto;
}
.main-container {
    width: 1200px;
    margin: 0 auto;
}

.greeting-wrapper {
    display: grid;
    min-height: 10em;
    justify-content: center;
    align-content: center;
}

.intro-wrapper {
    background-color: var(--secondaryColor);
    border: 1px solid var(--borderColor);
    border-radius: 5px 5px 0 0;
    padding-bottom: 30px;

    -webkit-box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    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';
}

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

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

#navigation {
    margin: 0;
    padding: 10px;
}
#navigation li {
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
}

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

#dot-1 {
    background-color: #fc6058;
}
#dot-2 {
    background-color: #fec02f;
}
#dot-3 {
    background-color: #2aca3e;
}
.browser-dot {
    background-color: black;
    height: 15px;
    width: 15px;
    border-radius: 50%;

    -webkit-box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
    box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);

    margin: 5px;
}

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

#profile_pic {
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--borderColor);
    display: block;
    margin: 0 auto;
}

.theme-dot {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 2px solid var(--themeDotBorder);
    margin: 5px;

    -webkit-box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
    box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);

    cursor: pointer;
}

.theme-dot:hover {
    border-width: 5px;
}

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

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

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

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

#settings-note {
    font-size: 12px;
    font-style: italic;
    text-align: center;
}

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

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

#preview-shadow {
    background-color: var(--previewShadow);
    max-width: 300px;
    height: 350px;
    padding-left: 30px;
    padding-top: 30px;
}

#preview {
    width: 300px;
    border: 1.5px solid #17a2b8;
    padding: 15px;
    background-color: var(--previewBg);
    position: relative;
}

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

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

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

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

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

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

#skill {
    display: flex;
    justify-content: space-evenly;
    background-color: var(--previewShadow);
}

.skills {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--previewShadow);
}

.skills ul{
	width: 70%;
}
.skills ul li{
	display: flex;
	align-items: center;
	color: #FFFFFF;
	justify-content: space-between;
	width: 90%;
	margin: 20px 0;
}
.skills ul li span{
	display: block;
	width: 30%;
	font-size: 15px;
}

.skills ul li .line{
	width: 90%;
	height: 15px;
	border: 1px solid #000000;
	border-radius: 50px;
}

.skills ul li .line p{
    width: 90%;
	height: 15px;
	border-radius: 50px;
    background-image: linear-gradient(to right, rgba(52,235,143), rgba(52,88,235) 99%);
    overflow: hidden;
    translate: 0 -107%;
}

.center h4{
    text-align: center;
}

lh {
    font-size: 20px;
    font-weight: bold;
}

.contact-info {
    text-align: center;
}

.infoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
#phone-icon {
    transition: 0s;
    color: var(--iconColor);
    font-size: 1.1em;
}
#email-icon {
    transition: 0s;
    color: var(--iconColor);
    font-size: 1.1em;
}
#linkedin-icon {
    transition: 0s;
    color: var(--iconColor);
    font-size: 1.1em;
}
#github-icon {
    transition: 0s;
    color: var(--iconColor);
    font-size: 1.1em;
}

#phone-icon:hover {
    transition: 0s;
    transition: 0s;
    color: var(--iconHoverColor);
    font-size: 1.1em;
}

#email-icon:hover {
    transition: 0s;
    transition: 0s;
    color: var(--iconHoverColor);
    font-size: 1.1em;
}
#linkedin-icon:hover {
    transition: 0s;
    transition: 0s;
    color: var(--iconHoverColor);
    font-size: 1.1em;
}
#github-icon:hover {
    transition: 0s;
    transition: 0s;
    color: var(--iconHoverColor);
    font-size: 1.1em;
}
.resume-wrapper {
    text-align: center;
    width: 100%;
}
.post-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    gap: 20px;
    justify-content: center;
    padding-bottom: 50px;
}
.post {
    border: 1px solid var(--borderColor);
    -webkit-box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
    box-shadow: -2px 7px 21px -9px rgba(0, 0, 0, 0.75);
}
.post-preview {
    background-color: white;
    padding: 15px;
}
.thumbnail {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.post-title {
    color: black !important;
    margin: 0;
}
.post-intro {
    color: #4b5156;
    font-size: 16px;
}

@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;
    }
}
