html {
    font-size: 18px; 
    scroll-behavior: smooth;
}

@media (max-width: 1920px) {
    html { font-size: 16px; }
}

@media (max-width: 900px) {
    html { font-size: 14px; } 
}

@media (max-width: 768px) {
    html { font-size: 12px; }
}

@media (max-width: 400px) {
    html { font-size: 10px; } 
}

.title{
    color: white;
    text-decoration: solid;
    text-align: center;
}

h1{
    color: white;
    text-align: center;
}

h2, h3, h4, h5{
    color: white;
    text-align: center;
}

p{
    color: white;
    text-align: center;
}

a {
    text-decoration: none;
    color: #06aaaa;
    transition: color 0.3s ease;
}

a:hover {
    color: #00ffff;
    text-decoration: underline;
}

hr {
    color: #038686;
    border: 1px solid #038686;
    width: 100%;
}

body {
    background: #011616;
    font-family: "Verdana", sans-serif;
    position: relative;
    padding-top: 0.5rem;
    padding-inline: 0.1rem; 
}

li {
    color: white;
}

.badges-88x31{
    padding-bottom: 2rem;
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 1.25rem;
    background-color: #323942ad;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.nav-bar a {
    position: relative;
    text-decoration: none !important;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-bar a:hover {
    color: #00ffff;
    text-decoration: none !important;
}

.nav-bar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 50%;
    background-color: #00ffff;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-bar a:hover::after {
    width: 75%;
}

.contact {
    text-align: left;
}

.to-do {
    text-align: center;
}

.button {
    border-radius: 0.3rem;
    padding: 0.3rem;
    color: white;
    background-color: rgba(0,0,0,0.3);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    image-rendering: pixelated
}

.button:hover {
    background-color: #00ffff;
    transform: translateY(-2px); 
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 60rem;
    margin: 0 auto;
    padding: 2%;
    background-color: #032b2bd2;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.473);
    border-radius: 5px;
}

.cpu-container {
    max-width: 45rem;
    margin: 0 auto;
    padding: 2%;
    background-color: #000000;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.info {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.img-container {
    text-align: center;
    margin-bottom: 2rem;
}

.spinning-h {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #022020;
    z-index: 9999;
    animation: spinH 6s linear infinite;
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
}

@keyframes spinH {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.h-clicked-text {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #00ffff;
    z-index: 9999;
    pointer-events: none;
}
.jump-menu {
    text-align: center; 
    margin-bottom: 1.11rem;
}

.gear-wrapper {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 2.22rem; 
    margin: 1.11rem auto; 
    padding: 0 0.83rem;
}

.gear-section-title {
    color: #00ffff !important;
    margin-bottom: -1.11rem;
}

.phones-cameras-title {
    margin-top: 2.22rem; 
}

.gear-item {
    text-align: left; 
    max-width: 33.33rem; 
    width: 100%;
}

.gear-item h2,
.gear-item p {
    text-align: center; 
}

.gear-list {
    list-style-type: none; 
    padding: 0; 
    line-height: 1.6;
}

.gear-image {
    max-width: 100%; 
    height: auto; 
    border-radius: 0.4rem; 
    margin-top: 1rem;
}

.image-unavailable {
    margin-top: 2rem; 
    color: #c0c0c0 !important;
}

#first-phone .gear-image, 
#second-phone .gear-image {
    max-height: 22.22rem;
    display: block;   
    margin-left: auto; 
    margin-right: auto;
}

.action-button {
    display: inline-block;
    background-color: #032b2bd2;
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px; 
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.473);
}

.action-button:hover {
    background-color: #00ffff;
    color: #011616;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
}
