html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  
}

html,body {
    height: 100%;
}

main {
    flex:1;
    display:flex;
    flex-direction: column;
}

.page-panel {
    max-width: 900px;
    margin: 160px auto 80px;
    padding: 50px;
    border-radius: 24px;
    background: linear-gradient( 180deg, rgba(0,0,0,.60), rgba(0,0,0,.50) );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
}
.page-title::after {
    content: "";
    display: block;
    width: 35%;
    max-width: 280px;
    min-width: 180px;
    height: 4px;
    margin-top: 12px;
    border-radius: 50px;
    background: linear-gradient( 90deg, #F7C948 0%, #FFD54F 60%, rgba(255,213,79,0) 100% );
}
.page-panel p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.floating-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    border-radius: 22px;
    background: rgba(90,45,45,.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    z-index: 9999;
    padding: 12px 18px;
}

.floating-navbar .nav-link {
    color: white !important;
    font-weight: 600;
    margin-left: 18px;
    position: relative;
    transition: .3s;
}

.floating-navbar .nav-link:hover {
    color: #FFD34D !important;
}

.floating-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 15%;
    bottom: -6px;
    width: 70%;
    height: 3px;
    background: #FFD34D;
    border-radius: 5px;
}
.navbar-toggler {
    border-color: rgba(255,255,255,.4);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-brand {
    color: white !important;
    font-size: 1.4rem;
    font-weight: bold;
}
.logo {
    width: 34px;
    margin-right: 12px;
}
.glass-navbar {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    transition: all .35s ease;
    z-index: 9999;
}

.glass-navbar .navbar-brand,
    .glass-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: .4px;
    transition: .3s;
}

.glass-navbar .nav-link:hover {
    color: #FFD54F !important;
    transform: translateY(-2px);
}

.glass-navbar .navbar-brand:hover {
    color: #FFD54F !important;
}

/* ---------- Page Layout ---------- */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

/*the css that controls the positioning of the stuff in the hero section */
.hero {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 15px;
    box-sizing: border-box;
}

/*This is thead darkened background behind the text*/
.hero-panel {
    max-width: 760px;
    margin: 0;
    padding: 36px 42px;
    border-radius: 24px;
    background: linear-gradient( 180deg, rgba(0,0,0,.60), rgba(0,0,0,.50) );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
}

.hero-name {
    color: white;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: .95;
    margin-bottom: 12px;
    text-shadow: 3px 3px 18px rgba(0,0,0,.45);
}

/*Hello, I'm*/
.hero-greeting {
    font-size: 1rem;
    letter-spacing: 3px;
}

/*Software Developer*/
.hero-title {
    color: #F7C948;
    font-size: 1.15rem;
    letter-spacing: 6px;
    margin-bottom: 25px;
}

/*The text that follows*/
.hero-text {
    color: white;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 10px 22px;
    font-size: .95rem;
    border-radius: 8px;
}

.hero-buttons .btn:hover {
    transform: translateY(-4px);
}

.btn-warning {
    background: #FFC533;
    border: none;
    color: black;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 28px;
}

.btn-outline-light {
    margin-left: 15px;
    border-radius: 10px;
    padding: 14px 28px;
}



.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.resume-btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all .3s ease;
}

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ===========================
   Document Creator
   =========================== */

.form-label {
    color: white;
    font-weight: 600;
}

.form-control {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
}

.form-control:focus {
    background: rgba(255,255,255,.18);
    color: white;
    border-color: #F7C948;
    box-shadow: 0 0 10px rgba(247,201,72,.35);
}

textarea.form-control {
    resize: vertical;
    /*height: 180px;*/
}

canvas {
    margin-top: 30px;
    background: rgba(255,255,255,.05);
    border-radius: 18px;
    padding: 20px;
}
/* ===========================
   Encryption Demo
   =========================== */

.readonly-box {
    height:260px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.15);
    color: #F7F7F7;
    font-family: Consolas, monospace;
    font-size: .95rem;
}

.readonly-box:focus {
    box-shadow: none;
}

.crypto-column {
    display: flex;
    flex-direction: column;
}

.crypto-box {
    width: 100%;
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    resize: none;
    overflow-y: auto;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
    font-family: Consolas, monospace;
    font-size: .9rem;
    word-break: break-all;
    white-space: pre-wrap;
    box-sizing: border-box;
}

    .crypto-box:focus {
        background: rgba(255,255,255,.18);
        color: white;
        border-color: #F7C948;
        box-shadow: none;
    }
.crypto-arrow {
    font-size: 3.5rem;
    color: #F7C948;
    filter: drop-shadow(0 0 10px rgba(247,201,72,.4));
}

.crypto-label {
    color: white;
    font-weight: 600;
}
.crypto-results {
    margin-top: 70px;
}
.pipeline-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #F7C948;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 25px rgba(247,201,72,.45);
}

.pipeline-title {
    color: #F7C948;
    margin-top: 18px;
    margin-bottom: 4px;
    font-weight: bold;
    letter-spacing: 2px;
}

.pipeline-subtitle {
    color: white;
    opacity: .85;
    letter-spacing: 1px;
}

.pipeline-line {
    width: 3px;
    height: 40px;
    background: rgba(247,201,72,.45);
    margin: 12px 0;
}

.pipeline-arrow {
    font-size: 2rem;
    color: #F7C948;
    margin-top: 20px;
}
/*Footer CSS*/
.footer {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-content {
    height: 100%;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: .95rem;
}

.footer-icons {
    display: flex;
    gap: 18px;
}

.footer-logo {
    width: 22px;
    margin-right: 10px;
    vertical-align: middle;
}