| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 20px; | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); | |
| overflow: hidden; | |
| } | |
| .header { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 30px; | |
| text-align: center; | |
| } | |
| .header h1 { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| margin-bottom: 10px; | |
| } | |
| .header p { | |
| font-size: 1.1rem; | |
| opacity: 0.9; | |
| } | |
| .diagram-container { | |
| padding: 40px; | |
| background: #f8fafc; | |
| } | |
| .vpc-section { | |
| margin-bottom: 50px; | |
| } | |
| .vpc-header { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 20px; | |
| border-radius: 12px; | |
| margin-bottom: 25px; | |
| text-align: center; | |
| } | |
| .vpc-header h2 { | |
| font-size: 1.8rem; | |
| font-weight: 600; | |
| margin-bottom: 5px; | |
| } | |
| .vpc-header p { | |
| font-size: 1rem; | |
| opacity: 0.9; | |
| } | |
| .environments-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 30px; | |
| margin-bottom: 30px; | |
| } | |
| .environment { | |
| background: white; | |
| border-radius: 15px; | |
| padding: 25px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | |
| border: 2px solid #e2e8f0; | |
| transition: all 0.3s ease; | |
| } | |
| .environment:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); | |
| border-color: #667eea; | |
| } | |
| .environment h3 { | |
| color: #2d3748; | |
| font-size: 1.4rem; | |
| font-weight: 600; | |
| margin-bottom: 20px; | |
| text-align: center; | |
| padding-bottom: 10px; | |
| border-bottom: 2px solid #e2e8f0; | |
| } | |
| .components-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 15px; | |
| } | |
| .component { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 20px; | |
| border-radius: 10px; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .component::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); | |
| transition: left 0.5s; | |
| } | |
| .component:hover::before { | |
| left: 100%; | |
| } | |
| .component:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4); | |
| } | |
| .component-icon { | |
| font-size: 1.5rem; | |
| margin-bottom: 10px; | |
| display: block; | |
| } | |
| .component-title { | |
| font-size: 1rem; | |
| font-weight: 600; | |
| margin-bottom: 5px; | |
| } | |
| .component-details { | |
| font-size: 0.85rem; | |
| opacity: 0.9; | |
| line-height: 1.4; | |
| } | |
| .internet-gateway { | |
| background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); | |
| } | |
| .load-balancer { | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| } | |
| .subnet { | |
| background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); | |
| } | |
| .ec2-instance { | |
| background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); | |
| } | |
| .public-subnet { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .connections { | |
| margin-top: 40px; | |
| text-align: center; | |
| } | |
| .connection-flow { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 15px; | |
| margin-top: 20px; | |
| } | |
| .connection-item { | |
| background: white; | |
| padding: 15px 20px; | |
| border-radius: 25px; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| border: 2px solid #e2e8f0; | |
| font-weight: 500; | |
| color: #2d3748; | |
| transition: all 0.3s ease; | |
| } | |
| .connection-item:hover { | |
| border-color: #667eea; | |
| color: #667eea; | |
| transform: translateY(-2px); | |
| } | |
| .arrow { | |
| color: #667eea; | |
| font-size: 1.2rem; | |
| } | |
| .stats { | |
| background: white; | |
| border-radius: 15px; | |
| padding: 25px; | |
| margin-top: 30px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | |
| } | |
| .stats h3 { | |
| color: #2d3748; | |
| font-size: 1.3rem; | |
| font-weight: 600; | |
| margin-bottom: 15px; | |
| text-align: center; | |
| } | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 15px; | |
| } | |
| .stat-item { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 20px; | |
| border-radius: 10px; | |
| text-align: center; | |
| } | |
| .stat-number { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| margin-bottom: 5px; | |
| } | |
| .stat-label { | |
| font-size: 0.9rem; | |
| opacity: 0.9; | |
| } | |
| @media (max-width: 768px) { | |
| .header h1 { | |
| font-size: 2rem; | |
| } | |
| .diagram-container { | |
| padding: 20px; | |
| } | |
| .environments-grid { | |
| grid-template-columns: 1fr; | |
| gap: 20px; | |
| } | |
| .components-grid { | |
| grid-template-columns: 1fr; | |
| gap: 10px; | |
| } | |
| .connection-flow { | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| } |