/* style.css */

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0); /* soft gray gradient */
  margin: 0;
  padding: 0;
  color: #333;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Floating logos */
.floating-logo {
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 0;
  animation: float 20s infinite linear;
}

.floating-logo:nth-child(1) { animation-duration: 25s; }
.floating-logo:nth-child(2) { animation-duration: 18s; }
.floating-logo:nth-child(3) { animation-duration: 22s; }
.floating-logo:nth-child(4) { animation-duration: 30s; }
.floating-logo:nth-child(5) { animation-duration: 19s; }
.floating-logo:nth-child(6) { animation-duration: 27s; }

@keyframes float {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  50%  { transform: translateY(-50vh) translateX(50vw) rotate(180deg); }
  100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

header {
  background: #1f2937;
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.devops-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 150px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
}

#about, #resume {
  background-color: #e8e8e8;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.section-wrapper {
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 10px;
}

.cloud-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 150px;
  height: auto;
  object-fit: contain;
}

h1 { margin: 0; }

nav { margin-top: 1rem; }

nav a {
  color: #60a5fa;
  margin: 0 10px;
  text-decoration: none;
}

nav a:hover { text-decoration: underline; }

.container {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(240, 240, 240, 0.95);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

section { margin-bottom: 2rem; }

footer {
  text-align: center;
  padding: 1rem;
  background: #1f2937;
  color: white;
  z-index: 1;
  position: relative;
}

@media (max-width: 600px) {
  header, .container { padding: 1rem; }

  .devops-logo, .cloud-logo { width: 90px; top: 8px; }

  .devops-logo { left: 8px; }

  .cloud-logo { right: 8px; }

  header h1 {
    margin-top: 40px;
    font-size: 1.4rem;
  }

  header p { font-size: 1rem; }
}
