:root {
    --primary: #6B46C1;
    --secondary: #A78BFA;
    --background: #0F0F23;
    --surface: #1A1A2E;
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --border: #374151;
    --accent: #8B5CF6;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(255, 255, 255, 0.1);
}

.light-mode {
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --border: #CBD5E1;
    --shadow: var(--shadow-light);
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    margin: 20px;
    margin-top: 60px;
    --shadow: var(--shadow-dark);
}

h1 {
    display: inline-block;
    font-weight: bold;
    font-family: 'Verdana',sans-serif;
    color: var(--text-primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    font-size: 1.3rem;
    background-color: var(--surface);
    padding: 10px;
}

.nav {
    justify-content: right;
    text-align: right;
    font-size: 1.4rem;
    display: inline-block;
    position: fixed;
    right: 0;
    margin-right: 10px;
    margin-top: -2px;
    color: var(--primary);
}

.navy {
    display: none;
}

.headpic {
    text-align: right;
    align-items: right;
    display: inline;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

#headpic {
    width: 9rem;
    border-radius: 10%;
    margin-bottom: 20px;
    display: block;
    margin-top: 10px;
}

#headpic:hover {
    transform: scale(1.1);
}

.soft {
    font-weight: bold;
    font-size: 2rem;
    display: inline;
    text-align: left;
    padding: 5px;
    margin-right: 20px;
    word-spacing: 12rem;
    padding-top: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
    width: 100%;
    animation: typing 3s steps(15, end), blink 0.7s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-right-color: transparent; }
    50% { border-right-color: var(--primary); }
}

.underline {
    text-decoration: underline;
}

hr {
    border: 1px solid var(--primary);
}

.title {
    font-weight: 1000;
    font-size: 1.4rem;
    font-family: Verdana, sans-serif;
    margin-bottom: 10px;
    margin-top: 90px;
    color: var(--text-primary);
}

.skills {
    font-size: 1.5rem;
    font-family: verdana, sans-serif;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-align: center;
}

.desc {
    font-size: 6rem;
    display: block;
}

.details {
    margin: 10px;
    font-size: 1.2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    color: var(--text-secondary);
}

.details1 {
    margin: 10px;
    font-size: 1.2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    color: var(--text-secondary);
}

#mainskills {
    border: 3px solid var(--secondary);
    color: var(--secondary);
    border-radius: 3px solid;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.readmore {
    cursor: pointer;
}

#update {
    font-style: italic;
    font-weight: lighter;
    font-size: 0.9rem;
}

#readmore {
    border: 3px solid var(--secondary);
    color: var(--secondary);
    border-radius: 8px;
    padding: 6px;
    margin: 5px;
    margin-top: 12px;
    transition: border 2s 122px;
}

.checkout {
    border: 3px solid var(--secondary);
    color: var(--secondary);
    border-radius: 8px;
    padding: 6px;
    display: block;
    width: 40%;
    margin: 5px;
    text-decoration: none;
    transition: border 2s 122px;
    border-color: var(--primary);
    font-size: 2rem;
    text-align: center;
}

.stacks {
    border: none;
    margin-top: 10px;
    padding-top: 0px;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    text-decoration: none;
}

.stack1 {
    display: none;
} 

.stack {
    display: inline-block;
    padding-top: 10px;
    font-size: 2rem;
    text-decoration: none;
}


a {
    text-decoration: none;
    color: var(--secondary);
}

.moretext {
    display: none;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid var(--primary);
    border-top: 6px solid var(--secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.skills1 {
    text-align: left;
    font-size: 1.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 10px;
    color: var(--text-primary);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg);}
    100% { transform: translate(-50%, -50%) rotate(360deg);}
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0px 4px 8px var(--shadow);
}

.iframe-container {
    width: 100%;
    height: 43vh;
    margin: 0;
    display: block;
    position: relative; /* Add this line */
}

.menu {
    position: fixed;
    top: 60px;
    right: 20px;
    background-color: var(--surface);
    border: 2px solid var(--primary);
    padding: 10px;
    z-index: 1000;
    border-radius: 20px;
}

.menu a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    padding: 10px;
    font-size: 1.2rem;
}

.menu a:hover {
    background-color: var(--shadow);
}

.light-mode {
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode .title{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode .circle{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode .stack1{
    background-color: var(--background);
    border-color: var(--border);
}

.light-mode fieldset{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode footer{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode .soft{
    background-color: var(--background);
    color: var(--text-primary);
    font-weight: bold;
    font-size: 2rem;
    display: inline;
    text-align: left;
    padding: 5px;
    margin-right: 20px;
    word-spacing: 12rem;
    padding-top: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.light-mode .checkout{
    background-color: var(--background);
    border-color: var(--border);
}

.light-mode .skills1{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode #readmore{
    background-color: var(--background);
    border-color: var(--border);
    color: var(--text-primary);
}

.light-mode hr{
    background-color: var(--background);
    border-color: var(--border);
}

.light-mode .skills{
    background-color: rgba(245, 245, 245, 0.733);
    color: var(--text-primary);
    
}

.light-mode .details{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode .nav{
    background-color: var(--background);
    color: var(--text-primary);
}

.light-mode .head, .light-mode .intro, .light-mode .title {
    background-color: rgba(163, 171, 247, 0.1);
    border-color: var(--border);
}

.light-mode .menu {
    background-color: var(--surface);
    border-color: var(--border);
}

hr {
    color: var(--primary);
}

.light-mode .menu a {
    color: var(--text-primary);
}

.light-mode h1 {
    background-color: var(--surface);
    color: var(--text-primary);
}

.skill-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    gap: 2rem;
    margin-left: 25px;
    margin-top: 20px;
}

.skill {
    text-align: center;
    font-size: 1.2rem;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg, rgba(241, 227, 227, 0.1) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: background 1s linear; /* Smooth fill effect */
}

form {
    color: var(--primary);
}

.circle::after {
    content: attr(data-skill) '%';
}

.contact {
    float: left;
}

form {
    display: grid;
    align-items: center;
    justify-content: center;
}

.details2 {
        font-size: 1.2rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

form {
    text-align: center;
}

fieldset {
    border: 2px solid var(--border);
}

label {
    float: left;
    padding-top: 12px;
}

input[type=text] {
    margin: 10px 0px;
    padding: 5px;
    border-top-right-radius: 20px;
    color: var(--primary);
}

i {
    color: var(--primary);
}

input[type=email] {
    margin: 10px 0px;
    padding: 5px;
    border-top-right-radius: 20px;
    color: var(--primary);
}

input[type=tel] {
    margin: 10px 0px;
    padding: 5px;
    border-top-right-radius: 20px;
    color: var(--primary);
}

textarea{
    border-radius: 5px;
    resize: none;
}

button[type=submit] {
    color: var(--primary);
    background-color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px;
    padding: 10px 20px;
    float: left;
}


button[type=submit]:hover {
    background-color: var(--accent);
    color: var(--text-primary);
}

.blinking-cursor1 {
    display: inline-block;
    width: 2px;
    height: 1em;
    color: var(--secondary);
    animation: blink1 0.7s steps(2, start) infinite;
}

@keyframes blink1 {
    100% {opacity: 1; }
    0% { opacity: 0; }
}

.footer {
    color: var(--secondary);
}

footer {
    margin-top: 20px;
    padding-top: 10px;
    margin-bottom: 30px;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    font-family: 'Courier New', Courier, monospace;
    color: var(--secondary);
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

/* Tablet styles (min-width: 768px) */
@media screen and (min-width: 768px) {
    body {
        margin: 40px;
        margin-top: 80px;
    }

    h1 {
        font-size: 1.8rem;
        padding: 15px;
        display: inline-block;
        font-weight: bold;
        font-family: Verdana, Tahoma, sans-serif;
        color: rgb(163, 171, 247);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        background-color: #17151a;
        padding: 10px;
    }

    .nav {
        font-size: 1.8rem;
    }

    .soft {
        font-size: 2.5rem;
        width: 30%;
    }

    .title {
        font-size: 1.8rem;
    }

    .skills {
        font-size: 2rem;
    }

    .details {
        font-size: 1.4rem;
    }

    .skill-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    }

    .checkout {
        border: 3px solid var(--secondary);
        color: var(--secondary);
        border-radius: 8px;
        padding: 6px;
        display: block;
        width: 22%;
        margin: 5px;
        text-decoration: none;
        margin-top: 20px;
        transition: border 2s 122px;
        border-color: var(--primary);
    }

    .circle {
        width: 120px;
        height: 120px;
        font-size: 1.4rem;
    }
}

/* PC styles (min-width: 1024px) */
@media screen and (min-width: 1024px) {
    body {
        margin: 60px;
        margin-top: 140px;
    }

    h1 {
        font-size: 2.2rem;
        padding: 20px;
        padding-top: 7px;
    }

    #offere {
        font-size: 1.15rem;
    }

    .light-mode .navy1{
        background-color: rgb(204, 227, 245);
        color: black;
    }

    .light-mode .navy1:hover{
        background-color: rgb(185, 204, 219);
        color: rgb(125, 118, 170);
    }


    .soft {
        font-size: 3rem;
    }
  
    #headpic {
        width: 18rem;
        border-radius: 10%;
        display: inline;
        margin-top: 10px;
        margin-bottom: -40px;
    }

    form {
        display: grid;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }

    .soft {
        font-weight: bold;
        font-size: 4rem;
        display: inline;
        text-align: left;
        width: 30%;
        padding: 90px;
        line-break: strict;
        margin-right: 20px;
        padding-top: 20px;
        font-family:monospace;
        background: linear-gradient(90deg, blueviolet, rgb(159, 165, 223));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .typewriter {
        white-space: nowrap;
        overflow: hidden;
        border-right: 2px solid;
        width: 100%;
        padding-right: 70px;
        animation: typing 3s steps(15, end), blink 0.5s step-end infinite alternate;
    }

    .title {
        font-size: 2.2rem;
    }

    .skills {
        font-size: 2.5rem;
    }

    .details {
        font-size: 2rem;
        margin: 140px;
    }

    .skill-container {
        grid-template-columns: repeat(5, 1fr); 
    }

    .circle {
        width: 150px;
        height: 150px;
        font-size: 1.6rem;
    }

    

    .iframe-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 70%;
        height: 60vh;
        margin: 0 auto;
        position: relative;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        overflow: hidden;
    }
    
    iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .checkout {
        border: 3px solid;
        color: #b192e0;
        border-radius: 8px;
        padding: 6px;
        display: flex;
        justify-content: space-evenly;
        width: 22%;
        margin: 5px;
        text-decoration: none;
        margin-top: 20px;
        transition: border 2s 122px;
        border-color: blueviolet;
    }
    
    .stacks {
        border:none ;
        margin-top: 10px;
        padding-top: 0px;
        display: flex;
        justify-content: space-between;
        padding: 5px;
        text-decoration: none;
    }
    
    .stack1 {
        display: inline;
    } 

    .stack {
        display: inline-block;
        padding-top: 10px;
        font-size: 3rem;
        text-decoration: none;
    }

    .con {
        line-break: strict;
    }

    footer {
        font-size: 28px;
    }
}

/* PC styles (min-width: 1200px) */
@media screen and (min-width: 1245px) {
    .nav {
        display: none;
    }

    .navy {
        display: inline;
        margin: 15px;
        justify-content: right;
        text-align: right;
        font-size: 1.5rem;
        margin-top: 11px;
        position: fixed;
        right: 0;
        margin-right: 10px;
    }

    .navy1 {
        margin: 5px;
        font-size: 1.4rem;
        padding: 5px;
        background-color: #13153a;
        border-radius: 5px;
    }

    .navy1:hover {
        background-color: #31185e;
        color: #000;
    }

    .light-mode head{
        background-color: whitesmoke;
        border-color: darkslategrey;
    }
}
>>>>>>> main
