*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:'Poppins', sans-serif;
    color: #f0f0f0;
}
a{
    text-decoration: none;
}
#navbar{
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: #be3144;
    display: flex;
    justify-content: right;
    z-index: 1;
}
#navbar ul{
    list-style: none;
    display: flex;
    width: fit-content;
}
#navbar a{
    display: flex;
    justify-content: center;
    align-items: center;
}
#navbar a:hover{
    background-color: #45567d;
}
#navbar li{
    font-size: 20px;
    margin: 0 25px;
}
#welcome-section{
    height: 100vh;
    background: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
}
#text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
}
#welcome-section h1{
    font-size: 50px;
}
#welcome-section p{
    font-size: 25px;
    margin-top: 1rem;
    color: #be3144;
    font-style: italic;
    font-weight: 200;
}
#projects{
    background-color: #45567d;
    font-family: "raleway", sans-serif;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}
#projects h2{
    font-size: 42px;
    font-weight: 200;
    padding: 4rem 1rem 1rem;
    grid-column:1/-1;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
    border-bottom:#f0f0f0 2px solid;
}
.project{
    background-color: #303148;
    position: relative;
}
.project img{
    width:100%;
    height: 80%;
    object-fit: cover;
}
.project p{
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 20px;
    font-weight: 200;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    top: -2%;
}
.project p::after, .project p::before{
    color: #be3144;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s;
}
.project p::before{
    content: "<";
    margin-right: 5px;
}
.project p::after{
    content: "/>";
    margin-left: 5px;
}
.project:hover p::before, .project:hover p::after{
    opacity: 1;
}
#button{
    grid-column: 1/-1;
    margin: 2rem auto 4rem;
    width: 150px;
    background-color: #303148;
    padding: 1rem;
    font-size: 20px;
    font-weight: 200;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
}
#button:hover{
    background-color: #be3144;
}
#button:hover i{
    transform: translateX(2px);
}
#contact{
    background-color: #303148;
    font-family: "raleway", sans-serif;
    text-align: center;
    height: 80vh;
}
#contact h1{
    font-size: 4rem;
    padding-top: 12rem;
}
#contact p{
    font-size: 1rem;
    font-style: italic;
    padding-top: 0.5rem;
}
#links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 4rem;
}
#links a{
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s;
}
#links a:hover{
    transform: translateY(5px);
}
footer{
    background-color: #303148;
    border-top: #be3144 3px solid;
    padding: 2.1rem;
    font-size: 1rem;
    text-align: right;
}
@media (max-width:460px){
    #navbar{
        justify-content: center;
    }
}
@media (max-width:1090px){
    #projects{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width:730px){
    #projects{
        grid-template-columns: 1fr;
    }
}
