@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap");
/* MAIN ELEMENTS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
*:focus {
    outline: none;
}

html {
    height: 100%;
}

body {
    padding: 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #8a8888;
}

footer {
  display: none;
}
@media (max-width: 575px) {
    body {
        display: block;
        position: fixed;
        padding: 0px 0px;
        min-height: 100%;
        height: 100%;
        width: 100%;
        top: 0;
        overflow-y: auto;
    }
    body #connect {
        /* flex-grow: 1; */
        /* min-height: 100%; */
        margin-top: 0px;
    }
    body #connect header {
        width: 100%;
        background: rgba(255, 255, 255, 1);
    }
    body #connect header #conferenceDetails #displayName {
        font-size: 26px;
        line-height: 34px;
    }
    body #connect main {
      flex-grow: 0;
    }
    body #connect footer {
        padding-bottom: 60px;
    }
    body #connect,
    body #debug {
        background: rgba(255, 255, 255, 1);
        border-radius: 0px;
    }
    body #debug {        
        -webkit-transition: max-height 0.25s; 
        -moz-transition: max-height 0.25s; 
        -ms-transition: max-height 0.25s; 
        -o-transition: max-height 0.25s; 
        transition: max-height 0.25s;
        background: #FFFFFF;
        max-height: 42px;
        height: 42px;
        margin: 0px auto 0px;
        padding-bottom: 20px;
    }
    body #debug header {
      justify-content: center;
    }
    body #debug header button {
        color: rgba(24, 27, 25, 1);
        background: #FFFFFF;
        border-radius: 0px;
    }
    body #debug.show {
        -webkit-transition: max-height 0.25s; 
        -moz-transition: max-height 0.25s; 
        -ms-transition: max-height 0.25s; 
        -o-transition: max-height 0.25s; 
        transition: max-height 0.25s;
        max-height: 350px;
        height: 300px;
        background: #FFFFFF;
        padding-left: 30px;
        padding-right: 30px;
        /* backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px); */
    }
    body #debug.show #info {
        padding: 20px 0px;
        margin-top: auto;
        margin-bottom: 30px;
    }
    body #debug.show #info p {
        border-radius: 0px;
        padding: 8px 10px;
    }

    footer {        
      font-family: "Oxygen",Arial,"Segoe UI";
      display: block;
      height: auto;
      border-top: 1px solid rgba(20,8,33,.16);
      padding-left: 30px;
      padding-right: 30px;      
      background: #FFFFFF; 
    }

    footer #footerContent {
      display: flex;
      flex-wrap: wrap;
      align-content: space-between;     
    }

    footer #footerContent img {
      width: 150px;
      filter: grayscale(1);
      margin-top: 20px;
    }
    
    footer #footerContent span {
      line-height: 24px;
      font-size: 14px;
      font-weight: 400;
      letter-spacing: .03em;
      color: #140821;
      width: 100%;
      margin-top: 20px;
    }

    footer #footerContent div {
        margin-top: 20px;
    }

    footer #footerContent div a {
        color: #140821;
        font-size: 14px;
        font-weight: 700;
        line-height: 24px;
        letter-spacing: .03em;
        text-decoration: none;
    }

    footer #footerContent div a:hover {
        border-bottom: 2px solid #140821;
    }

    footer #footerContent div a:nth-child(1) {
        margin-right: 30px;
    }

    footer #footerContent p {
        margin-top: 20px;
        margin-bottom: 30px;
        font-size: 10px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: 0.02em;
        text-align: left;
    }
}
@media (max-width: 450px) {
    body #connect header {
        flex-direction: column;
    }
    body #connect header #logoContainer {
        margin-right: 0px;
        margin-bottom: 20px;
    }
    body #connect main {
        padding: 20px 40px;
    }
}

h1 {
    color: rgba(33, 6, 35, 0.87);
    font-family: "Oxygen", Arial, "Segoe UI";
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    padding-bottom: 12px;
}

p {
    text-align: center;
    font-family: "Oxygen", Arial, "Segoe UI";
    font-weight: 400;
    font-size: 14px;
}

button {
    font-family: "Oxygen", Arial, "Segoe UI";
    font-size: 18px;
    font-weight: 700;
    padding: 9px 24px;
    border: none;
    border-radius: 8px;
    background: #FAFAFA;
    box-shadow: none;
    color: rgba(20, 8, 33, 1);
    outline: none;
    text-decoration: none;
    cursor: pointer;
}
button:hover {
    background: rgba(204, 202, 204, 0.7);
}
button:focus {
    border: none;
}
button:active {
    
}

#connect {
    width: 100%;
    max-width: 900px;
    margin: 0px auto;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12),
        0px 2px 4px rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}
#connect header {
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
    padding: 40px 40px 20px 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}
#connect header #logoContainer {
    width: 96px;
    min-width: 96px;
    height: 96px;
    background: #465a64;
    border-radius: 8px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #fefcff;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.3),
        0px 0px 40px rgba(0, 0, 0, 0.05);
}
#connect header #logoContainer img,
#connect header #logoContainer svg {
    max-width: 100%;
    max-height: 100%;
    border-radius: inherit;
}
#connect header #conferenceDetails {
    display: flex;
    flex-basis: 100%;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
}
#connect header #conferenceDetails #displayName {
    padding: 0px;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: rgba(20, 8, 33, 1);
    text-align: center;
    margin-bottom: 24px;
}
#connect header #conferenceDetails #confId {
    padding: 0px;
    font-family: "Oxygen", Arial, "Segoe UI";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(20, 8, 33, 1);
}
#connect main {
    padding: 20px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 1);
}
#connect main > p {
    font-size: 16px;
    transition: 0.2s ease-in-out;
}
#connect main > p.grow {
    font-size: 20px;
}
#connect main #mainPrompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
#connect main #mainPrompt * {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-align: center;
}
#connect main #mainPrompt #openApp {
    display: block;
    color: rgba(20, 8, 33, 1);
    background: #FAFAFA;
    padding: 24px 56px;
    border-radius: 0px ;
    border: 2px solid rgba(20, 8, 33, 0.4);
    /* box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2), 0px 3px 8px rgba(0, 0, 0, 0.4); */
    box-shadow: none;
    margin: 20px auto 0px;
}
#connect main #mainPrompt #openApp:hover {
    background: rgba(204, 202, 204, 0.7);
}
#connect main #actionConfirmation {
    font-size: 18px;
    padding: 60px 0px 10px;
    color: #646464;
}
#connect main #backupPrompt {
    display: none;
    flex-direction: column;
    align-items: center;
}
#connect main #backupPrompt p {
    margin: 50px auto 0px;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: rgba(0, 0, 0, 1);
  }
  #connect main #backupPrompt p:last-of-type {
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(0, 0, 0, 1);
}
#connect main #appPrompt {
    display: none;
    flex-direction: column;
    align-items: center;
}
#connect main #appPrompt p {
    margin: 50px auto 0px;
    font-size: 16px;
}
#connect main #appPrompt #appLink {
    border: none;
    margin-top: 10px;
    display: block;
}
#connect main #appPrompt #appLink #badge {
    width: 130px;
}
#connect #loadingAnimation {
    width: 100%;
    max-width: 300px;
    height: 80px;
    display: none;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}
#connect #loadingAnimation div {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: absolute;
    left: -20px;
}
#connect #loadingAnimation.start {
    display: flex;
}
#connect #loadingAnimation.start #candlelight {
    background: #f1a738;
    animation: expand 2.4s linear infinite;
    animation-delay: 0s;
}
#connect #loadingAnimation.start #sky {
    background: #56ccf2;
    animation: expand 2.4s linear infinite;
    animation-delay: 0.6s;
}
#connect #loadingAnimation.start #lime {
    background: #67d890;
    animation: expand 2.4s linear infinite;
    animation-delay: 1.2s;
}
#connect #loadingAnimation.start #bubble {
    background: #e0528a;
    animation: expand 2.4s linear infinite;
    animation-delay: 1.8s;
}
#connect footer {
    padding: 40px;
    text-align: center;
}
#connect a {
    font-family: "Oxygen", Arial, "Segoe UI";
    font-weight: 600;
    text-decoration: none;
    color: rgba(23, 130, 131, 1);
}
#connect a:hover {
    border-bottom: 2px solid #0f94c0;
}
#connect.desktop header {
    align-self: center;
}
#connect.desktop main {
    justify-content: space-between;
    padding-bottom: 60px;
}
#connect.desktop main #backupPrompt {
    display: flex;
}
#connect.mobile header {
    align-self: center;
}
#connect.mobile main {
    justify-content: space-between;
    padding-bottom: 60px;
}
#connect.mobile main #appPrompt {
    display: flex;
}

#debug {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    width: 100%;
    max-width: 900px;
    margin: 15px auto 0px;
    transition: 0.2s ease-in-out;
}
#debug.show {
    /* box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12),
        0px 2px 4px rgba(0, 0, 0, 0.14); */
    box-shadow: none;
    background: #FFFFFF;
}
#debug.show header {
    padding: 20px;
    justify-content: space-between;
}
#debug.show header h1 {
    display: block;
}
#debug.show button {
    color: rgba(0, 0, 0, 1);
}
#debug.show #info {
    display: flex;
    padding: 20px;
}
#debug header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#debug header h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.01em;
    text-align: left;

    display: none;
    color: rgba(24, 27, 25, 1);
    padding: 0px;
    margin: 0px;
}
#debug header button {
    margin-left: 0px;
    margin-right: 0px;
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0px;
    font-size: 14px;
    color: rgba(24, 27, 25, 1);
    font-family: Oxygen;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-align: center;
}

#debug header button:active {
    background: rgba(255, 255, 255, 0.6);
}
#debug #info {
    display: none;
    flex-wrap: wrap;
}
#debug #info p {
    font-size: 12px;
    font-weight: 400;
    width: 100%;
    display: flex;
    text-align: right;
    padding: 6px;
    color: rgba(24, 27, 25, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.28);
}
#debug #info p:nth-child(1) {
    /* background: rgba(255, 255, 255, 0.1); */
    /* border-radius: 8px; */
    border-top: 1px solid rgba(0, 0, 0, 0.28);
}
#debug #info p b {
    font-size: 14px;
    min-width: 100px;
    text-align: left;
    flex-grow: 1;
}

@keyframes expand {
    0% {
        width: 10px;
        height: 10px;
        left: -10px;
    }
    25% {
        width: 70px;
        height: 70px;
    }
    100% {
        width: 10px;
        height: 10px;
        left: 100%;
    }
}
