/*

Breakpoint

375px
768px
991px
1440px

*/

* {
    box-sizing: border-box;
}
body {
    background: #181F2B;
    color: white;
    font-family: 'Raleway', sans-serif;
}


/* Footer */
.footer {
    font-family: Open Sans;
    padding: 15px 20px 53px 35px;
    background: #0B1524;
}
.footer-navigation>* {
    margin-bottom: 35px;
}
.footer-navigation {
    display: grid;
    gap: 10px;
    margin-top: 257px;

    @media only screen and (min-width: 1440px) {
        grid-template-columns: 5fr repeat(3, 1fr);
    }
}
.footer-item {
    display: flex;
    flex-shrink: 2;
    margin-bottom: 16px;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}
.footer-item p {
    margin: 0;
}
.footer-item .fm {
    flex-shrink: 0;
    padding-right: 16px;
}
.footer-logo {
    @media only screen and (min-width: 1440px) {
        grid-column: auto / span 4;
    }
}
.footer-contact-description {
    @media only screen and (min-width: 1440px) {
        display: flex;
    }
}
.footer--contact-gps {
    @media only screen and (min-width: 1440px) {
        margin-right: 80px;
    }
}
.footer--contact-gps p {
    text-align: left;
}
.footer-direct-contact {
    margin-right: 146px;
}
.footer-navigation--menu-item {
    text-decoration: none;
    color: white;
}
.footer-navigation--menu-item:hover {
    font-weight: 700;
}
.footer-social-network {
    text-align: center;
}
.footer-social-network a {
    text-decoration: none;
}
.footer-item .fm {
    width: 24px;
    height: 24px;
}

/* Header */
.header {
    padding: 24px 20px 0;
    background: #1B2330;
}
.header-navigation {
    display: flex;
    justify-content: space-between;
}
.header-navigation--menu-list {
    margin: 0;
}
.header-navigation--menu-item {
    list-style: none;
    display: inline;

    font-style: normal;
    font-weight: 400;
    font-size: 12px;

    padding-left: 25px;
}
.header-navigation--menu-item a:not(:hover) {
    text-decoration: none;
    color: white;
}
.header-navigation--menu-item a:hover {
    color: white;
    font-weight: 500;
}

/* Landing */
.landing-main:not(:last-child) {
    padding-bottom: 0;
}

.landing-main.intro {
    margin-bottom: 120px;
    @media only screen and (min-width: 768px){
        margin-bottom: 158px;
    }
}
.landing-main.feature {
    margin-bottom: 160px;
    @media only screen and (min-width: 768px) {
        margin-bottom: 138px;
    }
}
.landing-main.stay-productive {
    margin-bottom: 170px;
    @media only screen and (min-width: 768px) {
        margin-bottom: 179px;
    }
}
.landing-main.comments {
    margin-bottom: 160px;
    @media only screen and (min-width: 768px) {
        margin-bottom: 201px;
    }
}
@media only screen and (min-width: 768px) {
    .landing-main:not(:last-child) {
        margin-bottom: 120px;
    }
}

/* Introduction section */
.intro {
    padding: 53px 36px;
    background: #1B2330;
    position: relative;
    display: flex;
    justify-content: center;
}
.intro-dashboard {
    max-width: 720px;
}
.intro-image {
    margin-bottom: 33px;
    position: relative;
}
.intro-image img {
    width: 100%;
    height: 100%;
}
.intro-detail { 
    position: relative;
    margin-bottom: 32px;
}
.intro-detail--title {
    text-align: center;
    @media (min-width: 1440px) {
        font-size: 40px;
        line-height: 60px;
        margin-bottom: 32px;
    }
}
.intro-detail--content {
    padding: 0 4px;
    max-width: 589px;
    margin-left: auto;
    margin-right: auto;    
}
.intro-detail--content p {
    @media (min-width: 1440px) {
        font-size: 20px;
        line-height: 30px;
    }
}
.intro-action {
    display: flex;
    justify-content: center;
}
.intro-action button {
    width: 100%;
    max-width: 240px;
    @media (min-width: 1440px) {
        font-size: 1rem;
        max-width: 280px;
    }
}

/* Feature section */
.feature {
    display: grid;
    gap: 80px;
    justify-content: center;
    padding: 0 27px ;
    max-width: 500px;
    margin: 0 auto;

    @media only screen and (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
        max-width: 880px;
    }

    @media only screen and (min-width: 1440px) {
        gap: 147px;
    }
}
.feature-item--image,
.feature-item--title,
.feature-item--content{
    display: flex;
    justify-content: center;
}
.feature-item--image {
    margin-bottom: 24px;
}
.feature-item--title {
    margin-bottom: 8px;
}
.feature-item--title h2 {
    text-align: center;
}

/* Stay-productive section */
.stay-productive {
    display: grid;
    gap: 10px;
    max-width: 589px;
    padding: 0 28px;
    margin: 0 auto;

    @media (min-width: 768px) {
        margin: 0 auto;
        max-width: 758px;
        grid-template-columns: 1.2fr 1fr;
        gap: 57px;
    }
    @media (min-width: 991px) {
        max-width: 1130px;
    }
    @media (min-width: 1440px) {
        max-width: 1230px;
    }
}
.stay-productive--image {
    margin-bottom: 48px;
}
.stay-productive--image img {
    width: 100%;
    height: 100%
}
.stay-productive--content {
    display: flex;
    flex-direction: column;
    align-self: center;
}
.stay-productive--content > * {
    text-align: left;
    margin-bottom: 1rem;
}
.stay-productive--link { 
    display: flex;
    align-items: center;

    color: #62E0D9;
    width: fit-content;
    padding-bottom: 7px;
    border-bottom: 1px solid #62E0D9;
}
.stay-productive--link:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}
.stay-productive--link:hover .fm{
    fill: #fff!important;
}
.stay-productive--link .fm {
    margin-left: 7px;
    background-size: 12px;
    width: 12px;
    height: 12px;
}

/* Comments section */
.comments {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 48px;
    max-width: 1160px;

    @media only screen and (min-width: 768px) {
        flex-direction: row;
        margin: 0 auto;
        padding: 0 48px;
    }
}
.comments::before{
    content: '';
    background-image: url("../images/bg-quotes.png");
    background-size: 100%;
    background-repeat: no-repeat;
    margin-left: 5px;
    height: 20px;
    width: 24px;
}
.comments-container {
    background-color: #202A3C;
    padding: 24px 20px 21px;
    margin-bottom: 24px;
    z-index: 2;

    @media only screen and (min-width: 768px) {
        margin-right: 16px;
        padding: 40px 25px 26px 26px;
    }

    @media only screen and (min-width: 991px) {
        margin-right: 40px;
    }
}
.comments-content p {   
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 17px;
    
    @media only screen and (min-width: 768px) {
        font-size: 0.875rem!important;
        line-height: 21px;
        letter-spacing: 0.5px;
    }
}
.comments-author {
    display: flex;
    align-items: center;
}
.comments-author--detail {
    margin-left: 8px;
}
.comments-author--profile {
    height: 24px;
    width: 24px;
    border-radius: 50%;
}
.comments-author--position {
    font-size: 7px;
    font-weight: 400;
    line-height: 10px;
    letter-spacing: 0.5px;
}
.comments-content p,
.comments-author--name{
    font-size: 0.625rem;
    text-align: left;
}
@media only screen and (min-width: 768px) {
    .comments::before {
        position: absolute;
        left: 39px;
        top: -15px;
    }
}

/* Subscription Section */
.subscription {
    border-radius: 9px;
    background: #1B2330;
    box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.25);
    margin: 0 20px;
    padding: 40px 28px 13px;
    
    @media (min-width: 768px) {
        margin: 0 auto;
        max-width: 668px;
    }

    @media (min-width: 991px) {
        max-width: 863px;
    }
} 
.subscription-title {
    margin-bottom: 16px;
    text-align: center;
}
.subscription-content {
    margin-bottom: 32px;
}
.subscription-signup {
    padding: 0;
    @media (min-width: 991px) {
        padding: 0 49px;
    }
}
.subscription-signup--form {
    @media (min-width: 768px) {
        display: flex;
    }
}
.subscription-signup--form > * {
    width: 100%;
    margin-bottom: 24px;
}
.subscription-signup--form .input-email {
    flex-shrink: 0.46;
    margin-right: 16px;
}
.button-signup {
    @media (min-width: 768px) {
        margin-left: 13px;
    }
}