@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    background-color: #FFF;
    line-height: 1.5rem;
}

p {
    font-size: 21px;
    letter-spacing: -.03px;
    line-height: 1.58;
}

header{
    background-color: #3743ba;
    padding-left: 5%;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,.05) !important;
}

.header__logo{
    padding-top: 20px;
    padding-bottom: 20px;
    width: 250px;
}

main {
    padding-right: 10%;
    padding-left: 10%;
}

.blogmain{
    padding-top: 20px;
    padding-bottom: 100px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-direction: column-reverse;
}

.blogmain__logo {
    width: 150px;
}

.blogmain__socials {
    margin-top: 25px;
    display: flex;
    gap: 16px;
}

.blogmain__socials a {
    text-decoration: none;
}

.blogmain__title,
.articleheader__title{
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #002200;
    font-size: 35px;
    line-height: 1.1;
}

.articleheader{
    margin-top: 50px;
}

.articleheader__author,
.articleheader__publishdate{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #373737;
    font-size: 20px;
}

.articleheader__publishdate{
    margin-top: 10px;
}

.blogmain__description{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #373737;
    font-size: 20px;
    margin-top: 20px;
}

.articlelink{
    text-decoration: none;
    color: #373737;
}

.article{
    margin-bottom: 130px;
}

.article__title,
.wp-block-heading{
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #002200;
    font-size: 26px;
}

.article__meta{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #373737;
    font-size: 20px;
    margin-top: 20px;
}

.article__image,
.articleheader__image{
    width: 100%;
    margin-top: 20px;
}

.article__description,
.articleheader__description{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #373737;
    font-size: 21px;
    margin-top: 20px;
    text-align: justify;
    letter-spacing: -.03px;
    line-height: 1.58;
}

.articleheader__description{
    margin-top: 40px;
}

.articleheader__description > * {
    margin-top: 30px;
}

.articleheader__metas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.lastarticles__section {
    margin-top: 100px;
}

.lastarticles__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #002200;
    font-size: 26px;
}

.lastarticles__list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.lastarticles__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
}

.lastarticles__item__thumbnail {
    width: 100%;
}

.lastarticles__item__publishdate {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #373737;
    font-size: 14px;
}

.lastarticles__item__title {
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #002200;
    font-size: 22px;
}

.wp-block-heading{
    margin-top: 60px;
    margin-bottom: 20px;
}

em{
    font-style: italic;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    transform: translateY(100px);
    background-color: #aeb5fb;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    z-index: 1000;
    transition: .3s;
}

#back-to-top.visible {
    transform: translateY(0);
}
  
#back-to-top:hover {
    background-color: #3743ba;
    transition: .3s;
}
  

footer{
    background-color: #FFF;
    padding-right: 5%;
    padding-left: 5%;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.footer__sections {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    margin-right: 0%;
    gap: 50px;
}

.footer__section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__newsletter {
    max-width: 496px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__newsletter__title{
    color: #1B1B1B;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
}

.footer__newsletter__text {
    color: #1B1B1B;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
}

.footer__newsletter__form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__newsletter__input {
    width: 333px;
    height: 40px;
    padding: 0px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    border: 1px solid #1B1B1B;
}

.footer__newsletter_submit {
    padding: 10px 24px;
    border-radius: 8px;
    background: #1F2BA6;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
    cursor: pointer;
}

.footer__section__title {
    color: #1B1B1B;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

.footer__section__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__section__text{
    color: #1B1B1B;
    font-family: Helvetica;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
}

.footer__section__text a {
    color: #1B1B1B;
    text-decoration: none;
}

.footer__socials {
    margin-top: 30px;
    display: flex;
    gap: 16px;
}

.footer__copyright {
    margin-top: 60px;
    color: #767685;
    font-family: Helvetica;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
}

strong {
    font-weight: bold;
}

.wp-block-list {
    list-style-type: disc;
    margin-left: 30px;
}

.toast {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #4caf50;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 0.5s forwards, fadeOut 0.5s 3.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.toast.error {
    background-color: #f44336;
}

@media screen and (min-width: 768px){
    main{
        padding-left: 15%;
        padding-right: 15%;
    }
    .blogmain {
        padding-top: 100px;
        flex-direction: row;
    }
    .lastarticles__list {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .lastarticles__item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        margin-left: 0px;
        padding-right: 20px;
        cursor: pointer;
        transition: .5s;
        text-decoration: none;
        min-height: 133px;
    }
    .lastarticles__item:hover {
        margin-left: 20px;
        padding-right: 0px;
        transition: .5s;
    }
    .lastarticles__item__thumbnail {
        width: 200px;
    }
    .lastarticles__item__title {
        margin-top: 20px;
    }
}

@media screen and (min-width: 1144px){
    main{
        padding-left: 25%;
        padding-right: 25%;
    }
    .footer__sections {
        margin-right: 10%;
        flex-direction: row;
        justify-content: space-between;
    }
}