
:root {
    --mygreen: rgba(40,200,40,1)
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Bahnschrift light, sans-serif;
    margin: 0;
    padding: 0;
}

p {
    color: rbga(30,30,30,1);
    font-weight: bold;
    font-family: Bahnschrift light, sans-serif;
    font-size: 20px;
}

header {
    padding: 20px;
}

.container {
    display: flex;
    align-items: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    flex: 1;
}

.text-content p {
    margin: 5px 0;
}


.required input,
.required textarea {
  outline: none; /* wyłącz domyślny outline */
  border: 2px solid #ccc;
  padding: 8px;
  border-radius: 4px;

}

.required input:hover,
.required textarea:hover {
    transition: border-color 0.3s, box-shadow 0.3s;
    border-color: var(--mygreen);
    box-shadow: 0 0 0 2px var(--mygreen); /* zielony "outline" efekt */

}

.part {
  position: relative;
  width: 200px;
  height: 20px;
  margin-top: 20px;
  margin-bottom: 40px;
  margin-left: 0;
  padding-left: 0;
}

.optional {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.optional input {
   width: 30%;
   height: 1%;
   border: none;
   font-size: 1px;
   line-height: 1px;
   padding: 0;
   margin: 0;
   display: block;
}

.send-button {
    position: absolute;
    padding-top:0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
    background: rgba(0,0,0,0);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    text-align: left;
}

.send-button:hover {
    color: var(--mygreen);
    transition: color 0.3s;
}

#status {
    margin-top: 30px;
}