
a {
    text-decoration: none;
}
#display__mode {
    background: #0064c2;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
}

#display__mode .logo__back a {
    color: white;
    font-weight: 700;
    transition: all 0.3s linear;
}
#display__mode .logo__back a:hover {
    color: #ffadad;
}
#display__mode .change__mode {
    display: flex;
    justify-content: end;
    gap: 5px;
}
#display__mode .change__mode button {
    background: transparent;
    border: none;
    color: #8a94a4;
}
#display__mode .change__mode button.active {
    color: white;
}
#display__mode .option__template {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#display__mode .option__template a:first-child{
    color: white;
    text-transform: capitalize;
    font-weight: 600;
}
#display__mode .option__template a:last-child {
    background: white;
    color: #0064c2;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: bold;
}
.display{
    height: 100vh;
}
.display iframe {
    margin-top: 64px;
}
.display.tablet-mode {
    width: 992px;
}
@media screen and (min-width:780px) {
    .display.tablet-mode {
        border: 1px solid #fff;
        box-shadow: 0 14px 24px #2d394b1a;
        margin: auto;
    }
}
.display.mobile-mode {
    width: 567px;
}
@media screen and (min-width:456px) {
    .display.mobile-mode{
        border: 1px solid #fff;
        box-shadow: 0 14px 24px #2d394b1a;
        margin:  auto;
    }
}

/*fix*/
  body {
        min-height: calc(100vh + 100px);
      }
    body:has(.display) {
        height: 100vh;
        align-content: center;
    }
    .display {
        transition: all .4s;
    }
    .display.desktop-mode {
        height: 100%;
        margin-top: 64px;
    }

    .display.desktop-mode .device__button {
      display: none;
    }

    .display iframe {
        margin-top: 0 !important;
    }

    .display.tablet-mode {
        width: 880px;
        height: calc(100vh + 30px);
    }
    .display.mobile-mode {
        width: 576px;
        height: 900px;
    }
    .display.mobile-mode iframe {
        height: 100%;
    }
    .display.tablet-mode, 
    .display.mobile-mode {
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
        border: 18px solid #111 !important;
        border-radius: 40px;
        transform: scale(0.8);
        overflow: hidden;
        margin: auto
    }

    .display .oclock {
        padding-left: 15px;
        color: #fff;
    }
    .header-devices {
        padding-right: 15px;
    }

    .header-devices svg path,
    .header-devices svg rect {
        fill: #fff
    }


    .device__button {
        position: relative;
        width: 100%;
        height: 45px;
        background-color: #282828;
        border: 1px solid #282828;
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .device__button::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100px;
        height: 24px;
        border-radius: 24px;
        background-color: #111;
    }