/* --------------------------------------------------
   Fonts
   Keep only fonts that are referenced by the CSS.
-------------------------------------------------- */
@font-face {
    font-family: 'myfont1';
    src: url('../fonts/download1.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'titles';
    src: url('../fonts/Ruigslay.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'newtitle-medium';
    src: url('../fonts/NewTitle-Medium.woff') format('woff');
    font-display: swap;
}

/* removed theme2/theme3 specific fonts */

/* Theme variables (single theme) */
:root {
    --background-color: #fcfcfc;
    --xxx: 30px;
    --main-font: myfont1;
    --secondary-font: newtitle-medium;
    --main-border-bottom: 1px dotted rgb(255, 255, 255);
    --pill-background: #111;
    --pill-color: #eee;
    --pill-border: 0;
}

/* Base */
html {
    font-family: var(--main-font);
    letter-spacing: 1px;
    color: #303030;
    background-color: var(--background-color);
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background-color: #f5f5ef;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
      overflow: hidden;
}

.shadow-container {
        position: fixed;
        width: 92%;
        height: 88vh;
        max-width: 900px;
        margin-left: 30px;
        margin-top: 30px;
        transform: skew(-2deg,0deg);
        background-color: #111;
}

.container {
        width: 93%;
        box-sizing: border-box;
        padding: 0px 55px 45px 55px ;
        max-width: 900px;
        background-color: rgb(97, 9, 9);
        color: #fff;
        height: 87vh;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-color: rgb(105, 14, 14) rgb(0, 0, 0);
        transform: skew(-2deg,0deg);
}
 
 

.section {
    margin-top: 70px;
    margin-bottom: 70px;
}

.footer { 
}
.section__body {
    margin-top: 40px;
}

.section__block {
    margin-top: 20px;
    margin-bottom: 40px;
}

.section__aboutme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.profilepic {
    width: 159px;
    height: 220px;
    border: 0;
    border-radius: 66px 66px 0 0;
    background-color: #222;
    overflow: hidden;
    display: inline-block;
    margin-right: 40px;
}

.profilepic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.description {
    display: inline-block;
    width: 80%;
    font-size: 16px;
    text-align: justify;
}

.h1 {
    font-family: titles;
    letter-spacing: 3px;
    font-size: 66px;
}

.h2 {
    font-size: 31px;
    font-family: newtitle-medium;
    text-align: right;
    border-bottom: var(--main-border-bottom);
}

.h3 {
    font-size: 17px;
    text-align: center;
}

.h4 {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 1px;
}

.h5 {
     
    font-size: 15px;
    padding-left: 4px;
}

.h6 {
   
    font-size: 12px;
    padding-left: 4px;
}

.t_center {
    text-align: center;
}

.educationblock {
    text-align: left;
    width: 35%;
    display: inline-block;
    vertical-align: top;
}

.work {
    text-align: left;
    width: 35%;
    display: inline-block;
    vertical-align: top;
}

.pillskill {
   background: var(--pill-background);
  color: var(--pill-color);
  border: var(--pill-border); 
  padding: 7px 22px;
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
  transform: skew(-9deg,0deg);
}

.p1 {
    font-size: 18px;
}

.p2 {
    font-size: 16px;
}

.p3 {
    font-size: 14px;
}

.social {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

a { color: inherit; }

/* Social icon containers (no extra styles needed) */
.socicon1, .socicon2 { display: inline-block; }

/* Ensure icons fit their containers and don't overflow */
.social img,
.social .icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* Removed theme-2 and theme-3 overrides */

@media screen and (max-width: 967px) {
    .work,
    .educationblock {
        text-align: center;
        margin-bottom: 10px;
        width: 100%;
    }
    html[data-theme='theme-3'] .work {
      
        width: 82%;
    }
    html[data-theme='theme-3'] .educationblock {
         
        width: 82%;
    }

    .h1 {
        font-family: titles;
        letter-spacing: 3px;
        font-size: 34px;
        text-align: center;
    }

    .h2 {
        font-size: 19px;
        text-align: right;
    }

    .h3 {
        font-size: 17px;
        text-align: center;
    }

    .h4 {
        font-weight: bold;
        font-size: 17px;
        margin-bottom: 1px;
    }

    .h5 { 
        font-size: 15px;
    }

    .h6 { 
        font-size: 12px;
    }

    .changetheme {
        right: 20px;
    }

    .section__aboutme {
        flex-direction: column;
    }

    .container { 
        width: 90%;
        height: 100vh;
    }
    .shadow-container {
        display: none;
    }

    .profilepic {
        width: 100px;
        height: 124px;
        display: block;
        margin: 0 auto;
    }

    .description {
        margin-top: 10px;
        display: block;
        width: 100%; 
    }
     
    .section {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}
