@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
@import url('https://fonts.googleapis.com/css?family=Montserrat');
    
    :root {
      --FntLogoText: 'Montserrat';
      --FntTitleBold: 'Montserrat';
      --FntTitle: 'Montserrat';
      --FntText: 'Source Sans Pro';      
      --primary-gradient-start: rgb(248, 248, 248);
      --primary-gradient-end: rgb(248, 248, 248);
      --base-text-color: rgb(52, 52, 52);
      --inverse-text-color: rgb(52, 52, 52);
      --primary-background-color: rgb(0, 122, 188);
      --card-background-color: rgb(255, 255, 255);
      --card-action-text-color: rgb(248, 249, 250);
      --footer-text-color: rgb(0, 0, 0);
      --shadow-color: rgba(0, 0, 0, 0.1);
      --pw-font: 'Source Sans Pro';
      --pw-warning-font: 'Source Sans Pro';
      --pw-title-text-color:#000000;
      --pw-description-text-color:#000000;
      --pw-submit-button-text-color:#FFFFFF;
      --pw-wrong-pass-msg-text-color:#D93025;
      --pw-bg-color:#232F3E;
      --pw-bg2-color:#4B576F;
      --pw-submit-button-bg-color:#232F3E;
      --pw-border-color:#232F3E;
      --pw-card-bg-color:#FFFFFF;
    }

.text {
    font-family: var(--FntText);
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
}

.h1 {
    font-family: var(--FntTitleBold);
    font-weight: 600;
    font-size: 48px;
    line-height: 52px;
}

.h2 {
    font-family: var(--FntTitle);
    font-weight: 600;
    font-size: 32px;
    line-height: 36px;
}

.h3 {
    font-family: var(--FntLogoText);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.button {
    font-family: var(--FntTitle);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cpr {
    font-family: var(--FntText);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

a {
    font-family: var(--FntText);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}

body {
    margin: 0px;
}

.container {
    width: 100%;
    background: linear-gradient(90deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);    
    min-height: 100vh;
    min-width: 546px;
}

.footer {
    width: 100%;
    height: 124px;
    background-color: var(--primary-background-color);
    padding-top: 32px;
    color: var(--footer-text-color);
}

.layout {
    position: relative;
    height: 100%;
    margin: auto;
    padding-left: 156px;
    padding-right: 156px;
}

.header {
    text-align: center;
    margin-bottom: 64px;
    height: 68px;
}

.logo-img {
    margin-top: 48px; 
    max-height: 46px;
}

.uppercase {
    text-transform: uppercase;
}

.light {
    color: var(--inverse-text-color);
}

.dark {
    color: var(--base-text-color);
}

.row {
    display: flex;
}

.title {
    display: flex;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.title .h1 {
    margin-left: 24px;
}

.main-description {
    padding-left: 46px;
    margin-bottom: 76px;
}

.cards {
    display: flex;
    color: var(--base-text-color);
    margin-bottom: 76px;
    flex-wrap: wrap;
    gap: 12px;
}

.card {
    margin: 0;    
    background-color: var(--card-background-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-color);
    padding: 48px;
    position: relative;
    width: 100%;
}

.card-title,
.card-text,
.card-action,
.link-button {
    font-family: var(--FntText);
}

.card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
}

.card-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    margin-top: 24px;
}

.card-action {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 18px 24px 16px 24px;
    
        
    bottom: 50px;
    color: var(--card-action-text-color);
    background-color: var(--primary-background-color);
    border-radius: 40px;
    text-decoration: none;

    margin-top: 24px;
    width: fit-content;
}

.more-info {
    margin-top: 58px;
    width: 100%;
    text-align: center;
    padding-bottom: 58px;
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.link-button:first-child {
    margin-left: 0px;
}

.link-button {
    display: block;
    width: fit-content;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 18px 24px 16px 24px;
    border: 1px solid var(--inverse-text-color);
    color: var(--inverse-text-color);
    border-radius: 40px;
    text-decoration: none;
    margin-left: 100px;
}

.link-button:nth-child(odd) {
    color: var(--base-text-color);
    background-color: var(--card-background-color);
}

.light-button {
    color: var(--base-text-color);
    background-color: var(--card-background-color);
}

.footer {
    height: 30px;
    padding-top: 16px;     
    font-size: 12px;
    line-height: 14px;
    color: var(--footer-text-color);
    text-align: center;
    background-color: var(--card-background-color);
    
    position: sticky;
    z-index: 2;
    top: 100%;
}

@media (min-width: 1740px) {
  .card {
    width: 600px;
    height: 385px;
  }

  .card-narrow {
    width: 350px;
  }  
  
  .layout {    
    max-width: 1440px;
    min-width: 1100px;    
  }

  .card-action {
    position: absolute;   
  }
}
