/* general classes */
html, body {
    margin: 0;
    padding: 0;
}
* {
    font-family: 'Source Sans Pro', sans-serif;
}
.container {
    width: 1440px;
    margin: 0 auto;
}
.title {
    font-size: 36px;
    color: #2f455c;
    font-family: 'Roboto Slab', serif;
    text-align: center;
    padding: 0 0 30px 0;
    position: relative;
    width: auto;
    padding: 0;
    margin: 0;
}
.title span {
    position: relative;
    padding: 0;
    margin: 0;
}
.title span::after {
    content: '';
    height: 10px;
    width: 120px;
    position: absolute;
    background-color: #fab439;
    bottom: -5px;
    left: 50%;
    margin-left: -60px;
}

.text {
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    color: #2f455c;
}
.link {
    text-decoration: none;
    color: #fab439;
}
.stitle {
    font-size: 24px;
    color: #fab439;
    font-weight: 800;
    text-align: center;
}
/* header styling */
.header {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.header-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 132px);
}
.bottom-left {
    height: 100vh;
    width: 50%;
    margin-top: -132px;
    background-image: url("../img/img-2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bottom-right {
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -132px;
    background-color: #f4f4f4;;
}
.bottom-right .ban-img img {
    width: 500px;
    padding-left: 70px;
}
.bottom-right .ban-text {
    padding-left: 200px;
    position: relative;
}
.bottom-right .ban-text h1 {
    font-size: 52px;
    padding: 0;
    margin-bottom: 0;
    color: #2f455c;
}
.bottom-right .ban-text h3 {
    font-size: 24px;
    padding: 0;
    margin: 0;
    color: #2f455c;
    font-weight: 300;
}
.bottom-right .ban-text p {
    font-size: 18px;
    padding: 0;
    margin: 0;
    color: #2f455c;
    font-weight: 300;
    margin-bottom: 40px;
}
.bottom-right .ban-text a {
    text-decoration: none;
    color: #fab439;
    font-weight: 900;
    font-size: 24px;
    position: relative;
}

/* main content styling */
.main-content .goal {
    padding: 60px 0 100px 0;
}
.main-content .services {
    padding: 60px 0 100px 0;
    background-color: #f4f4f4;
}
.main-content .services .serv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.main-content .need {
    width: 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.main-content .need img {
    width: 120px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.technologies {
    padding: 60px 0;
}
.technology {
    display: flex;
    flex-direction: row;
}
.technology .tech-left,
.technology .tech-right {
    width: 50%;
}
.technology .spec-item {
    padding: 5px 0;
    color: #2f455c;
    font-size: 24px;
    font-weight: 300;
}
.tech-1 .tech-left {
    background-image: url('../img/raspberry_pi_4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.tech-1 {
    padding-top: 50px;
}
.tech-1 .tech-right .title {
    padding-left: 50px;
}
.tech-1 .tech-right .specs {
    padding-left: 70px;
}
.tech-1 .tech-right .title {
    text-align: left;
}
.tech-1 .tech-left .title {
    text-align: left;
}
.tech-2 .tech-left .title {
    text-align: left;
    padding-left: 50px;
}
.tech-2 .tech-left .specs {
    padding-left: 70px;
}

.tech-2 .tech-right {
    background-image: url('../img/enviro-plus.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.sensors {
    padding: 60px 0 80px 0;
    background-color: #f4f4f4;
}
.sensors .container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.sensor {
    width: 33.33%;
    padding-top: 40px;
}
.sensor img {
    width: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* responsive design */
@media only screen and (min-width: 1200px) and (max-width: 1499px) {
    .container {
        width: 1140px;
    }
    .bottom-right .ban-img img {
        width: 400px;
        padding-left: 40px;
    }
    .bottom-right .ban-text {
        padding-left: 140px;
    }
    .bottom-right .ban-text h1 {
        font-size: 48px;
    }
    .main-content .need img {
        width: 80px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .title {
        font-size: 28px;
    }
    .stitle {
        font-size: 20px;
    }
    .text {
        font-size: 18px;
    }
    .technology .spec-item {
        font-size: 18px;
    }
    .sensor img {
        width: 120px;
    }
  }

  @media only screen and (min-width: 993px) and (max-width: 1199px) {
    .container {
        width: 940px;
    }
    .main-content .need img {
        width: 60px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .bottom-right .ban-img img {
        width: 350px;
        padding-left: 20px;
    }
    .bottom-right .ban-text {
        padding-left: 110px;
    }
    .bottom-right .ban-text h1 {
        font-size: 40px;
    }
    .bottom-right .ban-text h3 {
        font-size: 22px;
    }
    .bottom-right .ban-text a {
        font-size: 22px;
    }
    .title {
        font-size: 26px;
    }
    .stitle {
        font-size: 20px;
    }
    .text {
        font-size: 18px;
    }
    .technology .spec-item {
        font-size: 18px;
    }
    .sensor img {
        width: 100px;
    }
  }

  @media only screen and (min-width: 768px) and (max-width: 992px) {
    .container {
        width: 720px;
    }
    .header-left .pt-logo {
        margin-top: 0;
    }
    .header-bottom {
        flex-direction: column;
        height: calc(100vh - 156px);
    }
    .bottom-left,
    .bottom-right {
        width: 100%;
    }
    .bottom-left {
        display: none;
        margin-top: 0;
    }
    .bottom-right {
        margin-top: 0;
        padding: 20px 0;
    }
    .main-content .need img {
        width: 60px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .bottom-right .ban-img img {
        width: 250px;
        padding-left: 40px;
    }
    .bottom-right .ban-text {
        padding-left: 110px;
    }
    .bottom-right .ban-text h1 {
        font-size: 32px;
    }
    .bottom-right .ban-text h3 {
        font-size: 18px;
    }
    .bottom-right .ban-text a {
        font-size: 18px;
    }
    .title {
        font-size: 20px;
    }
    .stitle {
        font-size: 18px;
    }
    .text {
        font-size: 18px;
    }
    .tech-1 {
        flex-direction: column;
    }
    .tech-2 {
        flex-direction: column-reverse;
        padding-top: 40px;
    }
    .technology .tech-left,
    .technology .tech-right {
        width: 100%;
    }
    .tech-1 .tech-left {
        height: 400px;
    }
    .tech-2 .tech-right {
        height: 400px;
    }
    .technology .spec-item {
        font-size: 18px;
    }
    .sensor img {
        width: 100px;
    }
  }
  @media only screen and (min-width: 576px) and (max-width: 767px) {
    .container {
        width: 540px;
    }
    .header-left .pt-logo {
        margin-top: 0;
    }
    .header-bottom {
        flex-direction: column;
        height: calc(100vh - 156px);
    }
    .bottom-left,
    .bottom-right {
        width: 100%;
    }
    .bottom-left {
        display: none;
        margin-top: 0;
    }
    .bottom-right {
        margin-top: 0;
        padding: 20px 0;
    }
    .main-content .services .serv {
        flex-direction: unset;
        flex-wrap: wrap;
        margin-top: 80px;
    }
    .main-content .need {
        width: 50%;
        padding: 0;
    }
    .main-content .need img {
        width: 60px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .sensor {
        width: 50%;
    }
    .bottom-right .ban-img img {
        width: 250px;
        padding-left: 40px;
    }
    .bottom-right .ban-text {
        padding-left: 110px;
    }
    .bottom-right .ban-text h1 {
        font-size: 32px;
    }
    .bottom-right .ban-text h3 {
        font-size: 18px;
    }
    .bottom-right .ban-text a {
        font-size: 18px;
    }
    .title {
        font-size: 20px;
    }
    .stitle {
        font-size: 18px;
    }
    .text {
        font-size: 18px;
    }
    .tech-1 {
        flex-direction: column;
    }
    .tech-2 {
        flex-direction: column-reverse;
        padding-top: 40px;
    }
    .technology .tech-left,
    .technology .tech-right {
        width: 100%;
    }
    .tech-1 .tech-left {
        height: 400px;
    }
    .tech-2 .tech-right {
        height: 400px;
    }
    .technology .spec-item {
        font-size: 18px;
    }
    .sensor img {
        width: 100px;
    }
  }

  @media only screen and (min-width: 300px) and (max-width: 575px) {
    .container {
        width: 100%;
    }
    .header-left .pt-logo {
        margin-top: 0;
    }
    .header-bottom {
        flex-direction: column;
        height: calc(100vh - 156px);
    }
    .bottom-left,
    .bottom-right {
        width: 100%;
    }
    .bottom-left {
        display: none;
        margin-top: 0;
    }
    .bottom-right {
        margin-top: 0;
        padding: 20px 0;
    }
    .main-content .services .serv {
        flex-direction: unset;
        flex-wrap: wrap;
        margin-top: 80px;
    }
    .main-content .need {
        width: 100%;
        padding-top: 20px;
    }
    .main-content .need img {
        width: 60px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .sensor {
        width: 100%;
    }
    .bottom-right .ban-img img {
        width: 200px;
        padding-left: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .bottom-right .ban-text {
        padding-left: 0;
        text-align: center;
    }
    .bottom-right .ban-text h1 {
        font-size: 32px;
    }
    .bottom-right .ban-text h3 {
        font-size: 18px;
    }
    .bottom-right .ban-text a {
        font-size: 18px;
    }
    .title {
        font-size: 18px;
    }
    .stitle {
        font-size: 18px;
        padding: 0 15px;
    }
    .text {
        font-size: 18px;
        padding: 0 15px;
    }
    .tech-1 {
        flex-direction: column;
    }
    .tech-2 {
        flex-direction: column-reverse;
        padding-top: 40px;
    }
    .technology .tech-left,
    .technology .tech-right {
        width: 100%;
    }
    .tech-1 .tech-left {
        height: 400px;
    }
    .tech-2 .tech-right {
        height: 400px;
    }
    .technology .spec-item {
        font-size: 18px;
    }
    .sensor img {
        width: 100px;
    }
    .tech-1 .tech-right .title {
        padding: 15px;
    }
    .tech-1 .tech-right .specs {
        padding-left: 35px;
        padding-right: 15px;
    }
    .tech-2 .tech-left .title {
        padding-left: 15px;
    }
    .tech-2 .tech-left .specs {
        padding-left: 35px;
        padding-right: 15px;
    }
  }
  @media only screen and (max-width: 299px) {
    html, body {
        display: none;
    }
  }