/* Gli apparecchi degli esempi di «Cosa faccio»: la cornice, lo schermo e l'ombra; quello che c'è dentro lo
   disegnano gli stili di ogni esempio. */
/* Il tablet (la cucina della pizzeria) */
.tablet {
  width: 570px;
  height: 392px;
  border-radius: 30px;
  padding: 13px;
  background: linear-gradient(160deg, var(--tablet-alto), var(--tablet-basso));
  box-shadow:
    0 0 0 1.5px var(--tablet-bordo),
    0 0 0 2.5px var(--bianco-60),
    0 34px 60px -26px var(--apparecchio-ombra);
}
.tb-schermo {
  height: 100%;
  border-radius: 18px;
  background: var(--screen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* I telefoni (l'idraulico e il salone) */
.tel {
  position: relative;
  width: 226px;
  height: 458px;
  border-radius: 42px;
  padding: 8px;
}
.tel-grafite {
  background: linear-gradient(160deg, var(--grafite-alto), var(--graphite-bottom));
  box-shadow:
    inset 0 0 0 1px var(--bianco-18),
    0 0 0 1.5px var(--grafite-bordo),
    0 34px 60px -26px var(--apparecchio-ombra);
}
.tel-champagne {
  background: linear-gradient(160deg, var(--champagne-alto), var(--champagne-basso));
  box-shadow:
    inset 0 0 0 1px var(--bianco-70),
    0 0 0 1px var(--champagne-bordo),
    0 34px 60px -26px var(--apparecchio-ombra-chiara);
}
.tel-schermo {
  position: relative;
  height: 100%;
  border-radius: 34px;
  background: var(--screen);
  overflow: hidden;
  padding: 40px 12px 0;
  box-shadow: 0 0 0 2px var(--nero-schermo);
}
.tel-schermo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 9px;
  width: 64px;
  height: 19px;
  margin-left: -32px;
  border-radius: 10px;
  background: var(--nero-schermo);
}
.tel-schermo .sb {
  position: absolute;
  left: 22px;
  right: 20px;
  top: 12px;
}
/* Il portatile (i siti e le piattaforme), con la barra del browser */
.laptop {
  display: grid;
  justify-items: center;
}
.portatile-coperchio {
  width: 540px;
  height: 348px;
  border-radius: 16px 16px 4px 4px;
  padding: 11px 11px 14px;
  background: var(--portatile-cornice);
  box-shadow:
    0 0 0 1.5px var(--portatile-bordo),
    0 0 0 2.5px var(--bianco-60);
}
.portatile-schermo {
  height: 100%;
  border-radius: 5px;
  background: var(--screen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portatile-base {
  width: 632px;
  height: 14px;
  border-radius: 2px 2px 12px 12px;
  position: relative;
  background: linear-gradient(180deg, var(--base-1) 0%, var(--base-2) 55%, var(--base-3) 100%);
  box-shadow: 0 26px 40px -18px var(--apparecchio-ombra-base);
}
.portatile-base::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 96px;
  height: 6px;
  margin-left: -48px;
  border-radius: 0 0 7px 7px;
  background: var(--base-incavo);
}
.portatile-barra {
  position: relative;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--portatile-barra);
  border-bottom: 1px solid var(--screen-line);
}
.portatile-luci {
  position: absolute;
  left: 10px;
  top: 8px;
  display: flex;
  gap: 5px;
}
.portatile-luci i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--portatile-luci);
}
