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

    --borderColor: #c1c1c1c1;

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

    --themeDotBorder: #24292e;

    --previewBg: rbg(251, 249, 243, 0.8);
    --previewShadow: #f0ead6;

    --buttonColor: black;
}

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

body * {
    transition: 0.3s;
}

@font-face {
    font-family: 'Exo', sans-serif;
    /*font-family: 'Bitwise-m19x';*/
    src: url(fonts/Bitwise-m19x.ttf);
    
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--mainText);

    font-family: 'Dosis', sans-serif;
    /*font-family: 'Russo One', sans-serif;*/
    font-weight: 100px;
}

h1 {
    font-size: 56px;
    font-family: 'Bitwise-m19x';
}

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

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

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

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


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

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

.intro-wrapper {
    background-color: var(--secondaryColor);
    border: 1px solid var(--borderColor);
    border-radius: 5px 5px 0 0;
    -webkit-box-shadow: 47px 10px 70px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 47px 10px 70px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 47px 10px 70px 0px 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(--mainColor);
}

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

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

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

#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%;
    margin: 5px;
}

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

#profile_pic {
    display: block;
    margin: 0 auto;
    height: 200px;
    width: 200px;
    object-fit: cover;
    border: 2px solid var(--borderColor);
    transition-property: background, border-radius;
    transition-duration: 1s;    
    transition-delay: 1ms;
}

#profile_pic:hover{
    border-radius: 50%;
}

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

.theme-dot {
    height: 30px;
    width: 30px;
    background-color: black;
    border-radius: 50%;
    margin: 5px;
    border: 2px solid var(--themeDotBorder);
    -webkit-box-shadow: 47px 10px 70px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 47px 10px 70px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 47px 10px 70px 0px 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;
}

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

#preview-shadow {
    background-color: var(--previewShadow);
    width: 300px;
    height: 180px;
    padding-left: 30px;
    padding-top: 30px;
    border: 1px solid;
}

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

.corner {
    width: 7px;
    height: 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;
    left: -5px;
}

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

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

#skills {
    display: flex;
    justify-content: flex-start;
    background-color: var(--previewShadow);
    padding-left: 20px; /* Add some left padding for better appearance */
}

.social-links {
    /*grid-area: social-links;*/
    display: grid;
    align-content: center;
    text-align: center;
    /* padding-top: 50px;
    padding-bottom: 50px; */
}

#social_img {
    width: 100%;
    border-radius: 50%;
}

.post-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    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);
}

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

.post-preview {
    padding: 15px;
}

.post-title {
    color: black;
    margin: 0;
    margin-bottom: 10px;
}

.post-intro-wrapper {
    display: flex;
    justify-content: flex-start; /* Changed from space-between */
    align-items: center;
}

.post-intro-wrapper .post-intro {
    margin: 0;
    margin-right: 15px; /* Add a small right margin to create a gap between items */
    margin-bottom: 30px; /* Adjust this value as needed */

}

.post-intro-wrapper .post-intro:last-child {
    margin-right: 0; /* Remove right margin from the last item */

}

.channel-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.channel-list li {
    display: inline;
    margin-right: 10px;
}

.channel-list li:after {
    content: ", ";
}

.channel-list li:last-child:after {
    content: "";
}

#contact-form {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--borderColor);
    padding: 15px;
    border-radius: 5px;
    background-color: var(--mainColor);
    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(--secondaryColor);
    border-radius: 5px;
    font-size: 14px;
}

#submit-btn {
    margin-top: 10px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    background-color: var(--buttonColor);
    border: none;
}


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

/* Responsive design for smaller screens */
@media screen and (max-width: 1000px) {
    .post-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .post-wrapper {
        grid-template-columns: 1fr;
    }
}