Spaces:
Running
Running
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&family=Source+Code+Pro:wght@300&display=swap'); | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| background-color: #8c8c96; | |
| color: #333; | |
| } | |
| .container { | |
| display: flex; | |
| min-height: 100vh; | |
| } | |
| .sidebar { | |
| background-color: #2c3e50; | |
| color: #ecf0f1; | |
| font-family: 'Ubuntu', sans-serif; | |
| width: 250px; | |
| position: fixed; | |
| height: 100vh; | |
| transition: transform 0.3s ease; | |
| z-index: 1000; | |
| } | |
| .sidebar nav { | |
| padding: 45px 20px; | |
| } | |
| .sidebar nav ul { | |
| list-style: none; | |
| } | |
| .sidebar nav li { | |
| margin: 20px 0; | |
| } | |
| .sidebar nav li a { | |
| text-decoration: none; | |
| color: #ecf0f1; | |
| font-size: 18px; | |
| padding: 10px; | |
| display: block; | |
| transition: background-color 0.3s ease, color 0.3s ease; | |
| } | |
| .sidebar nav li a:hover, | |
| .sidebar nav li a.active { | |
| background-color: #3498db; | |
| border-radius: 5px; | |
| } | |
| .main { | |
| margin-left: 250px; | |
| padding: 40px; | |
| width: calc(100% - 250px); | |
| transition: margin-left 0.3s ease, width 0.3s ease; | |
| } | |
| .hamburger { | |
| display: none; | |
| position: fixed; | |
| top: 20px; | |
| left: 20px; | |
| cursor: pointer; | |
| z-index: 1001; | |
| } | |
| .hamburger i { | |
| font-size: 24px; | |
| color: #2c3e50; | |
| } | |
| .cros { | |
| display: none; | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| .main.active { | |
| margin-left: 250px; | |
| width: calc(100% - 250px); | |
| } | |
| .info { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 40px; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| .devinfo { | |
| max-width: 50%; | |
| } | |
| .Hello { | |
| font-size: 36px; | |
| color: #2c3e50; | |
| margin-bottom: 10px; | |
| } | |
| .Name { | |
| font-size: 48px; | |
| font-weight: 700; | |
| color: #2c3e50; | |
| margin-bottom: 10px; | |
| } | |
| .About { | |
| font-size: 32px; | |
| color: #e74c3c; | |
| margin-bottom: 20px; | |
| } | |
| .Aboutmore { | |
| font-size: 18px; | |
| line-height: 1.8; | |
| margin-bottom: 30px; | |
| } | |
| .buttons { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .btn { | |
| border-radius: 25px; | |
| padding: 12px 24px; | |
| color: #fff; | |
| background-color: #3498db; | |
| font-size: 16px; | |
| font-weight: 600; | |
| border: none; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| } | |
| .btn:hover { | |
| background-color: #fff; | |
| color: #3498db; | |
| border: 2px solid #3498db; | |
| } | |
| .btn-sm { | |
| padding: 8px 16px; | |
| font-size: 14px; | |
| } | |
| .devpic img { | |
| height: 50vh; | |
| max-width: 400px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | |
| object-fit: cover; | |
| } | |
| .intro { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .intro h2 { | |
| font-size: 28px; | |
| color: #2c3e50; | |
| margin-bottom: 20px; | |
| } | |
| .intro p { | |
| font-size: 16px; | |
| line-height: 1.6; | |
| margin-bottom: 30px; | |
| } | |
| .skillsdram { | |
| margin-top: 20px; | |
| } | |
| .skillsitem { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-bottom: 15px; | |
| font-size: 16px; | |
| } | |
| .skills { | |
| width: 200px; | |
| height: 10px; | |
| background-color: #ddd; | |
| border-radius: 5px; | |
| overflow: hidden; | |
| } | |
| .skills.t1 { width: 80%; background-color: #3498db; } | |
| .skills.t2 { width: 100%; background-color: #27ae60; } | |
| .skills.t3 { width: 35%; background-color: #e74c3c; } | |
| .skills.t5 { width: 30%; background-color: #f1c40f; } | |
| .skill-label { | |
| font-weight: 500; | |
| } | |
| .projects { | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| } | |
| .project-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 20px; | |
| margin-top: 20px; | |
| } | |
| .project-card { | |
| background-color: #fff; | |
| padding: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| transition: transform 0.3s ease; | |
| } | |
| .project-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| .project-card h3 { | |
| font-size: 20px; | |
| color: #2c3e50; | |
| margin-bottom: 10px; | |
| } | |
| .project-card p { | |
| font-size: 14px; | |
| line-height: 1.6; | |
| margin-bottom: 15px; | |
| } | |
| .contactform { | |
| max-width: 600px; | |
| margin: 0 auto; | |
| } | |
| .contactform h2 { | |
| font-size: 28px; | |
| color: #2c3e50; | |
| margin-bottom: 20px; | |
| } | |
| .form-control { | |
| width: 100%; | |
| padding: 10px; | |
| margin-bottom: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| font-size: 16px; | |
| } | |
| .form-label { | |
| font-size: 14px; | |
| font-weight: 500; | |
| color: #2c3e50; | |
| } | |
| .form-text { | |
| font-size: 12px; | |
| color: #666; | |
| } | |
| .form-check { | |
| margin-bottom: 20px; | |
| } | |
| .btn-primary { | |
| background-color: #3498db; | |
| border: none; | |
| padding: 12px 24px; | |
| font-size: 16px; | |
| border-radius: 25px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-primary:hover { | |
| background-color: #2980b9; | |
| } | |
| .blog { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .blog h2 { | |
| font-size: 28px; | |
| color: #2c3e50; | |
| margin-bottom: 20px; | |
| } | |
| .blogitem { | |
| background-color: #fff; | |
| padding: 20px; | |
| margin-bottom: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| } | |
| .blogitem h3 { | |
| font-size: 20px; | |
| color: #2c3e50; | |
| margin-bottom: 10px; | |
| } | |
| .blogitem p { | |
| font-size: 14px; | |
| line-height: 1.6; | |
| margin-bottom: 15px; | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-250px); | |
| } | |
| .main { | |
| margin-left: 0; | |
| width: 100%; | |
| } | |
| .hamburger { | |
| display: block; | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| .main.active { | |
| margin-left: 250px; | |
| width: calc(100% - 250px); | |
| } | |
| .cros.active { | |
| display: block; | |
| } | |
| .hum.active { | |
| display: none; | |
| } | |
| .info { | |
| flex-direction: column; | |
| text-align: center; | |
| padding: 20px; | |
| } | |
| .devinfo { | |
| max-width: 100%; | |
| margin-bottom: 20px; | |
| } | |
| .devpic img { | |
| height: 40vh; | |
| max-width: 300px; | |
| } | |
| } |