.card-personalizada {
  margin: 100px 26px;
  background: white;
  padding: 30px;
  border-radius: 40px;
  border: 1px solid lightgrey;
}

.imgCenter {
  display: flex;
  justify-content: center;
}

.maxHeight {
  max-height: 500px;
}

.centraIMG {
  display: flex;
  justify-content: center;
}
.pBajo{
padding-bottom: 50px;
}

@media screen and (min-width: 768px) {
  .card-personalizada {
    margin: 100px;
    background: white;
    padding: 30px;
    border-radius: 40px;
    border: 1px solid lightgrey;
  }
}

.general {
  width: 381px;
  height: 730px;
  margin: 100px auto 0 auto;
}

.buttons {
  width: 5px;
  height: 310px;
  margin: 150px 0 0 0;
  float: left;
}
/* BUTTONS */
.button {
  background: black;
  border-radius: 10px 0 0 10px;
  box-shadow: 2px 2px 25px rgb(160, 160, 160);
}

.button1 {
  width: 100%;
  height: 50px;
  border-left: 1px solid white;
}
.button2 {
  margin-top: 75px;
  width: 100%;
  height: 80px;
  border-left: 1px solid white;
}

.button3 {
  margin-top: 20px;
  width: 100%;
  height: 80px;
  border-left: 1px solid white;
}
.button4 {
  width: 5px;
  height: 100px;
  border-right: 1px solid rgb(182, 182, 182);
  margin-top: 300px;
  border-radius: 0 10px 10px 0;
  float: left;
}

/* PHONE */
.phone {
  float: left;
  width: 370px;
  height: 725px;
  background: black;
  border-radius: 60px;
  border: 9px solid black;
  box-shadow: 2px 2px 25px rgb(95, 95, 95);
}

.phone:after {
  content: "";
  position: absolute;
  /* z-index: 3; */
  margin-top: -716px;
  margin-left: -9px;
  width: 370px;
  height: 725px;
  border-radius: 60px;
  border: 2px solid rgb(163, 163, 163);
}

/* SCREEN */
.screen {
  width: 100%;
  height: 100%;
  z-index: 3;
  position: relative;
  display: flex;
  border-radius: 52px;
  justify-content: center;
  background-color: white;
  /*background: url(bg.jpg);
    background-size: cover; */
  overflow: hidden;
}

/* Front Camera */
.camera {
  position: absolute;
  z-index: 5;
  width: 90px;
  height: 26px;
  top: 12px;
  border: 1px solid black;
  background-color: black;
  border-radius: 15px;
  backdrop-filter: blur (5px);
}

.cam-r {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: rgb(0, 0, 0);
  border: 4px solid rgb(20, 20, 20);
  border-radius: 50%;
  top: 0px;
  left: 64px;
}

.fx-r-1 {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 1px;
  left: 1px;
  border-radius: 50%;
  border-right: 1px solid rgb(6, 24, 126);
  background-color: rgb(10, 6, 39);
}

.fx-r-2 {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  border-right: 1px solid rgb(29, 153, 143);
  border-bottom: 1px solid rgba(212, 0, 255, 0.479);
  background-color: rgba(95, 118, 131, 0);
}

.cam-l {
  position: absolute;
  width: 50px;
  height: 25px;
  background-color: rgb(0, 0, 0);
  border: 4px solid rgb(20, 20, 20);
  border-radius: 15px;
  top: 0px;
  left: 0px;
}

.fx-l-1 {
  position: absolute;
  width: 13px;
  height: 13px;
  top: 2px;
  left: 27px;
  border-radius: 50%;
  border-right: 1px solid rgb(49, 3, 3);
  background-color: rgb(24, 6, 6);
}

.fx-l-2 {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  border-right: 1px solid rgb(104, 88, 1);
  border-top: 1px solid rgba(161, 53, 26, 0.479);
  background-color: rgba(95, 118, 131, 0);
}

/**/
.handle {
  width: 120px;
  height: 5px;
  border-radius: 50px;
  background-color: gray;
  position: absolute;
  bottom: 10px;
}
/*
.menu{
    position: absolute;
    width: 400px;
    height: 75px;
    background-color: rgb(0, 0, 0);
    bottom: 0px;;
}*/

:root {
  --container-width: 800px;
  --body-bg: #c490d1;
  --body-color: #1a1a1a;
  --collapse-bg: #f9fdfd;
  --collapse-color: #1a1a1a;
  --collapse-line-color: rgb(207, 207, 207);
  --collapse-icon-color: #17238f;
  --collapse-box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

details {
  background: var(--collapse-bg);
  color: var(--collapse-color);
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: var(--collapse-box-shadow);
}

summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  cursor: pointer;
  list-style-type: none;
}

summary,
.details-info {
  padding: 1rem;
}

.details-info {
  border-top: 1px solid var(--collapse-line-color);
}

summary .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  transition: transform 0.26s;
  color: var(--collapse-icon-color);
}

details[open] summary .icon {
  transform: rotate(180deg);
}

/* You could try to add some css animation here, but in the end, it doesn't work that well, uncomment the following to try it out */
/*
  details[open] .details-info {
    animation: growAndFadeIn .24s ease-out forwards;
  }*/

/* some basic styling (added to the bottom for convenience) */
* {
  box-sizing: border-box;
}

/*  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
  }
   */
@keyframes growAndFadeIn {
  0% {
    font-size: 0;
    opacity: 0;
  }
  90% {
    font-size: 1em;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
