New Text Document
New Text Document
family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?
family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");
*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
outline: none;
border: none;
text-transform: capitalize;
transition: all 0.2s linear;
}
html {
font-size: 62.5%;
overflow-x: hidden;
scroll-behavior: smooth;
}
body {
background:black;
font-family: 'Poppins', 'Nunito', Arial, sans-serif;
}
*::selection {
background: #2b3dda;
color: #fff;
}
html {
font-size: 62.5%;
overflow-x: hidden;
}
html::-webkit-scrollbar {
width: 0.8rem;
}
html::-webkit-scrollbar-track {
background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
background: #420177;
}
/* navbar starts */
header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.7rem 10%;
height: 5.5rem;
background-color: rgb(42, 134, 88);
box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
/* Rotate animation */
@keyframes rotate-logo {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
section {
min-height: 100vh;
padding: 2rem 9%;
}
.heading {
font-size: 3.5rem;
color: rgb(32, 32, 32);
font-weight: 800;
text-align: center;
}
.heading span {
color: rgb(115, 3, 167);
}
header .logo {
font-size: 1.9rem;
font-weight: 800;
text-decoration: none;
color: white;
}
header .logo i {
font-size: 2.2rem;
}
header .logo:hover {
color: #fc8c05;
}
header .navbar ul {
list-style: none;
display: flex;
justify-content: center;
align-items: center;
}
header .navbar li {
margin-left: 2.5rem;
}
header .navbar ul li a {
font-size: 1.57rem;
color: #0e2431;
font-weight: 600;
text-decoration: none;
letter-spacing: 0.04rem;
transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
color: #011aff;
border-bottom: 0.2rem solid #011aff;
padding: 0.5rem 0;
}
/* navbar ends */
.home .image {
flex: 1 1 40rem;
z-index: 1;
position: relative;
display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
background: linear-gradient(135deg, rgba(42, 134, 88, 0.5), rgba(255, 153, 51,
0.5));
border-radius: 2rem;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease-in-out;
}
/* Hover Effects */
.home .image img:hover {
transform: scale(1.1) rotate(5deg);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
@keyframes gradient-animate {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.home .content h2 {
font-size: 5rem;
font-weight: 800;
color: #002057;
}
.home .content h2 span {
font-size: 5rem;
font-weight: 800;
color: #ff7b00;
}
.home .content p {
font-size: 2.5rem;
color: #1e3f52;
font-weight: 600;
padding: 1rem 0;
}
.home .content p span {
font-size: 2.5rem;
color: rgb(148, 8, 8);
font-weight: 600;
padding: 1rem 0;
}
.home .btn {
margin-top: 1rem;
position: absolute;
line-height: 0;
padding: 1.6rem 3rem;
border-radius: 4em;
transition: 0.5s;
color: #fff;
background: #2506ad;
box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
font-family: 'Poppins', 'Nunito', Arial, sans-serif;
}
.home .btn span {
font-weight: 700;
font-size: 1.7rem;
letter-spacing: 0.1rem;
}
.home .btn i {
margin-left: 0.3rem;
font-size: 1.5rem;
transition: 0.3s;
}
.home .btn:hover {
background: #1a047e;
}
.home .btn:hover i {
transform: translateX(5px);
}
/* social icons start */
.socials {
position: relative;
margin-top: 9rem;
}
.socials .social-icons {
padding-left: 0;
margin-bottom: 0;
list-style: none;
}
.socials .social-icons li {
display: inline-block;
margin-bottom: 14px;
}
.social-icons a {
font-size: 2rem;
display: inline-block;
line-height: 44px;
color: #00d9ff;
background-color: #09011b;
width: 44px;
height: 44px;
text-align: center;
margin-right: 8px;
border-radius: 100%;
-webkit-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
color: #fff;
background-color: #0685da;
}
.social-icons a.github:hover {
background-color: #0e0e0e;
}
.social-icons a.twitter:hover {
background-color: #00aced;
}
.social-icons a.linkedin:hover {
background-color: #007bb6;
}
.social-icons a.dev:hover {
background-color: #070707;
}
.social-icons a.instagram:hover {
background-color: #ee00da;
}
/* social icons end */
.blog-section {
padding: 50px 0;
background-color: #f9f9f9;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
.section-title {
text-align: center;
font-size: 36px;
margin-bottom: 20px;
color: #333;
}
.section-description {
text-align: center;
margin-bottom: 40px;
color: #555;
}
.blog-articles {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.blog-item {
width: 45%;
background-color: white;
margin-bottom: 20px;
padding: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.blog-img {
max-width: 100%;
height: auto;
margin-bottom: 15px;
}
.read-more {
display: inline-block;
margin-top: 10px;
color: #007bff;
text-decoration: none;
}
.tutorials, .videos {
margin-top: 40px;
}
.tutorial-item, .video-item {
margin-bottom: 20px;
}
.video-frame {
width: 100%;
height: 315px;
}
body {
font-family: 'Poppins', 'Nunito', Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
}
.coding-school-section {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header-title {
text-align: center;
color: #333;
margin-bottom: 40px;
}
.program-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
}
.program-card {
flex: 1 1 calc(33.333% - 20px);
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
transition: transform 0.3s;
}
.program-card:hover {
transform: translateY(-5px);
}
.code-title {
font-size: 18px;
color: #444;
margin-bottom: 10px;
}
.code-editor {
width: 100%;
height: 150px;
background-color: #2d2d2d;
color: #ffffff;
padding: 10px;
font-family: 'Courier New', monospace;
font-size: 14px;
border-radius: 5px;
border: none;
resize: none;
}
.run-button {
display: block;
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
text-align: center;
margin-top: 10px;
cursor: pointer;
}
.run-button:hover {
background-color: #45a049;
}
.output-display {
background-color: #f1f1f1;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
font-family: 'Courier New', monospace;
}