@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#0f172a;
color:white;
}

/* container */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* navbar */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 0;
}

.logo{
font-size:28px;
font-weight:600;
color:#fff;
}

.logo span{
color:#ff2e63;
}

nav ul{
display:flex;
list-style:none;
gap:25px;
}

nav ul li a{
text-decoration:none;
color:#ddd;
font-weight:500;
transition:.3s;
}

nav ul li a:hover{
color:#ff2e63;
}

/* hero section */

.content{
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
min-height:80vh;
gap:40px;
}

/* text */

.text h5{
color:#bbb;
font-size:18px;
}

.text h2{
font-size:50px;
line-height:1.2;
margin:10px 0 20px;
}

.text span{
color:#ff2e63;
}

/* buttons */

.text a{
display:inline-block;
padding:12px 28px;
border-radius:30px;
text-decoration:none;
font-weight:500;
margin-right:10px;
transition:.3s;
}

.Science{
background:#ff2e63;
color:white;
}

.Science:hover{
background:#e11d48;
}

.math{
background:#06b6d4;
color:black;
}

.math:hover{
background:#0891b2;
color:white;
}

/* image */

.img{
display:flex;
justify-content:center;
}

.img img{
width:350px;
border-radius:50%;
object-fit:cover;
box-shadow:0 15px 40px rgba(0,0,0,.4);
}

/* responsive */

@media (max-width:900px){

.content{
grid-template-columns:1fr;
text-align:center;
}

.img{
order:-1;
}

.img img{
width:260px;
margin-bottom:20px;
}

nav ul{
gap:15px;
font-size:14px;
}

}

@media (max-width:600px){

.text h2{
font-size:34px;
}

nav{
flex-direction:column;
gap:15px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

}
