*{
    margin: 0px;
    padding: 0px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #87CEEB, #1E90FF);
    /* background-color: #87CEEB; Color de fondo del cielo */
}

.sunflower {
    position: relative;
}

.center {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #947814 10%, #c78728 30%, #964912 70%);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    transform: translate(-50%, -115%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Agregar sombra al centro */
}

.stem {
    width: 45px;
    height: 30000px;
    background-color: green;
    position: absolute;
    left: 50%;
    /* top: 0px; */
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5), inset 0px 0px 5px rgba(0, 0, 0, 0.5);
    background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 5px, transparent 5px, transparent 10px);
}

.stem::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: green;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.stem::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: green;
    position: absolute;
    top: 300px; /* Ajusta la posición vertical según la altura del tallo */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.leaf {
    width: 30px;
    height: 60px;
    background-color: green; /* Color de las hojas */
    position: absolute;
    background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 5px, transparent 5px, transparent 10px);
    transform: translate(-80%,-100%) rotate(-45deg);
    /* transform-origin: left bottom; */
    top: 100px; /* Ajusta la posición vertical de las hojas */
    left: 0px; /* Ajusta la posición horizontal de las hojas */
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.leaf:nth-child(2n){
    transform: translate(130%,10%) rotate(45deg);
}

.leaf:nth-child(3n){
    transform: translate(-80%,100%) rotate(-45deg);
}

.leaf:nth-child(4n){
    transform: translate(130%,150%) rotate(45deg);
}

.petals {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    z-index: 3;
}

.petal {
    width: 100px;
    height: 200px;
    background-color: #FFD700; /* Color de los pétalos del girasol */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0;
    transform-origin: 50% 100%;

    border-top-width: 1px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: dotted;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: rgb(73, 73, 73);
    border-right-color: rgb(73, 73, 73);
    border-bottom-color: rgb(73, 73, 73);
    border-left-color: rgb(73, 73, 73);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
}

.petal.petal:nth-child(11n) {
    transform: translateX(-50%) rotate(18deg);
}

.petal:nth-child(2n) {
    transform: translateX(-50%) rotate(36deg);
}
.petal.petal:nth-child(12n) {
    transform: translateX(-50%) rotate(54deg);
}

.petal:nth-child(3n) {
    transform: translateX(-50%) rotate(72deg);
}

.petal.petal:nth-child(13n) {
    transform: translateX(-50%) rotate(90deg);
}

.petal:nth-child(4n) {
    transform: translateX(-50%) rotate(108deg);
}
.petal.petal:nth-child(14n) {
    transform: translateX(-50%) rotate(126deg);
}

.petal:nth-child(5n) {
    transform: translateX(-50%) rotate(144deg);
}

.petal.petal:nth-child(15n) {
    transform: translateX(-50%) rotate(162deg);
}

.petal:nth-child(6n) {
    transform: translateX(-50%) rotate(180deg);
}

.petal.petal:nth-child(16n) {
    transform: translateX(-50%) rotate(198deg);
}

.petal:nth-child(7n) {
    transform: translateX(-50%) rotate(216deg);
}

.petal.petal:nth-child(17n) {
    transform: translateX(-50%) rotate(234deg);
}

.petal:nth-child(8n) {
    transform: translateX(-50%) rotate(252deg);
}

.petal.petal:nth-child(18n) {
    transform: translateX(-50%) rotate(270deg);
}

.petal:nth-child(9n) {
    transform: translateX(-50%) rotate(288deg);
}

.petal.petal:nth-child(19n) {
    transform: translateX(-50%) rotate(306deg);
}

.petal.petal:nth-child(10n) {
    transform: translateX(-50%) rotate(324deg);
}

.petal.petal:nth-child(20n) {
    transform: translateX(-50%) rotate(342deg);
}