*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body{
    font-family: 'Prompt',sans-serif;
    background-color: azure;
    color: rgb(5, 121, 129);
}

h1,h2,h3{
    margin-top: 1rem;
    font-weight: 700px;
}

a{
    text-decoration: none;
    color: rgb(11, 153, 189);
}

ul{
    list-style: none;
}

.main-header{
    background-color: rgb(187, 208, 226);
    padding: 1rem;
    /* max-width: 1100px; */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

.logo{
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links{
    display: flex;
    gap: 2rem;
}

.nav-links a:hover{
    color: rgb(0, 0, 0);
}

.nav-links a{
    transition: color 0.3s ease;
}

.hero-section{
    height: 90vh;
    display: flex;
    justify-content: center;
    background-color: gainsboro;
    align-items: center;
    text-align: center;
}

.hero-content h1{
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn{
    background-color: rgb(0, 0, 0);
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover{
    background-color: lightsteelblue;
}

.about-section, .contact-section{
    padding: 4rem 2rem;
    text-align: center;
    background-color: rgb(255, 255, 255);
}

.mb2{
    margin-bottom: 0.5rem;
}

.projects-content{
    padding: 4rem 2rem;
    background-color: rgb(214, 212, 212);
    text-align: center;
}

.projects-tal{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.projects-card{
    background-color: aliceblue;
    border: 1px solid lightslategray;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgb(0, 0, 0,0.5);
    transition: transform 0.3s ease;
}


.projects-card:hover{
    transform: translateY(-5px);
}

.projects-card img{
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    display: block;
}

.projects-lo img{
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 0 0;
    display: block;
}

.projects-card h3{
    margin: 2% 0 0.5rem;
    font-size: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.projects-card p{
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.btn-small{
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgb(218, 218, 218);
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.btn-small:hover{
    background-color: rgb(168, 168, 168);
}

.main-footer{
    background-color: rgb(172, 172, 172);
    color: rgb(8, 87, 136);
    text-align: center;
    padding: 1.5rem 0;
}
.btn-p{
    background-color: rgb(202, 202, 202);
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-p:hover{
    background-color: rgb(0, 0, 0);
}
