html {
  height: 100%;
}

body {
  min-height: 100%;
  background: #eee;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #222;
  font-size: 14px;
  line-height: 26px;
  padding-bottom: 50px;
}

.container {
  max-width: 800px;
  background: #fff;
  margin: 0px auto 0px;
  box-shadow: 1px 1px 2px #DAD7D7;
  border-radius: 3px;
  padding: 40px;
  margin-top: 50px;
}

.header {
  margin-bottom: 30px;
}
.header .full-name {
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.header .first-name {
  font-weight: 700;
}
.header .last-name {
  font-weight: 300;
}
.header .contact-info {
  margin-bottom: 20px;
}
.separator {
  height: 10px;
  display: inline-block;
  border-left: 2px solid #999;
  margin: 0px 10px;
}

.details {
  line-height: 20px;
}
.details .section {
  margin-bottom: 30px;
}
.details .section:last-of-type {
  margin-bottom: 0px;
}
.details .section__title {
  letter-spacing: 2px;
  color: #54AFE4;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.details .section__list-item {
  margin-bottom: 25px;
}

.details .section {
  margin-bottom: 30px;
}
.details .name {
  font-weight: bold;
}
.details a {
  color: #000;
}
.details a:hover {
  color: #54AFE4;
}
.contact-info a {
  color: #000;
}
.contact-info a:hover {
  color: #54AFE4;
}
.tagline {
  font-style: italic;
}

/* Visitor Counter Enhancements */
#count {
  font-weight: 900;
  color: #54AFE4;
  font-size: 24px;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 30px;
  text-align: center;
}

.visitor-counter-main {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-top: 15px;
  text-align: center;
  padding: 10px;
}

.loading-state {
  color: #999;
  animation: pulse 1.5s infinite;
}

.count-loaded {
  color: #54AFE4;
  transform: scale(1.1);
}

.error-state {
  color: #e74c3c;
  cursor: pointer;
  text-decoration: underline;
}

.pulse-animation {
  animation: countPulse 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Loading dots animation */
.loading {
  animation: loadingDots 1.4s infinite;
}

@keyframes loadingDots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    margin-top: 20px;
  }
  
  .header .full-name {
    font-size: 32px;
  }
  
  .contact-info {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .separator {
    display: none;
  }
}