/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Render the `main` element consistently in IE. */ main { display: block; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out *    `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{font-family: "Poppins", sans-serif;-webkit-font-smoothing: antialiased;margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #2B2E59;
}

/* CSS Reset */
* {
  box-sizing: border-box;
}

h2,
form {
  margin: 0;
}

input,
button,
textarea {
  border: 0;
  background: transparent;
  color: inherit;
}

button:focus,
input:focus,
textarea:focus {
  outline: none;
}

a,
a:hover,
a:visited,
a:active {
  text-decoration: none;
}

a,
button {
  cursor: pointer;
}

hr {
  border: 0;
  border-bottom: 1px solid #d0ddf8;
  margin: 0 -20px;
}

/* Utilities */
.ml-auto {
  margin-left: auto;
}

.flex-grow {
  flex-grow: 1;
}

/* Nav */

.nav__inner {
  display: grid;
  grid-template-columns: 1fr 4fr auto;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  color: #fff;
  padding: 15px;
  z-index: 99;
  height: 90px;
}

.logo{
    display: flex;
    align-items: center;
}

.logo img {
  height: 24px;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
/* Header Search */
.header-search{
    display: flex;
    align-items: center;
    padding-left: 30px;
}
.search-box{
    display: flex;
    align-items: center;
}
.search-box-form{
    width: 300px;
    display: inline-block;
    margin-top: 10px;
    background: #3A3D6D;
    border-radius: 8px;
    margin-top: 0px!important;
    height: 48px;
    position: relative;
}
.search-box-text {
    font-weight: 500;
    font-size: 14px;
    padding-right: 10px;
}
.search-box-button{
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    color: rgb(255 255 255 / 80%);
    top: 0;
    right: 0;
    bottom: 0;
    font-size: 23px;
    line-height: 48px;
} 
.search-box-button svg{
    width: 1em;
    height: 1em;
    display: inline-block;
    position: relative;
    bottom: -0.105em;
    margin-inline-end: 6px;
    pointer-events: none;
    fill: currentColor;
} 
.search-box-input{
    background-color: transparent;
    border: 0;
    height: 48px;
    padding-inline-start: 10px;
    display: block;   
    width: 300px;
    max-width: 100%;
    border-radius: 40px;
    color: #EEE; 
    z-index: 2;
}
/* .nav__item {
  padding: 6px 10px;
} */

.nav__item a {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  letter-spacing: -0.2px;
}

.nav__item svg {
    float: left;
    width: 14px; 
    height: 14px;
    margin-right: 10px;
    fill: white;
}

.nav__item--white a {
  padding: 5px 20px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background-color 300ms;
}

.nav__item--white a:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.nav--desktop {
  display: none;
}

.nav__item--user {
    padding: 0;
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-weight: 500;
    background: #3A3D6D;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 425px) {
  .logo img {
    width: 225px;
    height: auto;
  }

  .nav__inner {
    padding: 15px 25px;
  }
}

@media (min-width: 991px) {
  .nav__item {
    padding: 0 16px;
  }

  .nav--mobile {
    display: none;
  }

  .nav--desktop {
    display: flex;
  }

  .nav__inner {
    padding: 15px 25px;
  }
}

@media (min-width: 1024px) {
  .nav__inner {
    padding: 0;    
    margin-inline-start: 24px !important;
    margin-inline-end: 24px !important;
  }
}

@media (max-width: 1080px) {
    .search-box-form{
        width: 225px;
    }
}
/* Mobile page */

.mobile-page {
  padding: 6%;
  color: #fff;
  overflow: hidden;
}

.mobile-page--white {
  background-image: none;
}

.mobile-page__image {
  background-image: url("/assets/images/computer.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100%;
  padding-bottom: 65%;
  position: relative;
}

.mobile-page__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.875rem;
  min-width: 70%;
}

/* Company info */

.company-info {
  background-image: conic-gradient(
    from 45deg at 47.54% 35.32%,
    #1e3ccc 0deg,
    #34e4ff 360deg
  );
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 30px;
}

.company-info__text {
  color: #fff;
  text-align: center;
}

.company-info__shape {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(24%, -24%);
}

.company-info__name {
  font-size: 1rem;
  font-weight: 500;
  margin: 22px 0;
}

.company-info__detail {
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* Layout */
.layout {
  display: none;
  min-height: calc(100% - 90px);
}

@media (min-width: 900px) {
  .mobile-layout { 
    display: none;
  }

  .layout {
    display: grid;
    grid-template-columns: 2fr 8fr;
  }
}
@media screen and (max-width: 1400px){
    .layout {
        grid-template-columns: 1fr 3fr;
    }
}
.layout__right {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-top-left-radius: 25px;
  background: #EBECF5;
}

.layout__right .url-section {
  flex-shrink: 0;
}

.layout__right .code-section {
  flex-grow: 1;
}

.layout__right .code-section .code-section__group {
  height: 50%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
}

.layout__right .code-section .code-section__group .code-heading {
  flex-shrink: 0;
}

.layout__right .code-section .code-section__group .code-editor {
  flex-grow: 1;
}

.layout__left {
  display: flex;
  flex-direction: column;
}

.layout__left .request-section {
  padding: 0 20px 16px;
}

.layout__left .response-section {
  padding: 0 20px;
  flex: 1;
  background: #333661;
}

/* Section Header */
.section-header {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.6rem;
  padding: 20px;
}

/* Form Group */
.form-group {
  padding: 10px 20px;
}

.form-group__label {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.125rem;
  display: block;
  margin-bottom: 5px;
}

.form-group__input {
  background: #484A76;
  border-radius: 8px;
  padding: 10px 20px;
  width: 100%;
  font-size: 14px;
  height: 45px;
  color: #fff;
}

.form-group__input::placeholder {
  color: #7e8ecd;
}

.form-group__input:disabled {
  background: #262951;
  border: 1px solid #484A76;
  border-radius: 8px;
  color: #8385A4;
}

.form-group__share {
    display: flex;
    align-items: center;
    background: #484A76;
    border-radius: 8px;
    height: 45px;
}

.form-group__share-input {
  flex-grow: 1;
  padding: 10px 0 10px 20px;
  font-size: 0.8rem;
  color: #7e8ecd;
  text-overflow: ellipsis;
  width: 100%;
}

.form-group__share-button {
  padding: 10px;
}
/* Page Title */
.title-section{
    margin-bottom: 15px;
}
.page-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.1px;
    color: #271E4A;
    margin: 0;
}
/* URL Section on top right/center */
.url-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: #262951;
  margin-bottom: 15px;
}

.url-label {
  font-weight: 500;
  font-size: 0.875rem;
  padding: 15px 25px 15px 0;
  width: 10%;
  min-width: 150px;
}

.url-input {
  border: 1px solid #D5D6E1;
  background-color: #ffffff;
  border-radius: 6px;
  color: #262951;
  font-size: 0.8rem;
  display: flex;
  margin: 5px;
  flex-grow: 1;
  max-width: 1200px;
  overflow: hidden;
  width: 50%;
  height: 45px;
}

.url-input__prefix {
    background: #E4E5F1;
    padding: 12.5px 20px;
}

.url-input__input {
  border-radius: 0 12px 12px 0;
  padding: 12.5px 20px;
  flex-grow: 1;
  text-overflow: ellipsis;
  width: 100%;
}

/* Buttons */

.outline-button {
    display: block;
    padding: 13px 30px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffffff;
    transition: background-color 300ms;
    background: #3A3D6D;
    border-radius: 8px;
}

.outline-button:hover {
  background-color: #cbd2f9;
}

.view-label-button {
  border: 1px solid #7A7EAD;
  border-radius: 8px;
  color: #fff;
  padding: 13px 30px;
  font-size: 0.875rem;
  font-weight: 500;
  transition-property: background-color, color;
  transition-duration: 300ms;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.view-label-button:hover {
  background-color: #fff;
  color: #262951;
}

/* SVG in button */
.view-label-button svg path {
  fill: #22DEFF;
}

.primary-button {
  display: block;
  transition: background-position 1s;
  background: #FFFFFF;
  border-radius: 8px;
  font-size: 0.875rem;
  border: 0;
  color: #262951;
  height: 45px;
  width: 100%;
}

.primary-button:hover {
  background-position: 100% 0;
}

/* Code heading */
.code-heading {
  display: flex;
  align-items: center;
  background-color: #393D68;
}

.code-heading__image {
    width: 100px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.code-heading__dot{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}
.code-heading__red{
    background: #FF4A4A;
}
.code-heading__yellow{
    background: #FFB83D;
}
.code-heading__green{
    background: #00C543;
}

.code-heading__title {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 0 22px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7A7EAD;
    border-bottom: 2px solid #22DEFF;
}

/* Code editor */
.code-editor {
font-family: "Poppins", sans-serif;
font-weight: 500;
font-size: 11px;
line-height: 3;
color: #fff;
background-color: #262951;
resize: none;
width: 100%;
padding: 15px 30px;
letter-spacing: 0.5px;
}

.code-editor::placeholder {
  color: #7e8ecd;
}

.info-box {
    display: inline-block; 
    background: #262951;
    border: 1px solid #484A76;
    color: #CCD0FF;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    margin: 0 5px;
    font-size: 11px;
}
