body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: rgb(228, 228, 228);
    color: #2a5d9f;
    margin: 0;
    padding: 0;
}

nav {
    width: 100%;
    height: 120px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border-bottom: solid 2px #2a5d9f;
}

.center-image {
    height: 100px;
    object-fit: contain;
    position: relative;
    left: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

footer {
    width: 100%;
    background-color: white;
    color: #2a5d9f;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    border-top: solid 2px #2a5d9f;
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.footer-left, .footer-right {
    margin: 0;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

#gebruiker {
    position: absolute;
    top: 39%;
    left: 42.5%;
    border: 2px solid #2a5d9f;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#wachtwoord {
    position: absolute;
    top: 46%;
    left: 42.5%;
    border: 2px solid #2a5d9f; 
    border-radius: 5px;
    padding: 10px;
    font-size: 16px; 
    outline: none; 
    transition: border-color 0.3s;
}

#loginknop {
    position: absolute;
    top: 55%;
    left: 47%;
    background-color: #2a5d9f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px; 
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#afbeelding {
    position: absolute;
    left: 33.5%;
    top: 5%;
    width: 30%;
    height: auto;
}

#admintekst {
    position: absolute;
    left: 43%;
    top: 33%;
    color: #2a5d9f;
}

#fietsentoevoegentekst {
    position: absolute;
    left: 42%;
    top: 33%;
    color: #2a5d9f;
}

::placeholder {
    color: #2a5d9f;
    text-align: center;
}

input {
    text-align: center;
}

#telnmr {
    position: relative;
    right: 20%;
}

#adresimg {
    position: relative;
    left: 20%;
}

#toevoegenknop {
    position: absolute;
    left: 5%;
    top: 40%;
    height: 350px;
    width: auto;
}

#beschrijving {
    position: relative;
    left: 30%;
    margin-top: 21.2%;
    height: 262px;
    width: 900px;
    border: solid 1px rgb(228, 228, 228);
    resize: none;
    border-radius: 20px;
}

#toevoegenknop2 {
    position: absolute;
    top: 85%;
    left: 80.7%;
    height: 80px;
    width: 120px;
    border: solid 1px rgb(228, 228, 228);
    border-radius: 20px;
    background-color: #2a5d9f;
    color: white;
    font-weight: bolder;
}

.item {
    display: flex;
    align-items: stretch;
    padding: 15px;
    margin-left: 15px;
    margin-right: 15px;
}


.item-image {
    max-width: 100%;        /* Ensure the image is responsive */
    height: auto;           /* Preserve the aspect ratio */
    display: block;
}


.item-image img {
    max-width: 200px;
    height: auto;
    border: solid 2px #2a5d9f;
    border-radius: 20px;
}

.item-text {
    color: #333;
    padding-left: 15px;
    display: flex !important;
    flex: 1 !important;
    align-items: flex-start;
    white-space: pre-line;
}


@media (min-width: 1px) and (max-width: 600px) {
    #telnmr {
        position: relative;
        left: 0%;
        font-size: 90%;
    
    }

    #adrestxt {
        font-size: 90%;
    }

    #adresimg {
        position: relative;
        transform: translateX(-300%);
    }

    #admintekst {
        position: absolute;
        transform: translateX(-30%);
    }

    #fietsentoevoegentekst {
        position: absolute;
        transform: translateX(-30%);
    }

    #gebruiker {
        position: absolute;
        transform: translateX(-30%);
    }

    #wachtwoord {
        position: absolute;
        transform: translateX(-30%);
    }

    #loginknop {
        position: absolute;
        transform: translateX(-25%);
    }

    #afbeelding {
        height: 25%;
        width: auto;
        position: absolute;
        transform: translateX(-33%);
    }

    #toevoegenknop {
        height: 120px;
        width: auto;
    }

    #beschrijving {
        height: 90px;
        width: 280px;
        transform: translate(4%, 210%);
    }

    #toevoegenknop2 {
        height: 50px;
        width: 80px;
        transform: translate(-58%, -380%);
    }

    .item-text {
        font-size: x-small;
    }

    button {
        font-size: xx-small;
    }

    .message-section {
        font-size: xx-small;
    }

    #specialisatie {
        font-size: 7px;
        transform: translate(-90%, 70%);
    }

    .center-image {
        transform: translateX(-30%);
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    #afbeelding {
        height: 25%;
        width: auto;
        transform: translateX(-30%);
    }
    
    #admintekst {
        transform: translateX(-25%);
    }

    #gebruiker {
        transform: translateX(-25%);
    }

    #wachtwoord {
        transform: translateX(-25%);
    }

    #loginknop {
        transform: translateX(-25%);
    }

    #toevoegenknop {
        transform: translate(-20%, -20%);
        height: 30%;
        width: auto;
    }

    #beschrijving {
        transform: translate(5%, 80%);
        width: 385px;
        height: 160px;
    }

    #fietsentoevoegentekst {
        transform: translate(-15%, -80%);
    }

    #toevoegenknop2 {
        transform: translate(-35%, -185%);
    }
  }

  @media (min-width: 1024px) and (max-width: 1415px) {
    #toevoegenknop {
        transform: translate(-28%, -30%);
    }

    #beschrijving {
        transform: translate(-1%, -2%);
        width: 700px;
    }
    #fietsentoevoegentekst {
        transform: translate(0%, -150%);
    }

    #afbeelding {
        transform: translateX(13%);
    }

    #toevoegenknop2 {
        transform: translate(30%, -110%);
    }

    #loginknop {
        transform: translateX(25%);
    }


  }

  #plus {
    height: 80px;
    width: auto;
  }

  #potlood {
    position: absolute;
    top: 37%;
    left: 40%;
    height: 250px;
    width: auto;
  }

  #trash {
    position: absolute;
    top: 40%;
    left: 80%;
    height: 230px; 
    width: auto;
  }

  #advertentietoevoegen {
    position: absolute;
    top: 75%;
    left: 6%;
    color: #2a5d9f;
  }

  #advertentieaanpassen {
    position: absolute;
    top: 75%;
    left: 40%;
    color: #2a5d9f;
  }

  #advertentieverwijderen {
    position: absolute;
    top: 75%;
    left: 79%;
    color: #2a5d9f;
  }

 /* Existing styles remain unchanged */

.item {
    display: flex;
    align-items: stretch;
    padding: 15px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    border: solid 2px #2a5d9f;
    box-shadow: 
    0 -2px 3px rgba(0, 0, 0, 0.3),  /* Top shadow */
    0 2px 3px rgba(0, 0, 0, 0.3);   /* Bottom shadow */
}

.item-image {
    margin-right: 20px;
    max-width: 200px;
    height: auto;
    flex-shrink: 0;
}

.item-image img {
    border-radius: 10px;
    border: solid 2px #2a5d9f;
    width: 100%;
    height: auto;
}

.item-content {
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    flex: 1;
}

.item-text {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    color: #2a5d9f;
    word-wrap: break-word;
    font-weight: bold;
}

.button-container {
    margin-top: 10px;
}

button {
    background-color: #2a5d9f;
    color: white;
    border: solid 1px #2a5d9f;
    padding: 5px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1f4b7a;
    cursor: pointer;
}

.message-section {
    background-color: white;
    padding: 10px;
    border: solid 2px #2a5d9f;
    margin-top: 10px;
    border-radius: 10px;
}

/* New styles for edit/delete icons */
.item-icons {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.edit-icon, .delete-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-right: 10px;
    transition: transform 0.2s;
}

.edit-icon:hover, .delete-icon:hover {
    transform: scale(1.2);
}

/* Edit section for text and image */
#edit_section_ {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

#edit_section_ input[type="file"] {
    border: solid 1px #ccc;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
}

#edit_section_ textarea {
    width: 100%;
    height: 100px;
    border: solid 2px #2a5d9f;
    border-radius: 10px;
    padding: 10px;
    resize: none;
    margin-bottom: 10px;
    color: #2a5d9f;
}

#edit_section_ button {
    width: 100px;
    align-self: flex-start;
}

#edit_section_ button:hover {
    background-color: #1f4b7a;
    cursor: pointer;
}

.delete-icon {
    height: 80px !important;
    width: auto !important;
    position: relative;
    left: 55px;
}

nav {
    margin-bottom: 20px;
    box-shadow: 
    0 2px 3px rgba(0, 0, 0, 0.3);   /* Bottom shadow */
}

footer {
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);  /* Top shadow */
}


#specialisatie {
    position: relative;
    left: 30%;
    top: 35%;
}