/*
 * romaldo.io - the only stylesheet for the site (loaded in app/Views/templates/header.php).
 * Consolidated from styles.css, windows_xp.css and the parts of Bootstrap 5.3.0 the pages used.
 * Section order matters: later sections override earlier ones.
 * Fonts are set once, as --font-text and --font-title in the Base section.
 */

/* ==========================================================================
   Base: browser resets (adapted from Bootstrap 5.3.0 reboot) and site fonts.
   Loaded first so the theme sections below can override any of it.
   ========================================================================== */

:root {
    /* Windows XP UI text, with MySpace's Verdana as the fallback */
    --font-text: Tahoma, Verdana, "Segoe UI", "DejaVu Sans", sans-serif;
    /* Windows XP title bars */
    --font-title: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h4 {
    font-size: calc(1.275rem + .3vw);
}

@media (min-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h4 {
        font-size: 1.5rem;
    }
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul {
    padding-left: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

ul ul {
    margin-bottom: 0;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: .875em;
}




code {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .875em;
    color: #d63384;
    word-wrap: break-word;
}

a > code {
    color: inherit;
}

img,
svg {
    vertical-align: middle;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

tbody,
td,
tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button,
input {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    border-radius: 0;
    text-transform: none;
    -webkit-appearance: button;
}

button:not(:disabled) {
    cursor: pointer;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

iframe {
    border: 0;
}

/* Window and box title bars */
nav .new-before,
.profile h1,
.heading,
.heading h4,
.heading h5,
.profile .left .mood:before {
    font-family: var(--font-title);
}

/* ==========================================================================
   Profile layout (MySpace theme)
   Formerly styles.css.
   ========================================================================== */

:root{
  --logo-blue: #1D4ED8;
  --darker-blue: #1E40AF;
  --lighter-blue: #60A5FA;
  --even-lighter-blue: #BFDBFE;
  --lightest-blue: #DBEAFE;
  --red: #FF0000;
  --dark-orange: #ED0707;
  --light-orange: #f9c56c;
  --even-lighter-orange: #fcdbb8;

  accent-color: #1D4ED8;
  accent-color: var(--logo-blue);
}

*{
  box-sizing: border-box;
}
html{
  line-height: 1.225;
}
html{
  margin: 0;
  padding: 0;
}
.container{
  width: 960px; /* MySpace used 810px; a little wider so names and comments don't wrap */
  max-width: 100%;
  margin: 0 auto 10px;
}
time.ago{
  opacity: 0;
}
a{
  color: #1E40AF;
  color: var(--darker-blue);
  text-decoration: none;
}
a:hover,
a:active{
  color: #c00;
  text-decoration: underline;
}
p, ul:not(nav .links):not(footer .links) li{
  font-size: 0.875em;
  font-size: max(0.875em, 12px);
}
ul{
  padding-left: 20px;
}
nav{
  color: white;
  font-size: 72%;
  font-size: max(72%, 12px);
}
nav .top{
  background: #1D4ED8;
  background: var(--logo-blue);
  padding: 15px 10px 14px 10px;
  display: flex;
  position: relative;
}
nav .top a{
  text-decoration: none;
  color: inherit;
}
nav .top a:hover{
  text-decoration: underline;
}
nav .top div{
  display: inline-block;
  vertical-align: top;
}
nav .top .left a{
  text-decoration: none;
  color: inherit;
}
nav .top .left img{
  margin: 0 0 0 0;
}
/* Styling for the logo container */
nav .top .left .logo-link {
  display: flex;
  align-items: center; /* Aligns the icon and text vertically */
  text-decoration: none; /* Removes underline from link */
  font-size: 2em; /* Adjust font size of the text */
  color: #ffffff; /* White text color for better contrast on blue background */
}

/* Styling for the logo image */
nav .top .left .logo {
  width: 2em; /* Adjust the width as needed */
  height: auto; /* Keeps aspect ratio */
  margin-top: 7px;
  margin-right: -7px;
}

/* Ensuring the text aligns properly with the image */
nav .top .left .logo-link span {
  vertical-align: middle; /* Makes the text align with the image */
}
nav .top .center{
  text-align: center;
  flex: 1;
}
nav .top .center form{
  margin-top: -2px;
  width: 100%;
}
nav .links{
  background-color: #60A5FA;
  background-color: var(--lighter-blue);
  padding: 3.5px 16px 5.5px 16px;
}
nav .links .icon{
  vertical-align: -0.41em;
}
nav .links,
footer .links{
  margin: 0;
  list-style: none;
}
footer .links{
  font-size: 0.875em;
  margin: 16px 0 5px 0;
  padding: 0;
  text-align: center;
}
nav .links li,
footer .links li{
  display: inline-block;
}
nav .links li.active a{
  font-weight: bold;
}
nav .links li:not(:last-child)::after,
footer .links li:not(:last-child)::after{
  content: " | ";
  color: black;
}
nav .links li{
  min-height: 1.4em;
}
nav .links a{
  text-decoration: none;
  color: white;
  text-shadow: 0 0 7px #095DC3; /*to improve the color contrast*/
  font-size: 0.98em;
  font-size: max(0.98em, 12px);
}
nav .links a:hover{
  text-decoration: underline;
  color: #040c5c;
}
main{
  background: white;
  color: black;
  padding: 6px 0px;
  font-size: 80%;
  padding: 1em 0 1em 0;
}
main .left,
main .right{
  padding: 10px;
}
footer{
  text-align: center;
  font-size: 70%;
  margin: 10px 0 10px;
  padding: 10px 5px;
  background: #e3e3e3;
}
footer img{
  display: inline-block;
  vertical-align: middle;
}
footer p{
  vertical-align: middle;
  margin: 10px 0 5px 0;
  font-size: 90%;
}

.profile h1{
  font-size: 1.5em;
  margin: 0 0 10px 0;
}
.general-about .details{
  display: block;
}
.profile .mood{
  width: 100%;
  display: inline-block;
}
.profile .mood p{
  margin: 0 0 8px 0;
}
.profile .contact,
.profile .table-section{
  width: 100%;
  border: 2px solid #60A5FA;
  border: 2px solid var(--lighter-blue);
  margin: 10px 0;
}
.profile .contact .heading,
.profile .table-section .heading{
  background: #60A5FA;
  background: var(--lighter-blue);
  color: white;
  padding: 2px 7px;
}
.profile .contact .heading h4,
.profile .table-section .heading h4,
.profile .blurbs .heading h4,
.profile .friends .heading h4{
  margin: 0;
  display: inline-block;
}
.profile .contact .f-row{
  margin: 7px;
  font-weight: bold;
  font-size: 0.875em;
}
table.details-table{
  width: 100%;
  padding-bottom: 1em;
}
.details-table td:first-child{
  background: #BFDBFE;
  background: var(--even-lighter-blue);
  color: #1D4ED8;
  color: var(--logo-blue);
  font-weight: bold;
  width: 33%;
}
.details-table td{
  background: #DBEAFE;
  background: var(--lightest-blue);
  vertical-align: top;
}
.details-table td p{
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.details-table td *{
  max-width: 100%;
}
.profile .blurbs{
  margin: 20px 0;
}
.profile .blurbs .heading,
.profile .friends .heading{
  background: #f9c56c;
  background: var(--light-orange);
  color: #ED0707;
  color: var(--dark-orange);
  padding: 2px 7px;
}
.profile .blurbs .inner,
.profile .friends .inner{
  padding: 7px;
}
.profile .blurbs .section{
  margin-bottom: 14px;
}
.profile .blurbs .section h4{
  margin: 0;
  color: #ED0707;
  color: var(--dark-orange);
}
.profile .blurbs .section p,
.profile .friends p{
  margin: 0 0 8px 0;
}
.profile .friends .person{
  width: 105px;
  display: inline-block;
  padding: 0 10px 15px 0;
}
.profile .friends .person p{
  color: #666666;
  font-weight: bold;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 100%;
  text-align: center;
}
.profile .friends .person img:not(.icon){
  max-width: 95px;
  max-height: 95px;
  display: block;
  margin: 0 auto;
}
.count{
  color: #D32626;
}
.comment-replies{
  padding: 0 5px;
  border: 5px solid white;
}
.comment-reply{
  padding: 10px 5px;
}
.comment-reply:not(:first-child){
  border-top: 1px solid black;
}
.comment-reply p{
  margin: 0;
}
table.comments-table{
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.comments-table p{
  font-size: 100%;
}
.comments-table td:first-child{
  background: #f9c56c;
  background: var(--light-orange);
  text-align: center;
  font-weight: bold;
  width: 38%;
}
.comments-table td{
  background: #fcdbb8;
  background: var(--even-lighter-orange);
  vertical-align: top;
}
.comments-table td:first-child img:not(.icon){
  width: 90px;
  max-width: 100%;
  max-height: 200px;
}
.comments-table td *{
  max-width: 100%;
}
.comments-table .report{
  font-size: 0.7em;
  float: left;
  margin: 8px 5px !important;
}

.info{
  background: #FF0000;
  background: var(--red);
  color: white;
  padding: 8px 5px;
  margin: 10px 0;
}
.info{
  color: black;
  background: #DBEAFE;
  background: var(--lightest-blue);
  border: 1.5px solid #60A5FA;
  border: 1.5px solid var(--lighter-blue);
}
.help .content,
.help .content p,
.help .content ul,
.help .content li{
  font-size: 1em;
}
.help .content{
  margin-bottom: 35px;
}


.icon{
  display: inline-block;
  height: 1.4em;
  width: 1.4em;
  aspect-ratio: 1/1;
  margin: 0 0 0 1em;
  vertical-align: -0.3em;
  color: rgba(0,0,0,0);
}
.icon.verified{
  height: 0.9em;
  width: 0.9em;
  margin: 0 .02em 0 0;
  vertical-align: -0.06em;
  filter: drop-shadow(0px 0px 2px rgba(67,131,184,0.2));
}


.f-row { width: 100%; display: table; table-layout: fixed; }
.f-col { display: table-cell; vertical-align: top; }
@keyframes blink{
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}
.online{
  color: #0C8C00;
  font-weight: bold;
  font-size: 95%;
}
.online img{
  height: 1.5em;
  margin-right: 5px;
  animation-name: blink;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(1.0,0,0,1.0);
  animation-duration: 2s;
}


@media(min-width: 30em){ /* DESKTOP */
  .row { display: table; table-layout: fixed; width: 100%; }
  .col { display: table-cell; vertical-align: top; }
  .col + .col { padding-left: 15px; }
  .col.w-40{ width: 40%; }
}

@media(max-width: 30em){ /* MOBILE */
  nav .top{
    display: block;
  }
  nav .top .left{
    width: 100%;
    margin-bottom: 10px;
  }
  nav .top .right{
    position: absolute;
    top: 8px;
    right: 8px;
  }
  nav .top .center{
    width: 100%;
  }
  nav .top .center form{
    display: flex;
  }
  nav .top .center .search-wrapper{
    flex: 1;
  }
  nav .top .center .search-wrapper input{
    width: calc(100% - 10px);
    max-width: 100%;
  }
  nav .links{
    text-align: center;
    padding: 3.5px 3.5px 5.5px 3.5px;
  }

}


/* Styling the Weather Box */
.weather-comment {
  color: black;
  padding: 10px;
  border-radius: 8px;
  /* border: 2px solid black; */
  width: 280px;
  margin: 10px auto;
  text-align: left;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.weather-comment strong {
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.weather-comment .temp {
  font-size: 16px;
  font-weight: bold;
  /*  color: #FFD700;  Gold color for contrast */
}

.weather-comment .condition {
  font-style: italic;
}

.weather-comment .city {
  font-weight: bold;
  text-decoration: underline;
}

.weather-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Styling the Horror Bot API */

.movie-comment {
  color: black;
  padding: 12px;
  border-radius: 8px;
  /* border: 2px solid #7a0000; */
  width: 280px;
  margin: 15px auto;
  text-align: left;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.movie-comment strong {
  /* font-size: 16px; */
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); */
}

.movie-comment .movie-poster {
  width: 80px;
  height: 120px;
  border-radius: 4px;
  background: #fff;
  padding: 5px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Dictionary Bot Styling */
.word-comment {
  /*  background: linear-gradient(180deg, #FEE12B, #E0A800); /* Gold Dictionary Theme */
  /* color: #333; */
   padding: 12px;
   border-radius: 8px;
  /* border: 2px solid #B38F00; */
  width: 280px;
  margin: 15px auto;
  text-align: left;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.word-comment strong {
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.word-comment .word {
  font-size: 18px;
  font-weight: bold;
  color: #B20000; /* Deep Red for Emphasis */
}

.word-comment .word-source {
  font-size: 11px;
  color: #555;
}

.word-comment em {
  font-style: italic;
  color: #555;
}

/* Search Results Page */
 .search-results {
   max-width: 600px;
   margin: 20px auto;
   padding: 20px;
   background: #f0f0f0;
   border: 1px solid #ccc;
   border-radius: 8px;
 }
.search-results h1 {
  text-align: center;
  color: #333;
}
.search-results ul {
  list-style: none;
  padding: 0;
}
.search-results li {
  margin-bottom: 10px;
}
.search-results a {
  color: #007BFF;
  text-decoration: none;
}
.search-results a:hover {
  text-decoration: underline;
}
.pager {
  text-align: center;
  margin-top: 20px;
}

/* Custom 404 Styling */
.container-404 {
  width: 90%;
  max-width: 600px;   /* Keep the layout manageable on large screens */
  margin: 40px auto;  /* Center the container horizontally */
  text-align: center; /* Center text inside the container */
  padding: 20px;
}

/* Adjust the silhouette image */
.container-404 img {
  width: 150px;       /* Increased from 120px for better visibility */
  height: auto;       /* Maintain aspect ratio */
  margin: 0 auto 20px;
  display: block;
}

.status-code {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 10px;
}

.message {
  font-size: 16px;
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.search-form input[type="text"] {
  padding: 10px;
  border: 1px solid;
  outline: none;
  width: 100%;
  margin-right: 1em;
}

.search-form button {
  padding: 10px 20px;
  background: #1D4ED8;
  border: none;
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.search-form button:hover {
  background: #1E40AF;
}

.home-link {
  display: inline-block;
  margin-top: 20px;
  color: #1D4ED8;
  text-decoration: none;
  font-weight: bold;
}

.home-link:hover {
  text-decoration: underline;
}

/* Center and style the Wikipedia Jam section */
#wiki-jam {
  text-align: left;
}

/* Container for the two buttons on one line */
.wiki-buttons {
  display: flex;
  justify-content: left;
  gap: 10px;
  margin-bottom: 10px;
}

/* Optionally style the buttons further */
#wiki-button,
#wiki-close {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#wiki-button {
  background-color: #1D4ED8;
  color: #fff;
}

#wiki-button:hover {
  background-color: #1E40AF;
}

#wiki-close {
  background-color: #ccc;
  color: #333;
}

#wiki-close:hover {
  background-color: #aaa;
}

/* Home page profile picture */
.general-about {
  display: flex;           /* Enables flex layout */
  align-items: center;     /* Vertically center items */
  gap: 20px;               /* Spacing between image & text */
}

/* The profile picture itself */
.profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;       /* If you prefer to maintain aspect ratio */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* (Optional) Tweak the .details styling if needed */
.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 480px) {
  .general-about {
    flex-direction: column;
    align-items: flex-start; /* or center */
  }
  .profile-picture {
    margin-bottom: 10px;
  }
}

/* gif-modal */
.gif-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.gif-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 45px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  line-height: 1;
}

/* An image that opens something: a button with no button look */
.icon-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Windows XP skin
   Formerly windows_xp.css. Overrides the profile layout above.
   ========================================================================== */

:root {
    --blue-gradient: linear-gradient(to bottom, #245edb 0%, #3f8cf3 9%, #245edb 18%, #245edb 92%, #333 100%) center/cover no-repeat;
}

body {
    background-image: url('../images/windows.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
nav, footer {
    margin: 0;
    position: relative;
    box-shadow: 5px 8px 10px #0006;
}
footer{
    margin-bottom: 5rem;
    border: 2px solid #1D43D1;
    background: white;
}
nav .top, nav .links {
    border-left: 2px solid #1D43D1;
    border-right: 2px solid #1D43D1;
}
nav .info{
    border-left: 2px solid #1D43D1;
    border-right: 2px solid #1D43D1;
}
nav .links {
    border-bottom: 2px solid #1D43D1;
}

nav .new-before {
    display: block;
    background: linear-gradient(to bottom, #245edb 0%, #3f8cf3 9%, #245edb 18%, #245edb 92%, #333 100%) center/cover no-repeat;
    font-size: 1em;
    text-shadow: 2px 2px 0 #000;
    border-radius: 10px 10px 0 0;
    padding: 1em 1em 1.5em;
}

nav.new-after {
    display: block;
    width: fit-content;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(233,145,126,1) 0%, rgba(223,89,65,1) 29%, rgba(156,32,15,1) 100%);
    border: 1px solid #FFF;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: .5em;
    margin-right: .5em;
    pointer-events: auto;
}
/* My boi Clippy
main:before {
    content: url('../images/clippy.gif');
    font-size: 20px;
    position: fixed;
    bottom: 0;
    right: 0;
    transform: translateX(-3vw) translateY(-6vh);
    pointer-events: none;
}
*/
main {
    background: none;
    position: relative;
}
.profile h1 {
    border: 2px solid #1B44B8;
    border-radius: 5px 5px 0 0;
    padding: .5em;
    color: #FFF;
    text-shadow: 2px 2px 0 #000;
    background: var(--blue-gradient);
    margin-bottom: 0;
}
.profile .left {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.profile .general-about {
    background: #FFF;
    border-left: 2px solid #1B44B8;
    border-right: 2px solid #1B44B8;
    border-bottom: 2px solid #1B44B8;
    padding: 1em;
    box-shadow: 5px 8px 10px #0006;
}

.profile .left .mood {
    margin-top: 1em;
    background: #FFF;
    border-radius: 11px 11px 0 0;
    box-shadow: 5px 8px 10px #0006;
    border-left: 2px solid #1B44B8;
    border-right: 2px solid #1B44B8;
    border-bottom: 2px solid #1B44B8;
}
.profile .left .mood p {
    margin-left: 1em;
    margin-top: 1em;
}
.profile .left .mood:before {
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    content: "🙂 Mood";
    display: block;
    padding: .5em;
    border: 2px solid #1B44B8;
    background: var(--blue-gradient);
    font-size: 1em;
    text-shadow: 2px 2px 0 #000;
    border-radius: 10px 10px 0 0;
    color: #FFF;
}

.left .contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10;
}
.left .contact {
    display: none;
    border: 0;
    background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0050ee 40%, #06f 88%, #06f 93%, #005bff 95%, #003dd7 96%, #003dd7);
}
.profile .contact .heading {
    background: radial-gradient(circle, #5eac56 0%, #3c873c 100%) center/cover no-repeat;
    display: flex;
    border-radius: 0 40px 50px 0;
    align-items: center;
    -webkit-filter: drop-shadow(0px 0px 7px #000);
    box-shadow: -2px -2px 10px rgba(0,0,0,.25) inset, 2px 2px 10px rgba(0,0,0,0.5) inset;
    margin-right: .5em;
}

.profile .contact .heading:hover {
    background: radial-gradient(circle, #2c752c 0%, #016c01 100%) center/cover no-repeat;
    text-decoration: none;
}


.profile .contact .heading h4 {
    font-size: 0;
    padding-top: 3px;

}
.profile .contact .heading h4:after {
    content: url("../images/windows.svg")" Start";
    font-size: 1.2rem;
    font-family: sans-serif;
    font-weight: bold;
    font-style: italic;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.47);
    padding-right: 1.5rem;
    margin-left: 10px;
    white-space: nowrap;
}
.profile .contact .inner {
    /*! overflow-y: scroll; */
}
.profile .contact .inner, .profile .contact .inner .f-row, .profile .contact .inner .f-row .f-col {
    display: flex;
    margin: 0;
    align-items: center;
}
.profile .f-col a {
    white-space: nowrap;
    border: 1px solid #003c74;
    background: linear-gradient(180deg,#366EF3,#2D69F4 86%,#1A3EB4);
    border-radius: 3px;
    padding: .5em;
    margin-left: .3em;
    font-weight: normal;
    color: #FFF;
}
.profile .f-col a:hover {
    background: linear-gradient(180deg,#1C35B4,#2450D7 86%,#1A3EB4);
    text-decoration: none;
}
.left .table-section {
    border-radius: 10px 10px 0 0;
    border: 2px solid #1B44B8;
    box-shadow: 5px 8px 10px #0006;
}
.left .table-section .details-table tr {
    display: flex;
    flex-direction: column;
}
.left .table-section .heading {
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding: 1em;
    background: var(--blue-gradient);
    font-size: 1em;
    text-shadow: 2px 2px 0 #000;
    border-radius: 10px 10px 0 0;
    color: #FFF;
}
.left .table-section .inner, .left .table-section .details-table td, .left .table-section .details-table td:first-child {
    width: 100%;
    background: #FFFFFF;
}
.left .table-section .details-table td:first-child p {
    padding: .3em;
    border-bottom: 2px ridge #E7E4CF;
}
.left .table-section .details-table td p {
    padding: .3em;
}
.profile .left .table-section.links-section .details-table tbody {
    display: flex;
}
.profile .left .table-section.links-section .details-table tbody tr {
    display: flex;
    flex-direction: column;
    flex: 1;
    line-height: 0;
}
.profile .left .table-section.links-section .details-table tbody tr td {
    width: 100%!important;
    text-align: center;
    background: none;
}
.profile .left .table-section.links-section .details-table tbody tr td p a {
    font-size: 0;
    transition: all .3s
}
.profile .left .table-section.links-section .details-table tbody tr td p img {
    font-size: 35px;
    height: auto;
    margin: 0;
}

.profile .left .table-section.links-section .details-table td p{
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.profile .right .blurbs, .profile .right .friends{
    margin-top: 1em;
    background: #FFF;
    border-radius: 11px 11px 0 0;
    box-shadow: 5px 8px 10px #0006;
    border-left: 3px solid #1B44B8;
    border-right: 2px solid #1B44B8;
    border-bottom: 2px solid #1B44B8;
}
.profile .right .blurbs .heading, .profile .right .friends .heading{
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    display: block;
    padding: .7em;
    border: 2px solid #1B44B8;
    background: var(--blue-gradient);
    font-size: 1em;
    text-shadow: 2px 2px 0 #000;
    border-radius: 10px 10px 0 0;
    color: #FFF;
}
.profile .right .blurbs .heading h4:before{
    content: "💻 ";
}
.profile .right .comments-table{
    height:300px;
    overflow-y:scroll;
    background-color:#E7E4CF;
}
.comments-table td{
    background:#FFFFFF;
}
.profile .right .comments-table td:first-child{
    background:#F8F6F0;
    border-right:1px solid #BEBBAA;
    border-bottom:1px solid #BEBBAA;
}
.comment-replies{
    border: 0;
    border-left: 5px solid #ffbd2e;
    float: right;
}

/* Narrow screens: the 280px comment cards leave no room for the author column,
   so stack each comment: avatar + name on one line, the comment below it. */
@media (max-width: 800px) {
    .profile .right .comments-table,
    .profile .right .comments-table tbody,
    .profile .right .comments-table tr,
    .profile .right .comments-table td {
        display: block;
        width: 100%;
    }
    .profile .right .comments-table {
        height: auto; /* the 300px height + scroll only made sense as a table */
        overflow: visible;
    }
    .profile .right .comments-table tr + tr {
        border-top: 2px solid #BEBBAA;
    }
    .profile .right .comments-table td:first-child {
        display: flex;
        flex-direction: row-reverse; /* markup is name then avatar; show the avatar first */
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        text-align: left;
        border-right: 0;
    }
    .profile .right .comments-table td:first-child p {
        margin: 0;
    }
    .profile .right .comments-table td:first-child img:not(.icon) {
        width: 48px;
    }
    .profile .right .comments-table td:last-child {
        overflow: hidden; /* contain the floated report link and replies */
    }
}

/* Start Styling The Exit Button */

div .main-containers code#exit {
    background: linear-gradient(180deg, rgba(233,145,126,1) 0%, rgba(223,89,65,1) 29%, rgba(156,32,15,1) 100%);
    width: 25px;
    height: 25px;
    border-radius: 15%;
    float: right;
    font-weight: bold;
    font-size: 1.5em;
    cursor: pointer;
    color: white;
    padding: 0 0 0 6px;
    top: -100px;
    right: 10px;
}


@media (min-width: 600px) and (max-width: 1000px) { /* small Screen*/
    div.main-containers {
        width: 100%
    }
}

@media (min-width: 100px) and (max-width: 599px) { /* small Screen*/
    div.main-containers {
        width: 100%
    }
}


/* */


/* Start Styling The Show Button */

svg {
    transform: translate(2px, 5px);
    fill: white;
}
svg:hover {
    fill: white;
}

div#show {
    padding: 10px;
    margin-top: 10px;
    display: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

div#show:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 3px 3px 6px #a6a6a6
}

/* ==========================================================================
   Header Help / Login / Sign up: Clippy and an XP error dialog (scripts.js)
   ========================================================================== */

/* Buttons that look like the header links they replaced */
nav .top .link-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
nav .top .link-button:hover,
nav .top .link-button:focus-visible {
    text-decoration: underline;
}

/* Hidden attribute must win over the display rules below */
.xp-dialog[hidden], .clippy[hidden] {
    display: none;
}

.xp-dialog {
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(400px, calc(100vw - 32px));
    background: #ECE9D8;
    border: 3px solid #0831D9;
    border-radius: 8px 8px 0 0;
    box-shadow: 5px 8px 10px #0006;
    font-family: var(--font-text);
    font-size: 13px;
    color: #000;
}
.xp-dialog-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--blue-gradient);
    color: #fff;
    font-family: var(--font-title);
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    padding: 4px 4px 4px 8px;
    border-radius: 5px 5px 0 0;
}
.xp-dialog-close {
    width: 22px;
    height: 22px;
    border: 1px solid #fff;
    border-radius: 3px;
    background: linear-gradient(180deg, #e9917e 0%, #df5941 29%, #9c200f 100%);
    color: #fff;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}
.xp-dialog-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px 8px;
}
.xp-dialog-body p {
    margin: 0;
    line-height: 1.4;
}
.xp-error-icon {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff8a7a, #d92b12 60%, #8e1606);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
}
.xp-dialog-buttons {
    text-align: center;
    padding: 6px 0 12px;
}
.xp-button {
    display: inline-block;
    min-width: 75px;
    padding: 3px 10px;
    border: 1px solid #003C74;
    border-radius: 3px;
    background: linear-gradient(180deg, #fff 0%, #ECE9D8 86%, #D6D0C5 100%);
    color: #000;
    font: 12px var(--font-text);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.xp-button:hover {
    box-shadow: inset 0 0 0 2px #F8B636;
    text-decoration: none;
}
.xp-button:focus-visible {
    outline: 1px dotted #000;
    outline-offset: -4px;
}

/* Clippy in the bottom-right corner with a yellow tooltip bubble */
.clippy {
    position: fixed;
    z-index: 10000;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-text);
    font-size: 13px;
}
.clippy-bubble {
    position: relative;
    max-width: 240px;
    margin: 0 30px 12px 0;
    padding: 10px 12px;
    background: #FFFFE1;
    border: 1px solid #000;
    border-radius: 8px;
    box-shadow: 2px 3px 6px #0005;
    color: #000;
}
.clippy-bubble:after { /* tail pointing at Clippy */
    content: "";
    position: absolute;
    right: 30px;
    bottom: -10px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: #000 transparent transparent;
}
.clippy-bubble p {
    margin: 0 0 8px;
}
.clippy-bubble .xp-button {
    margin: 2px 4px 0 0;
}
