:root{ 
    --mainColour: #eaeaea; 
    --secondaryColour: #fff; 

    --border: #c1c1c1; 

    --maintext:black;
    --secondaaryText: #4b5156;  

    --theme-border: #24292e;  

    --previewBG: rgb(251, 249, 243, 0.8); 
    --previewShadow:#f0ead6;  

    --btnColor: black; 
}


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

body *{
    transition: 0.3s;
}

h1, h2, h3, h4, h5, h6, strong{
    color: var(--maintext);
    font-family: 'Noto Sans SC', sans-serif;
} 

p, li, span, label{
    color: var(--maintext);
    font-family: 'Verdana', sans-serif;
}   

textarea, input{
    color: var(--maintext);
    font-family: 'Verdana', sans-serif;
}

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

ul{ 
    
    list-style: none;
} 



h1 {font-size: 56px;}
h2 {font-size: 56px;}
h3 {font-size: 23px;}
h4 {font-size: 23px;}
h5 {font-size: 20px;}
h6 {font-size: 23px;}
h7 {font-size: 23px;} 


.overall_container {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

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

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

.main-container{
    width: 1200px;
    margin: 0 auto;
    text-align: center;

} 

.greeting-wrapper{
    display: grid;

    text-align: center;
    align-content: center;
    min-height: 10em; 
} 

.intro-wrapper{
    background-color: var(--secondaryColour);
    border: 1px solid var(--border);  
    border-radius: 5px 5px 0 0;

    -webkit-box-shadow: 2px 2px 3px 0px #000000; 
    box-shadow: 2px 2px 3px 0px #000000;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'nav-wrapper nav-wrapper'
        'left-column right-column'
    ;
} 

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

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

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

} 

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

.dots-wrapper{
    display: flex;
    padding: 10px; 
    text-align: center;
    align-items: center;
    justify-content: center;
}  

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


#dot-1{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: 60px;
    background-color: var(--secondaryColour);
    
    
}  


/* 
 #dot-1 .outside  .Home{ 
    position: absolute;
   
    
    transform: translate(-25px, -50px);
    background: #fff;
    font-size: 16px;
    padding: 9px 13px; 
    border-radius: 25px; 
    opacity: 0;
    pointer-events: none;
    
    
   
}   
 
 #dot-1:hover .outside  .Home{
    opacity: 1;
    pointer-events: auto;
}


 #dot-1 .outside .Home:before{ 
   content: '';
   position: absolute;
   height: 15px;
   width: 15px;
   background: white;
   bottom: -8px;
   left: 50%;
   z-index: -3;
   transform: translateX(-50%) rotate(45deg);
   
}  

#dot-1 .outside .Home{
    line-height: 1px;
} */ 
 

.about{
    line-height: 1px;
} 

.port{
    line-height: 1px;
}

#dot-2{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: 60px;
    background-color: var(--secondaryColour);
}  


#dot-3{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: 60px;
    background-color: var(--secondaryColour);
    
}  

#dot-4{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: 60px;
    background-color: var(--secondaryColour);
    
}  



.browser-dot{
    background-color: black;
    height: 35px;
    width: 35px;
    border-radius: 50%; 
    margin: 15px; 
    background: #fff;
    

    -webkit-box-shadow: 2px 2px 3px 0px #000000; 
    box-shadow: 2px 2px 3px 0px #000000;
}  




#dot-1:before{
    content: '';
    background: rgba(255, 255, 255, .5);
    opacity: .5s; 
} 

#dot-1:after{
    content: '';
    background: rgba(255, 255, 255, .2);
    opacity: 0;
    

}  

#dot-1:hover{ 
    background: #338033;
    cursor: pointer;
}  

#dot-1:hover:after{
    
    opacity: 1; 
    transition: .7s;
} 

#dot-2:before{
    content: '';
    background: rgba(255, 255, 255, .5);
    opacity: .5s; 
}

#dot-2:after{
    content: '';
    
    background: rgba(255, 255, 255, .2);
    
    
    opacity: 0;
    

} 

#dot-2:hover{ 
    background: #338033;
    cursor: pointer;
} 

#dot-2:hover:after{
    
    opacity: 1; 
    transition: .7s;
} 

#dot-3:before{
    content: '';
    
    background: rgba(255, 255, 255, .5);
    
    opacity: .5s;
    
}

#dot-3:after{
    content: '';
    background: rgba(255, 255, 255, .2);
    opacity: 0;
    

} 

#dot-3:hover{ 
    background: #338033;
    cursor: pointer;
} 

#dot-3:hover:after{

    opacity: 1; 
    transition: .7s;
}  

#dot-4:before{
    content: '';
    
    background: rgba(255, 255, 255, .5);
    
    opacity: .5s;
    
}

#dot-4:after{
    content: '';
    background: rgba(255, 255, 255, .2);
    opacity: 0;
    

} 

#dot-4:hover{ 
    background: #338033;
    cursor: pointer;
} 

#dot-4:hover:after{

    opacity: 1; 
    transition: .7s;
}  

.Home{
    line-height: 1px;
}

.about{
    line-height: 1px;
} 

.port{
    line-height: 1px;
}


.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(--border);
} 


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

.themed-dot{
    height: 30px;
    width: 30px;
    background-color: black;
    border-radius: 50%;  

    margin: 5px;
    border: 2px solid var(--theme-border);

    -webkit-box-shadow: 2px 2px 3px 0px #000000; 
    box-shadow: 2px 2px 3px 0px #000000; 

    cursor: pointer;
} 

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

#red-mode{
    background-color: #961d31;
}  

#yellow-mode{
    background-color: #dfe218;
}  

#pink-mode{
    background-color: #ee49e6;
} 

#setting-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{
    width: 300px;
    height: 180px;
    padding-left: 30px;
    padding-top: 30px;
}


#preview{
    /*width: 300px;
    border: 1.5px solid #17a2b8; 
    background-color: var(--previewBG);
    padding: 15px;
    position: relative; */ 
    position: relative;
    float: left;
    width: 400px; 
    height: 350px;
    transform: translate(-200px, -230px);
    
    margin: 100px 0 0 170px; 
    border: 7px solid #17a2b8;
    
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background-color: var(--previewBG);
    animation: change 8s ease-in-out infinite; 
}   

#about-me{
    transform: translateY(30px); 
}

@keyframes change {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    } 

    50% {
        border-radius: 40% 50% 60% 50% / 50% 60% 40% 50%;
    } 

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

}

.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-top: 50px;
    padding-bottom: 50px;
    gap: 100px;
} 

#skills{
    display: flex;
    justify-content: space-evenly;
    background-color: var(--previewShadow);
    transform: translateY(30px);
}  

.social-links{
    display: grid;
    align-content: center;
    text-align: center;
}

#social_image{ 
    display: block; 
    margin: 0 auto;
    object-fit: cover;
    border: 2px solid var(--border);
    width: 85%;
    height: 100%;
}  

.icons {
    display: flex;
    color: var(--btnColor);
    
    
    
} 

.icons li{
    
    position: relative;
    display: block;
    color: var(--btnColor);
    font-size: 40px;
    height: 60px;
    width: 60px;
    background: var(--mainColour);
    line-height: 67px;
    border-radius: 50%;
    margin: 0 15px;
    cursor: pointer;
    
} 

.icons li:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: #d35400;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    transition: .5s;
    z-index: -1;
    transform: scale(.9);
    
    
} 

.icons li:hover:before{
    transform: scale(1.2);
    box-shadow: 0 0 15px #d35400;
    filter: blur(3px);
    
}  



.social-icons{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: var(--btnColor); 
    font-size: 30px;
    
} 

.social-icons:hover{
    filter: blur(0px);
}

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


.post{
    border: 1px solid var(--border);
    -webkit-box-shadow: 2px 2px 3px 0px #000000; 
    box-shadow: 2px 2px 3px 0px #000000; 
    border-radius: 10px;
}

.thumbnail{
    display: block;
    width: 101%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}  

.thumbnail2{
    display: block;
    width: 101%;
    height: 90%;
    object-fit: cover;
    border-radius: 10px;
}  

.newone{
    justify-content: center;
}

#zurv{
    height: 100%;
    object-fit: cover;
    overflow:auto;
    
}

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

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

.post-intro{
    color: #4b5156;
    font-size: 14px;
} 

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

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

#status{
    text-align: center;
    margin-top: 10px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    background-color: var(--btnColor);
    border: none;
    
} 

#status.success{
    background-color: var(--btnColor);
    animation: status 4s ease forwards;
}

#status.error{
    background-color: red;
    animation: status 4s ease forwards;
}

.typed-text{
    font-weight: normal;
}  

.cursor{
    display: inline-block;
    width: 3px;
    background-color: var(--btnColor);
    animation: blink 1s infinite;
}  

.cursor.typing{
    animation: none;
} 

.hovering{
    display: inline-block;
    position: relative;
} 

.hovering::before{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondaaryText);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
} 

.hovering:hover::before{
    transform: scaleX(1);
    transform-origin: bottom left;
}  

.circle{
    background-color: var(--mainColour);
    border-radius: 5px;
    padding: 0.5em 1.0em;
    font-size: 1em;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: poppins;
}   

.all-proj{
    background-color: var(--secondaryColour);
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 10px;
    padding: 0.5em 1em;
} 

.all-proj:hover{
    
    box-shadow: 0 5px 5px #00000040;
}

.line{
    transform: translateY(20px);
   
}

.circle:hover{
    transform: translateY(-50px); 
    box-shadow: 0 5px 5px #00000040;
}

.transition-1{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background-color: var(--mainColour);
    opacity: 0;
    pointer-events: none;
    transition: .5s ease-out;
} 

.transition-1.is-active{
    opacity: 1;
    pointer-events: all;
} 

.transition-2{
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    bottom: 0;
    z-index: 3;
    background-color: var(--border);
    pointer-events: none;
    transition: .5s ease-out;
} 

.transition-2.is-active{ 
    left: 0px;
} 

.transition-3{
    position: fixed;
    top: 100%;
    left: 0;
    right: 0; 
    height: 100%;
    z-index: 3;
    background-color: var(--border);
    pointer-events: none;
    transition: .5s ease-out;
} 

.transition-3.is-active{ 
    top: 0;
} 

@keyframes status{
    0%{
        opacity: 1;
        pointer-events: all;
    }
    90%{
        opacity: 1;
        pointer-events: all;
    }
    100%{
        opacity: 0;
        pointer-events: none;
    }
}


@keyframes blink {
    0% {background-color: var(--btnColor);}
    49% {background-color: var(--btnColor);}
    50% {background-color: transparent;}
    99% {background-color: transparent;}
    100% {background-color: var(--btnColor);}
}



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

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