@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #2a2a2a;
}

.header-menu {
    display: flex;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 40px);
    background: #EDD8CA;
}

.header-menu .logo {
    width: 135px;
}

.header-menu img {
    max-width: 135px;
}

.header-menu .menu {
    border: 1px solid #95A5A6;
    padding: 0.5rem;
    display: flex;
    gap: 0.75rem;
}

.header-menu .menu a,
.blog {
    color: #2C3E50;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s;
}

.header-menu .menu a:hover {
    color: #95A5A6;
}

header {
    width: 100%;
    height: 650px;
    background: linear-gradient(0deg, rgba(109, 147, 135, 1) 0%, rgba(81, 99, 96, 1) 100%);
}

.center {
    max-width: 1200px;
    width: 80%;
    margin: auto;
    display: flex;
    align-items: end;
    height: 100%;
}

header section {
    width: 50%;
    max-width: 560px;
    padding: 1rem;
    padding-bottom: 17%;
    color: white;
    line-height: 1.5;
    font-weight: 300;
}

header section h1 {
    color: white;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

header img {
    width: 50%;
}

.raised-button {
    cursor: pointer;
    color: white;
    background: #CA424F;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    outline: none;
    border: none;
    font-size: 16px;
    box-shadow: 10px 10px 14px -12px rgb(0 0 0 / 66%);
    transition: all 0.3s;
}

.raised-button:hover {
    background: #b63a47;
}

.raised-button:active {
    box-shadow: 10px 12px 18px -16px rgb(0 0 0 / 80%);
}

/* Content  */

.content {
    position: relative;
    background: #CEDBD8;
    width: 100%;
    padding-top: 1rem;
}

.content h2 {
    font-size: 140px;
    font-weight: 100;
    color: #2A2A2A;
    margin: 0;
}

.content h2::after {
    content: '';
    display: block;
    width: 50%;
    left: 25%;
    border-top: 3px solid #CA424F;
}

#why {
    margin: 2rem auto;
    display: flex;
    align-items: flex-start;
    width: 80%;
    max-width: 1200px;
    gap: 8rem;
}

#what {
    width: 100%;
    background: url(images/lines.svg) no-repeat -279% 15%, #DDE6E4;
    background-size: 90%;
    padding: 5rem 0;
}

#what .what-wrapper {
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

#what h2 {
    display: inline-block;
}

#what .items {
    margin-top: 2rem;
    display: flex;
    gap: 4rem;
}

#what .item b {
    font-size: 2rem;
    font-weight: 500;
}

#portfolio {
    background: white;
    padding: 2rem 0;
}


#portfolio .item {
    margin: 1rem auto;
    background: #A2BBB5;
    padding: 1.5rem;
    border-radius: 12px;
    width: 80%;
    max-width: 1200px;
    box-shadow: 10px 12px 14px -11px rgb(0 0 0 / 44%);
    color: #FAFBFB;
}

#portfolio .item h3 {
    font-size: 36px;
    font-weight: 500;
    margin: 0;
    line-height: 2;
    margin-top: 20%;
}

#portfolio .item .group {
    display: flex;
    justify-content: space-between;
}

#portfolio .item .active {
    display: block;
}

#portfolio .item .left,
#portfolio .item .right {
    max-width: 535px;
    width: 40%;
}

#portfolio .item .right img {
    width: 100%;
}

#portfolio .about,
#portfolio .goal {
    display: none;
    line-height: 1.5;
}

#portfolio .item .buttons button {
    color: #CA424F;
    background: transparent;
    outline: none;
    border: 0;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}

#portfolio .item .buttons button:hover {
    color: #942833;
}


#who {
    margin: 2rem auto;
    display: flex;
    align-items: flex-start;
    width: 80%;
    max-width: 1200px;
    gap: 8rem;
    margin-bottom: 0;
}

#who .right h3 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 3;
    font-weight: 500;
}

#who .right article {
    line-height: 2;
    color: #4a4a4a;
}

#who .right a {
    color: #CA424F;
    text-decoration: none;
    font-size: 1.15rem;
    margin-right: 0.25rem;
}

.article {
    font-weight: 300;
    font-size: 18px;
    line-height: 2;
}


/* Blog List */

#blog-header {
    height: 200px;
}

.blog-content {
    padding-top: 0;
}

.center-header {
    max-width: 1200px;
    width: 80%;
    margin: auto;
    display: flex;
    height: 100%;
    flex-direction: column;
    padding-top: 2rem;
}

.center-header h1 {
    color: white;
    font-size: 36px;
    line-height: 1;
    font-weight: 500;
}

.buttons-group button {
    color: white;
    background: transparent;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    border: 1px solid #CA424F;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.buttons-group button:hover {
    background: #CA424F;
}

#blog {
    background: white;
    width: 100%;
    padding: 2rem 0;
}

#blog .item p {
    line-height: 1.5;
}

#blog .item {
    margin: 1rem auto;
    background: #A2BBB5;
    padding: 1.5rem;
    border-radius: 12px;
    width: 80%;
    max-width: 1200px;
    box-shadow: 10px 12px 14px -11px rgb(0 0 0 / 44%);
    color: #FAFBFB;
    display: flex;
}

#blog h3 {
    font-weight: 500;
    font-size: 24px;
    margin: 0;
    margin-bottom: 2rem;
    color: black;
    cursor: pointer;
}

#blog .item .left,
#blog .item .right {
    width: 50%;
}

#blog .item .right {
    text-align: right;
}

#blog .item .right img {
    max-width: 250px;
}

/* Article Detail */
#article-title {
    text-align: center;
}

#description {
    color: white;
    line-height: 2;
    text-align: center;
}

#article-header {
    height: auto;
}

#article-content {
    background: white;
    width: 100%;
}

#article-centered {
    width: 80%;
    max-width: 960px;
    margin: 2rem auto;
    padding-bottom: 2rem;
    line-height: 1.5;
}

code {
    background-color: #eee;
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 0 3px;
}

.whole-code {
    display: inline-block;
    padding: 1rem;
}

#disqus_thread {
    width: 80%;
    max-width: 960px;
    margin: auto;
}

@media only screen and (max-width: 1250px) {
    header .center {
        flex-direction: column;
        align-items: center;
    }

    header {
        height: auto;
        min-height: auto;
    }

    header section {
        margin: auto;
        width: 80%;
        padding: 4rem 0;
        text-align: center;
    }

    #why {
        flex-direction: column;
    }

    #what .items {
        flex-wrap: wrap;
        justify-content: center;
    }

    #who {
        flex-direction: column;
    }

    .content h2 {
        font-size: 100px;
    }
}

@media only screen and (max-width: 900px) {
    #blog .item {
        flex-direction: column;
    }

    #blog .item .left,
    #blog .item .right {
        width: 90%;
        text-align: center;
        margin: auto;
    }

    #blog .item .right {
        text-align: center;
    }
}

@media only screen and (max-width: 450px) {
    .header-menu .logo, .header-menu img {
        width: 100px;
    }

    .header-menu .menu {
        padding: 0.2rem;
    }
}