@import url("https://fonts.googleapis.com/css?family=Lora:400,700|Montserrat:300");

*{
    margin: 0;
    /* padding: 0; */
}
/* body {
    font-family: monospace, sans-serif;
    margin-left: 20%;
    margin-right: 20%;
  } */
:root {
    --date-color: darkslategray;
    --link-color: tomato;
    --link-hover-color: rgb(251, 181, 193);
    --pre-background: #f8f8f8;
    --shuffle-hover: slategray;
}

[data-theme="yellow"] {
--background-color: #fef6df;
    --date-color: darkslategray;
    --link-color: tomato;
    --link-hover-color: rgb(251, 181, 193);
    --pre-background: #f8f8f8;
    --shuffle-hover: slategray;
}

[data-theme="dark"] {
    --background-color: #333333;
    --text-color: #ffffff;
    --date-color: #a9a9a9;
    --link-color: #ff7f6e;
    --link-hover-color: #ffb3b3;
    --pre-background: #444444;
    --shuffle-hover: #a9a9a9;
}

body {
    font-family: monospace, sans-serif;
    margin-left: 20%;
    margin-right: 20%;
    background-color: var(--background-color);
    color: var(--text-color);
}

.theme-toggle {
    color: var(--link-color);
    cursor: pointer;
}
  .site-index{
    padding: 0;
  }
  .full-article{
    line-height: 25px;
  }
  html {
      scroll-behavior:smooth;
    }
.shuffle-text, .name{

    /* text-align: center; */

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
header{
    margin-top: 1%;
    margin-bottom: 3%;
    text-align: center;
}
.shuffle-text:hover, .name:hover{
    color: var(--shuffle-hover);    
}
.shuffle-text{
    white-space: nowrap;
    /* font-size: clamp(32px, 5vw, 64px); */
}
.content{
    display: flex;
    margin: 0 auto;
}
.container {
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}
.container, .pfp{
    max-width:none;
    height: 350px;
    border-radius: 4%;
}
.donut{
    max-width:none;
    height: 350px;
}
.quote{
    font-family: 'Montserrat', monospace, sans-serif;
}
img,video{
    max-width: 100%;
    height: auto;
    /* display: block; */
    margin-left: auto;
    margin-right: auto;
}

pre {
    background: var(--pre-background);
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
    margin: 5px 0;
    padding: 1rem;
    line-height: 1.4;
    border: 1px solid;
}
a {
    color: var(--link-color);
    background-color: transparent;
    text-decoration: none;
    transition: color 0.2s ease;
    word-wrap: break-word;
    max-width: 100%;
}
  
a:hover {
    color: rgb(251, 181, 193);
    background-color: transparent;
    text-decoration: underline;
}
.dates {
    color: var(--date-color);
}
.section-titles{
    color: var(--link-color);
}

table {
    border: 1px solid black;
    border-collapse: collapse;
}

th, td {
    border: 1px solid black;
    padding: 8px;
}
@media screen and (min-width: 768px) {
    .job-title{
        margin: 1%; 
        margin-bottom: -2%;
    }
}
@media screen and (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        width: 100%;
    }

    table {

        width: 100%;
        min-width: 1000px; /* change table scrolling limit */
        white-space: normal;
    }

    .table-container ul{
        margin-left: 13px;
    }

    /* hide scrollbar */
    /* .table-container::-webkit-scrollbar {
        display: none;
    } */
}
/*
.mail {
    position: fixed;
    bottom: 12px;
    left: 12px;
    width: 50px; 
    height: 50px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.1s ease;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mail:hover {
    transform: scale(1.15);
}

.mail:active {
    transform: scale(0.95);
} */
.mail {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.1s ease;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    animation: mailFloat 3s ease-in-out infinite;
}

.mail:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

.mail:active {
    transform: scale(0.95);
}

@keyframes mailFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}
  /* mediaquery css */
.fixed-gif {
    position: fixed; /* Keeps the GIF fixed relative to the viewport */
    bottom: 10px; /* Distance from the bottom of the viewport */
    right: 10px; /* Distance from the left of the viewport */
    width: 90px; /* Adjust the size of the GIF as needed */
    height: auto; /* Maintain aspect ratio */
    z-index: 1000; /* Ensure the GIF appears above other content */
    cursor: pointer; /* Shows it's clickable */
    transition: transform 0.1s ease; /* Small bounce effect */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.fixed-gif:hover {
    transform: scale(1.05); /* Slight hover effect */
}

.fixed-gif:active {
    transform: scale(0.95); /* Click feedback */
}

.popup {
    position: fixed;
    font-size: 15px;
    font-weight: bold;
    color: #da8805;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 1001;
    animation: popupAnimation 1s ease-out forwards;
}

@keyframes popupAnimation {
    0% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}
@media screen and (max-width: 700px){
    *{
        margin: 0;
        padding: 0;
    }
    body {
        margin-left: 10%;
        margin-right: 10%;
    }
    .content{
        padding-top: 5%;
        line-height: 25px;
    }
    .quote{
        padding-bottom: 10%;
    }
    .container {
        padding-top: 20%;
        padding-bottom: 20%;
        line-height: 25px;
    }
    .mainthing{
        padding-top: 20%;
    }
    .donut{
        height: 190px;
    }
}
@media screen and (max-width: 400px){
    body {
        margin-left: 5%;
        margin-right: 5%;
        /* line-height: 30px; */
    }
    .mainthing{
        line-height: 25px;
    }
    .fixed-gif{
        visibility: hidden;
    }
    .mail{
        height: 40px;
        width: auto;
    }
    .content{
        padding-top: 5%;
    }
    .container {
        padding-top: 20%;
        padding-bottom: 20%;
    }
}
