﻿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%;
}

body {
    font-family: 'Roboto Mono', monospace;
    color: var(--font-primary);
    background-color: var(--bg-primary);
    margin: 0;
    scroll-behavior: smooth;
}
main {
    flex: 1;
}

:root {
    --font-primary: #FFFFFF;
    --font-secondary: #12F7D6;
    --bg-primary: #292F36;
    /*    --bg-secondary: #1A1E23;*/
    --bg-secondary: #98FAEC;
}
.text-brand-green {
    color: var(--font-secondary);
}

.bg-brand-green {
    background-color: var(--bg-secondary);
}
.text-primary {
    color: var(--font-primary) !important;
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}
.navbar .nav-link.active {
    color: #12F7D6 !important;
    font-weight: bold;
}

.bg-layer-pattern {
    background-image: url("../images/layer-pattern.png");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #1A1E23;
}

.bg-work {
    background-image: url("../images/Works.png");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.bg-skill {
    background-image: url("../images/Skills.png");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


/*.navbar {
    --bs-navbar-color: #FFFFFF;*/ /* normal links */
    /*--bs-navbar-active-color: #292F36;*/ /* active link */
/*}*/

.custom-square {
    width: 300px;
    height: 500px;
    background-color: #292F36;
    border: 5px solid #FFFFFF;
    flex-direction: column;
    justify-content: space-evenly;
    display: flex;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
}
.custom-square-label {
    background-color: #292F36;
    border: 3px solid #12F7D6;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
}



.custom-square-black {
    width: 200px;
    height: 400px;
    background-color: black;
    box-shadow:rgba(0,0,0,5);
    flex-direction:column;
    justify-content:space-evenly;
    display:flex;
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
    border-bottom-right-radius: 70px;
    border-bottom-left-radius: 70px;
}
.search-container {
    position: relative;
}

.search-input {
    height: 35px;
    border-radius: 30px;
    padding-left: 35px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #888;
}

.floating-nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-icon {
    display: block;
    font-size: 24px;
    padding: 12px;
    margin: 10px 0;
    background: #eee;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    color: #333;
    position: relative;
    transition: background 0.3s;
}

.nav-icon.active {
    background: #8B4EFF;
    color: white;
}

.nav-icon:hover {
    background: #ccc;
}

.nav-icon[data-tooltip]:not([data-tooltip=""]):hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.8s 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.page-section {
    border-bottom: 1px solid #ccc;
}
