/* Global */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;

  min-width: 320px;
  margin: 0;
  padding: 0;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  line-height: 25px;
  
  color: #1f2937;
  background-color: #f9faf8;
}

main {
  flex-grow: 1;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
}

/* Basic */

.list-default {
    list-style: none;
    margin: 0;
    padding: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(100%);
}

.btn {
    display: inline-block;
    padding: 10px 40px;
    min-width: 140px;

    font: inherit;
    font-family: 'Cuprum', Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    text-transform: unset;
    text-align: center;
    vertical-align: middle;

    border: none;
    border-radius: 7px;
}

/* Main layout */

.lending-block {
    width: 100%;
    padding: 3% 12%;
    max-width: 1440px;
}

.lending-content {
    display: flex;
    flex-direction: column;
}

/* Navbar */

.header {
    padding-top: 0;
}

.navbar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.navbar-item {
    align-items: center;
}

.mainmenu {
    display: flex;
    flex-direction: row;
}

.mainmenu-item {
    height: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mainmenu-item-link {
    align-self: center;
    margin: auto auto;
    border-bottom: 2px solid transparent;
}

.mainmenu-item-link:hover {
    border-bottom: 2px solid #e5e7eb;
}

.logo {
    width: 100px;
}

/* Main cover */

.maincover {
    padding-top: 50px;
    padding-bottom: 30px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
}

.maincover-sidebar {
    flex: 1;

    align-content: center;
}

.cover-tiiles {
    padding-top: 15px;
    padding-bottom: 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cover-tiiles-item {
    margin-bottom: 10px;
}

.cover-img {
    width: 100%;
    height: 100%;

    background-size: cover;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-image: url("../img/cover.jpg");
    background-position: center center;

    border-radius: 5px;
}

/* Main content */

.main-content {
    display: flex;
    flex-direction: column;
}

.main-content-title {
    margin-bottom: 45px;
    text-align: center;
}

.jobs-list {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
}

.jobs-item{
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.jobs-item-img {
    width: 165px;
    height: 165px;
    border: 2px solid #3882f6;
    border-radius: 10px;

    background-size: cover;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-position: center center;
}

.jobs-item-img--1 {
    background-image: url("../img/ss.jpg");
}

.jobs-item-img--2 {
    background-image: url("../img/iam.jpg");
}

.jobs-item-img--3 {
    background-image: url("../img/git2.jpg");
}

.jobs-item-img--4 {
    background-image: url("../img/builder.jpg");
}

.jobs-item-text {
    max-width: 165px;
    font-size: 13px;
    text-align: center;
}

/* Quotes */

.quotes-content {
    font-size: 36px;
    line-height: 45px;
    margin: 50px 0;
}

.quote-text {
    margin-bottom: 15px;
    font-style: italic;
}

.quote-sign {
    font-weight: bold;
    text-align: right;
}

/* Call to action */

.cta {
    background-color: #f9faf8;
}

.cta-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;

    color: #f9faf8;
    background-color: #3882f6;
    border-radius: 7px;
    padding: 40px 70px;
}

.cta-sidebar-text {
    flex-grow: 2;
}

.cta-sidebar-button {
    flex-grow: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.cta-sidebar-text {
    font-size: 14px;
    color: #e5e7eb;
}

.cta-sidebar-title {
    margin-bottom: 10px;
}

.cta-sidebar-btn {
    min-width: 210px;
    align-self: center;

    border: 3px solid #e5e7eb
}

/* Footer */

.footer {
    padding-bottom: 25px;
    padding-top: 25px;
    color: #e5e7eb;
    background-color: #1f2937; 
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 12px;
}

/*************************/
/* Colors and typography */
/*************************/

.header {
    color: #e5e7eb;
    background-color: #1f2937; 
}

.cover-img {
    background-color: #e5e7eb;
}

h2 {
    font-size: 36px;
    line-height: 51px;
}

h3 {
    font-size: 24px;
    line-height: 34px;
}

.btn {
    color: #f9faf8;
    background-color: #3882f6;
}

.title-description {
    color: #e5e7eb;
}

.main {
    color: #1f2937;
    background-color: #f9faf8;
}

.quotes {
    color: #1f2937;
    background-color: #e5e7eb;
}
