body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  display: flex;                  
  justify-content: center;       
  align-items: center;
}

.background {
  position: fixed;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: url('img/background.png') center center/cover no-repeat;
  filter: blur(7px);
  z-index: -1;
}

.content {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.493);        
  backdrop-filter: blur(10px);                
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2.5rem 3rem;
  max-width: 450px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  color: white;
}

@media (max-width: 480px) {
  .content {
    flex-direction: column;
    padding: 1rem;
  }

  .profile-card {
    width: 90%;
    margin: 0 auto;
  }

  .pfp-wrapper {
    margin-bottom: 1.5rem;
  }
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255 255 255 / 0.4);
  box-shadow: 0 0 15px rgba(255 255 255 / 0.2);
}

.profile-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-card h1 {
  margin: 0 0 0.3rem 0;
  font-weight: 700;
  font-size: 2rem;
}

.profile-card p {
  margin: 0;
  font-weight: 400;
  color: #ccc;
  font-size: 1rem;
}

.button-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.button-row button {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn1 {
  background-image: url('img/instagram.png');
}

.btn2 {
  background-image: url('img/tiktok.png');
}

.btn3{
  background-image: url('img/telegram.png');
}
.btn4{
  background-image: url('img/github.png');
}

.btn5{
  background-image: url('img/letterboxd.png');
}

.btn-wrapper {
  position: relative;
  display: inline-block;
}

.btn-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: #fff;
  font-family: 'Source Code Pro', monospace;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.btn-wrapper:hover .btn-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace, monospace;
  color: rgb(247, 247, 247);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffffffb4;
  animation: typing 0.5s steps(6) forwards, blinkCursor 1s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 6ch; }
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
  100% { border-color: #f56040; }
}

p{
  font-family: 'Source Code Pro', monospace;
}

h4{
  font-family: 'Source Code Pro', monospace;
  color: rgb(194, 194, 194);
}

span{
  font-family: 'Source Code Pro', monospace;
  color: white;
  text-shadow:
    0 0 5px white,
    0 0 10px white,
    0 0 20px white;
}

.pfp-wrapper {
  position: relative;
  display: inline-block;
}

.pfp-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: #fff;
  font-family: 'Source Code Pro', monospace;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.pfp-wrapper:hover .pfp-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.made-by {
  position: fixed;
  top: 10px;
  left: 10px;
  font-family: 'Source Code Pro', monospace;
  color: white;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.493);          
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;                        
  padding: 0.3rem 0.8rem;                    
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  user-select: none;
  z-index: 9999;
}

.made-by a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff;
  cursor: pointer;
  transition: text-shadow 0.3s ease;
}

.made-by a:hover {
  text-shadow:
    0 0 8px #fff,
    0 0 16px #fff,
    0 0 32px #fff,
    0 0 48px #fff;
}

.prague-time {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.493);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem 2rem;
  color: white;
  font-family: 'Source Code Pro', monospace;
  font-size: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  text-align: center;
  text-shadow: 0 0 12px #fff, 0 0 25px #fff;
  z-index: 1000;
  user-select: none;
  cursor: default;
}

.technologies {
  color: white;
  font-family: 'Source Code Pro', monospace;
  max-width: 800px;
  margin: 0 auto;
}

.technologies h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.tech-category {
  margin-bottom: 2rem;
}

.tech-category h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid rgba(233, 233, 233, 0.5);
  padding-bottom: 0.3rem;
  max-width: fit-content;
}

.tech-category ul {
  list-style: none;
  padding-left: 0;
  columns: 2;
  gap: 1rem;
}

.tech-category ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.tech-category ul li .icon {
  width: 20px;
  height: 20px;
  margin-right: 0.6rem;
  filter: grayscale(100%) brightness(80%);
  transition: filter 0.3s ease;
}

.tech-category ul li:hover .icon {
  filter: grayscale(0%) brightness(100%);
}

.tech-group {
  border: 2px solid rgba(233, 233, 233, 0.5);   
  border-radius: 12px;         
  padding: 1.5rem 2rem;        
  max-width: 600px;            
  display: flex;               
  gap: 2rem;                  
  flex-wrap: wrap;             
  background: rgba(0,0,0,0.3); 
}

.skills-button {
  position: fixed;
  top: 55px;
  left: 0.6rem;
  font-family: 'Source Code Pro', monospace;
  color: white;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.493);          
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;                        
  padding: 0.3rem 0.8rem;                    
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  user-select: none;
  z-index: 99999;
}

.skills-button a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff;
  cursor: pointer;
  transition: text-shadow 0.3s ease;
}

.skills-button a:hover {
  text-shadow:
    0 0 8px #fff,
    0 0 16px #fff,
    0 0 32px #fff,
    0 0 48px #fff;
}

.projects-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 sloupce stejné šířky */
  gap: 2rem; /* mezery mezi projekty */
  padding: 2rem;
  justify-items: center; /* projekty vycentrovat v grid buňkách */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.projects-card {
  width: 300px;
  background: rgba(51, 51, 51, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 1.5rem 2rem;
  color: white;
  font-family: monospace;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

@media (max-width: 420px) {
  .zerosearch, .projects-section, .widetree {
    all: unset !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 99999 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

.project-card:hover{
  box-shadow:
    0 0 8px #fff,
    0 0 16px #fff,
    0 0 32px #fff,
    0 0 48px #fff;
}

.project-card h2{
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow:
    0 0 8px #fff,
    0 0 16px #fff;
}

.projects-image{
  width: 100%;
  border-radius: 15px;
  margin-top: 1rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.projects-image:hover{
  transform: scale(1.4);
}

.projects-image:active{
  transform: scale(1.2);
  transition: transform 0.2s ease;
  z-index: 9999;
}

.projects-button {
  position: fixed;
  top: 100px;
  left: 0.6rem;
  font-family: 'Source Code Pro', monospace;
  color: white;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.493);          
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;                        
  padding: 0.3rem 0.8rem;                    
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  user-select: none;
  z-index: 99999;
}

.projects-button a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff;
  cursor: pointer;
  transition: text-shadow 0.3s ease;
}

.projects-button a:hover {
  text-shadow:
    0 0 8px #fff,
    0 0 16px #fff,
    0 0 32px #fff,
    0 0 48px #fff;
}

.nav-buttons {
  position: fixed;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99999;
}

.nav-button {
  font-family: 'Source Code Pro', monospace;
  color: white;
  font-size: 0.9rem;

  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;

  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  user-select: none;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: #1f1f1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/*custom <a href coming soon..*/
.nav-button a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 0 3px #fff;
}