.main{
    height: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10rem;
}

.main__intro{
    margin: 0 15rem;
    display: flex;
    width: calc(100% - 30rem);
}

.main__div{
    width: 50%;
    display: flex;
    justify-content: end;
}

.main__img{
    width: auto;
    max-height: 40vh;
    object-fit: contain;
}

.main__div1{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem;
    padding: 0 15% 0 0;
}

.main__title{
    font-size: 3rem;
    font-weight: 400;
    white-space: nowrap;
}

.main__text{
    font-size: 1.5rem;
    font-family: ronnia-condensed, sans-serif;
    font-weight: 300;
}

.main__button{
    width: 15rem;
    height: 4rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    font-family: ronnia-condensed, sans-serif;
    font-weight: 300;
    padding: 1rem;
    
}

.main__button:hover{
    cursor: pointer;
    background: linear-gradient(90deg, rgba(120,162,45,1) 25%, rgba(30,120,61,1) 100%);
}

.main__divider{
    font-size: 3rem;
    border-top: solid 1px #78A22D;
    border-bottom: solid 1px #78A22D;
    padding: 2rem;
    text-align: center;
    text-transform: uppercase;
    width: 95%;
}

.main__projects{
    margin: 0 15rem;
    width: calc(100% - 30rem);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10rem;
}

.projects__card{
    width: 55rem;
    height: 60rem;
    background: #78A22D;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    padding: 3rem;
}

.title__div{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.card__title{
    font-size: 2rem;
    font-family: ronnia-condensed, sans-serif;
}

.card__tags{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
}

.tags__div{
    border: 1px solid black;
    border-radius: 1rem;
    min-width: 3rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    padding: 0 0.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
    
}

.tags__tag{
    list-style: none;
}

.php{
    background: #4F5B93;
}

.css{
    background: #156aa6;
}

.js{
    background: #f7df1e;
}

.sql{
    background: #F29111;
}

.python{
    background: #4B8BBE;
}

.wordpress{
    background: #444140;
}

.card__div{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card__img{
    width: 100%;
    max-height: 45rem;
    object-fit: cover;
}

.card__text{
    width: 75%;
    font-size: 1.25rem;
    font-family: ronnia-condensed, sans-serif;
}

.card__link{
    text-decoration: none;
}

.project__button{
    width: 15rem;
    height: 4rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    font-family: ronnia-condensed, sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.project__button:hover{
    cursor: pointer;
}

.projects__div{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projects__text{
    font-size: 2rem;
    font-family: ronnia-condensed, sans-serif;
}

.projects__link{
    text-decoration: none;
}

.projects__button{
    width: 15rem;
    height: 4rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    font-family: ronnia-condensed, sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.projects__button:hover{
    cursor: pointer;
    background: linear-gradient(90deg, rgba(120,162,45,1) 25%, rgba(30,120,61,1) 100%);
}

.filter__button{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: solid white 1px;
    color: white;
    background: transparent;
}

.filter__button:hover{
    cursor: pointer;
}

.main__about{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    gap: 2rem;
}

.about__title{
    font-size: 3rem;
    font-weight: 400;
}

.about__text{
    font-size: 1.5rem;
    font-family: ronnia-condensed, sans-serif;
    font-weight: 300;
}

.contact__link{
    text-decoration: none;
}

.about__button{
    width: 15rem;
    height: 4rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    font-family: ronnia-condensed, sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.about__button:hover{
    cursor: pointer;
    background: linear-gradient(90deg, rgba(120,162,45,1) 25%, rgba(30,120,61,1) 100%);
}

@media screen and (max-width: 1512px) {
    .main__projects{
        align-items: center;
    }
    
    .projects{
        justify-content: center;
    }

    .projects__div{
        width: 55rem;
    }
}

@media screen and (max-width: 1050px) {
    .main__intro{
        margin: 0 5rem;
        width: calc(100% - 10rem);
    }
}

@media screen and (max-width: 900px) {
    .main__intro{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4rem;
        margin: 0;
        width: 90%;
    }

    .main__img{
        height: auto;
        width: 100%;
        max-height: none;
    }

    .main__div{
        width: 100%;
    }

    .main__div1{
        padding: 0;
    }
}

@media screen and (max-width: 750px) {
    .projects__div{
        width: auto;
    }

    .main__projects{
        width: 90%;
        margin: 0;
        align-items: normal;
    }

    .main__about{
        width: 90%;
    }
}

@media screen and (max-width: 600px) {
    .projects__card{
        height: 45rem;
    }

    .title__div{
        flex-direction: column;
    }

    .card__text{
        width: auto;
    }
}