*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.background-main{
    background-color: #1a1a2d;
    overflow-x: hidden;
}
.navbar{
    background: #292c35;
    opacity: 95%;
    padding: 20px 0;
    position: sticky;
    top: 0;
    
}
.link-container{
    display: flex;
    justify-content: center;
}
.links button{
   margin-right: 20px;
}

.links a{
    color: #e6e6e6;
    font-size: 1.2rem;
    text-decoration: none;
}
.links button {
    background: inherit;
    border: none;
}
.links a:hover{
    color: rgb(221, 36, 36);
}
.links a:active{
    color: rgb(221, 36, 36);

}
.section {
    padding: 100px 0 0;
}

.section .subheading {
    position: relative;
    width: 100%;
}
.section .subheading .header-container {
    margin: 0 auto;
    max-width: 1500px;
    text-align: center;
    width: 100%;
}
.section .subheading .section-header {
    background: #1a1a2d;
    display: inline;
    font-size: 2.7rem;
    font-weight: 400;
    margin: 60px;
    padding: 0 10px;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    color:#f3f3f3;
}
.section .subheading .line {
    border: 1px solid #d24141;
    opacity: 50%;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: -1;
}
hr {
    display: block;
    unicode-bidi: isolate;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
}
.about-section{
    display: flex;
   max-width: 90%;
   justify-content: space-between;
    margin-top: 1rem;
    
}
.about-me{
    max-width: 400px;
    color: #f3f3f3;
    padding: 20px;
    font-size: 1.5rem;
    margin-top: 50px;
    margin-left: 3rem;
    font-weight: 700;
    word-spacing: 5px;

}
.icons{
    max-width: 500px;
}
.row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.row i{
    font-size: 5rem;
}
.lines{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 20px;
    color: #f3f3f3;
    font-weight: 500;
}
.lines span{
    margin-top: 10px;
}
.projects-container{
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
   margin-top: 2rem;
}
.inside-project button {
    background: rgb(199, 38, 38);
    border-radius: 10px;
    padding: 10px;
    border: none;
}
.inside-project button:hover{
    background: rgb(211, 77, 77);

}
.inside-project a{
    text-decoration: none;
    color: #e6e6e6;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
}
.inside-project{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.inside-project img{
   width: 90%;
    border-radius: 20px;
    margin-left: 10px;

}
.projects-container h2{
    font-weight: 500;
}
.about-section p{
    font-weight: 300;
}
.footer {
    background: #292c35;
    font-size: 1.2rem;
    padding: 40px 0 20px;
    position: relative;
    text-align: center;
    width: 100%;
    color: #e6e6e6;
    margin-top: 40px;
}

.contact-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 30px 40px;
}
.contact-icons .contact-icon {
    text-align: center;
    width: 35px;
    
}
a{
    text-decoration: none;
}
.contact-icon{
    font-size: 3rem;
}
.contact-icon p{
    font-size: 1.5rem;
    letter-spacing: 4px;

}
.links a{
    transition:ease-in 1s;
}

@media (max-width: 1200px){
.about-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
}
@media(max-width:1000px){
    .projects-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
img{
    width: 50%;
}
}
@media(max-width:415px){
    .row i{
        font-size: 3rem;
    }
    .icons{
        width: 100%;
    }
    .row {
        display: flex;
        flex-direction: row;
        gap: 0px;
        justify-content: center;
        align-items: center;
    }
    .navbar{
        display: none;
    }

}