:root{
    --mainColor: #eaeaea;
    --secondaryColor:#fff;
    
    --borderColor:#c1c1c1;
    
    --mainText:black;
    --secondaryText:#4b5156;
    --themeDotBorder: #24292e; 
    --previewBg: rbg(251, 249, 243, 0.8);
    --previewShadow: #f0ead6;

}

html, body{
    padding :0;
    margin: 0;
    scroll-behavior: smooth;

}

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

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

a, h6{
   
    color: #17a2b8;
    font-family: 'Roboto Mono', monospace;
}

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

a:link{
    text-decoration: none
}


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

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

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



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


.intro-wrapper{
    background-color: var(--secondaryColor);
    border:1px solid var(--borderColor);
    -webkit-box-shadow: 10px 10px 10px 11px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 10px 11px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 10px 11px rgba(0,0,0,0.75);
    border-radius:5px 5px 0 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3em 30em;
    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{
    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: red;
}

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

#dot-3{
    background-color:green;
}


.browser-dot{
    background-color: black;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin: 5px;
    -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);

}

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

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

.theme-dot{
    background-color: black;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin: 5px;
    border: 2px solid var(--themeDotBorder);
    cursor: pointer;
    -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);

}

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

}

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

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

}

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

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


.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-bl{
    bottom: -5px;
    left: -5px;
}

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

.about-wrapper{
  

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

.about-me{
    
    text-align: left;
    margin-left: 3em;
    margin-right:10px;
}


#skills{
    display: flex;
    justify-content: space-evenly;
    background-color: var(--previewShadow) ;
    margin-right: 3em;
    margin-left:1em
}

.post-wrapper{
   

    display: grid;
    grid-template-columns: repeat(auto-fit,320px) ;
    gap : 20px;
    justify-content: center;
    padding-bottom: 50px;
    padding-top: 50px;
    }



.post{
    border: 1px solid var(--borderColor);
    -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);
}

.post:hover {
    font-weight: bold;
    box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.253)!important;
}

.post-preview{
    background-color: #fff;
    padding:15px
}

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

.post-intro{
    color:#4b5156;
    font-size: 16px;
    text-decoration: none;
}

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

.contact-wrapper{
    

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

.contact{
    margin-left: 3em;
}

.links{
    margin-left: 3em;
}


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