* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --dark-blue-background-color: #377173;
    --box-background-dark-blue: #418183;
    --highlight-font-color: #82EBEE;
    --orange-cta-color: #FF9000;
    --darkest-color: #163132;
}

html {
    scroll-behavior: smooth;
    font-size: 1.1rem;
}  

body {
    background-color: var(--dark-blue-background-color);
    width: 100vw;
    overflow-x: hidden;
}

h1 {
    font-size: 2.25rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.2rem;
}

h1 {
    text-align: center;
}

h1 span, h3 span {
    color: var(--highlight-font-color);
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    padding: 2rem 4rem;
    background-color: var(--darkest-color);
}

.container {
    padding: 2rem 4rem;
}

.container h3 {
    margin-bottom: 2rem;
}

ul {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 3rem;
    padding-bottom: 6rem;
}

ul span {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.prim-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.5rem;
    color: white;
    background: var(--orange-cta-color);
    border-radius: 1rem;
    transition: all .2s ease-out;
    cursor: pointer;
    text-decoration: none;
    font-weight: bolder;
}

.prim-btn:hover {
    background-color: #df7f01;
}

.transparent-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    color: white;
    background: transparent;
    border-radius: 1rem;
    transition: all .2s ease-out;
    cursor: pointer;
    font-weight: bolder;
}

.transparent-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.hero .btn-container {
    margin-top: 1rem;
}

header {
    position: relative;
    height: max-content;
}

nav {
    width: 100vw;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5vw;
    transition: all .4s ease-out;
    margin: 1rem 0 0 0;
}

nav.scrolled {
    margin: 1rem 10vw 0 10vw;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 2rem;
    background-color: var(--darkest-color);
    position: fixed;
    z-index: 1000;
    width: 80vw;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.nav-links a:not(.prim-btn) {
    text-decoration: none;
    padding: .5rem;
    border-radius: .5rem;
    transition: background-color .2s ease-out;
}

.nav-links a:not(.prim-btn):hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links select {
    background-color: rgba(255, 255, 255, 0.2);
    padding: .25rem;
    outline: none;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    transition: background-color .2s ease-out;
}

.nav-links select:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.logo-container {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    align-items: center;
    cursor: pointer;
}

.logo-container div {
    display: flex;
    flex-direction: column;
    font-weight: bolder;
}

.logo-container div span:nth-child(2) {
    color: #ADF7F9;
}

.three-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.box {
    background-color: var(--box-background-dark-blue);
    border-radius: 1rem;
    padding: 2rem;
}

.box p {
    line-height: 1.5rem;
}

.three-grid .box, .benefit-grid .box, .app-action-sample {
    transition: outline .2s linear;
}

.three-grid .box:hover, .benefit-grid .box:hover, .app-action-sample:hover {
    /* outline: 3px solid #5B8D8F; */
    outline: 3px solid rgba(255, 255, 255, 0.2);
}

.benefit-grid .box svg {
    transition: all .2s ease-out;
}

.benefit-grid .box:hover svg {
    fill: #82EBEE;
}

.three-grid > div > div {
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.three-grid > div:nth-child(2) > div > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.three-grid > div > h6 {
    margin-top: 2rem;
}

.three-grid > div > p {
    margin-top: 1rem;
    line-height: 1.5rem;
}

.three-grid > div:nth-child(2) > div label {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.three-grid > div:nth-child(2) > div input {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    outline: none;
    padding: .25rem .5rem;
    border-radius: 1rem;
}

.three-grid > div:nth-child(2) > div input::placeholder {
    color: white;
}

.app-button {
    background-color: #56A0A3;
    color: white;
    padding: .5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
}

.three-grid > div:nth-child(3) > div > div {
    display: grid;
    height: 100%;
    width: 100%;
    gap: 1rem;
}

.grid-example-box {
    border-radius: 1rem;
    border: 2px solid white;
    background-color: transparent;
    height: 3rem;
}

.grid-example-box:nth-child(1) {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 3;
}

.grid-example-box:nth-child(2) {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 6;
}

.grid-example-box:nth-child(3) {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 4;
}

.grid-example-box:nth-child(4) {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 4;
    grid-column-end: 6;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.benefit-grid .box {
    display: grid;
    grid-template-columns: 1fr 12fr;
    gap: 1rem;
    align-items: center;
}

.benefit-grid .box svg {
    transform: scale(0.6);
}

#nav-trial-cta {
    display: none;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease-out;
}

#logo-apps-container {
    height: 40vh;
    position: relative;
    margin-top: 2rem;
}

.logo-holder {
    position: absolute;
    width: 2.5vw;
    
    animation: spin 5s linear infinite;
}

.logo-holder img {
    width: 100%;
    border-radius: 50%;
    animation: spin-reverse 5s linear infinite;
    background-color: white;
}

.reversed-cirle {
    animation: spin-reverse 5s linear infinite;
}

.reversed-cirle img {
    animation: spin 5s linear infinite;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(80px);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(80px);
  }
}

@keyframes spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg) translateX(80px);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg) translateX(80px);
  }
}

.app-action-sample-container {
    position: absolute;
    min-width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: center;
}

.app-action-sample {
    background-color: var(--box-background-dark-blue);
    color: white;
    border-radius: 1rem;
    border-radius: 1rem;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    gap: .5rem;
    align-items: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.plans-grid .box {
    padding: 0;
}

.plan-header {
    padding: 1.5rem 2rem;
    background-color: #56A0A3;
    border-radius: 1rem 1rem 0 0;
}

.plan-header span {
    font-size: 1.4rem;
    font-weight: bolder;
}

.plan-header p {
    font-size: .9rem;
}

.plan-body {
    padding: 2rem;
}

.plan-body .prim-btn {
    width: fit-content;
}

.price-display {
    font-size: 2.4rem;
    font-weight: bolder;
}

.price-display span {
    font-size: 1rem;
    font-weight: lighter;
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.plans-grid .box:nth-child(2) {
    position: relative;
    outline: 3px solid #5B8D8F;
}

.plans-grid .box:nth-child(2)::before {
    content: "Most popular 🚀";
    padding: .25rem .5rem;
    background-color: #5B8D8F;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    border-radius: .25rem;
}

.plans-grid + p {
    margin-top: 2rem;
}

.usage-sample-description {
    line-height: 1.5rem;
    width: 50vw;
    margin-bottom: 2rem;
}


@media only screen and (min-width: 1800px) {

    .container, footer, nav {

        padding-right: 10rem;
        padding-left: 10rem;

    }

}

ul a {
    text-decoration: none;
}

ul a:hover {
    text-decoration: underline;
}