html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: rgb(54, 69, 79) !important;
    color: white;
    height:100%!important;
    margin:0!important;
}

/*Home Container*/

.HomeContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*Login Box*/
.LoginBox {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    width:35%;
    font-family: Arial, sans-serif;
    margin-top: 150px;
}

/*newsletter box*/

.newsletter-container {
    margin-top: 150px;
    border-bottom: rgba(255, 255, 255, 0.5) solid 1px;
    width:100%;
    height: 300px;
}

/*media for newsletter box*/

@media(max-width:1065px)
{
    .newsletter-form input{
        display:block;
        width:95%!important;
    }
    .newsletter-form button{
        margin-left:0px!important;
        width:95%!important;
        padding:10px!important;
        margin-top:8px;
    }
    .newsletter-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.newsletter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:65%;
}

.newsletter-title {
    font-size: 35px;
}

.newsletter-description {
    font-size: 20px;
    margin-top: 10px;
}

    .newsletter-description textarea {
        width: 650px;
        font-size: 15px;
        height: 100px;
        color: white;
        background-color: rgb(54, 69, 79);
        border: none !important;
        outline: none;
        resize: none;
    }

.error-message {
    display: inline-block;
    max-width: 100%;
    margin-top: 20px;
    padding: 0.5rem 0.75rem;
    background-color: #FEF2F2;
    border: 1px solid #F87171;
    border-radius: 0.25rem;
    box-sizing: border-box;
}

    .error-message svg {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
        stroke: #DC2626;
    }

    .error-message p {
        margin: 0;
        font-size: 0.75rem;
        font-weight: 600;
        color: #991B1B;
        line-height: 1.25;
    }

.newsletter-form input {
    font-size: 15px;
    width: 500px;
    border: none;
    color: black !important;
    height: 60px;
    outline: none;
    background-color: white;
    border-radius: 4px !important;
}

.newsletter-form button {
    margin-left: 20px;
    padding:15px;
    padding-top:13px
}

/*about section*/

@media(max-width:1425px)
{
    .about-container {
        flex-direction: column;
        margin-left: 0px;
        padding: 0!important;
        margin-top:100px!important;
    }
    .content-section{
        width:100%!important;
    }
    .profile-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .social-icons{
        margin-left:0px!important;
    }
}

.about-wrapper {
    height: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-container {
    margin-top: 50px;
    border-bottom: rgba(255, 255, 255, 0.5) 1px solid;
    width:66%;
    padding: 50px;
    display: flex;
}

.profile-section {
    margin-right: 50px;
    margin-top: 10px;
}

.profile-image {
    width: 300px;
    height: 250px;
    border-radius: 8%;
}

.social-icons {
    margin-left: 50px;
    margin-top: 30px;
}

.social-icon {
    display: inline-block;
    margin-left: 20px;
}

    .social-icon:first-child {
        margin-left: 0;
    }

    .social-icon img {
        width: 50px;
        height: 50px;
    }

.content-section {
    width:50%;
    font-size: 18px;
}

.title {
    font-size: 45px;
    font-weight: bold;
}

.about-text {
    height: 320px;
    overflow-wrap: break-word;
    padding: 5px;
    margin-top: 30px;
}

.name-text {
    text-align: left;
    font-size: 25px !important;
    font-weight: bold;
}

a, .btn-link {
    color: #006bb7;
}
.smallGreyBtn {
    color: white;
    background-color: rgb(54, 69, 79) !important;
    border: none;
    width: 100px;
    height: 40px;
    font-size: 17px;
    transition: transform 0.5s;
}
.smallGreyBtn:hover {
    transform: scale(1.05);
}
.readMoreBtn {
    transition: transform 0.5s;
    color: #2dd4bf;
    font-weight: 600;
    outline: none;
    border: none;
    background-color: #1f2937;
}
.readMoreBtn:hover{
    transform:scale(1.05);
}
.imgBtn {
    transition: transform .2s;
    border: none;
    background-color: rgb(54, 69, 79) !important;
}
.imgBtn:hover {
    transform: scale(1.05);
}
.AdminLongBtn {
    color: white;
    background-color: rgb(43, 85, 182);
    font-size: 18px;
    text-align: center;
    border: none;
    padding: 10px;
    border-radius: 3px;
    width: 50%;
    margin-top: 10px;
}
    .AdminLongBtn:hover {
        color: rgb(43, 85, 182);
        background-color: white;
        transition: background-color 0.3s ease;
    }
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.BtnWebsiteStephan {
    color: white;
    background-color: rgb(60, 100, 200);
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
    border-radius: 5px;
    padding: 10px;
    border: none;
    transition: background-color 0.3s ease;
}

    .BtnWebsiteStephan:hover {
        background-color: rgb(80, 120, 220);
    }

.BtnBack {
    color: white;
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
    border-radius: 3px;
    padding: 10px;
    border: none;
    background-color: rgb(54, 69, 79);
}

.BtnBack:hover {
    color: rgb(43, 85, 182);
}

.Error {
    font-size: 25px;
    color: red;
    border: none !important;
    background-color: rgb(54, 69, 79) !important;
    resize:none!important;
    outline:none!important;
    width:350px!important;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/*Blog page classes*/

.blog-detail {
    position: relative; 
    margin-bottom: 275px;
}

.back-button-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
}

.back-button-container {
    position: relative;
    left: 80px;
    background-color: rgb(54, 69, 79);
    display: inline-block;
}

.back-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgb(60, 100, 200);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .back-button:hover {
        background-color: rgb(80, 120, 220);
    }

    .back-button svg {
        margin-right: 8px;
    }

.blog-content.no-image {
    margin-top: 100px;
    text-align: center;
}

.blog-title {
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.blog-paragraphs {
    display: inline-block;
    max-width: 1000px;
    text-align: left;
}

    .blog-paragraphs p {
        width: 1000px;
        word-wrap: break-word;
        font-size: 18px;
        margin-top: 30px;
    }

.blog-article {
    max-width: 1100px;
    margin: 150px auto 20px 380px;
    background-color: rgb(64, 79, 89);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-header {
    position: relative;
}

.blog-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.blog-meta {
    color: #b0b0b0;
    font-size: 0.875rem;
    margin: 0;
}

.blog-body {
    padding: 2rem;
}

    .blog-body p {
        margin: 0 0 1.5rem;
        line-height: 1.8;
        color: #d1d5db;
        font-size: 1.1rem;
        word-wrap: break-word;
    }

/* Blog List Styles */
.blog-list {
    margin-bottom: 250px;
    justify-content: center;
    align-items: center;
    display:flex;
    flex-direction:column;
}

.page-title {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 56px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 50px;
}

.blog-grid {
    margin-top: 10px;
}

.blog-card {
    max-width: 40rem;
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    background-color: #1f2937;
}

.blog-card-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem 1rem;
}

.blog-card-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #f3f4f6;
}

.blog-card-description {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

.no-articles {
    max-width: 600px;
    margin-left: 200px;
    padding: 2rem;
    background-color: rgb(64, 79, 89);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-align: center;
    color: #ffffff;
}

.no-articles-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.no-articles-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.no-articles-message {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

/*about page modify*/
.modify-about-container {
    margin-top: 100px;
    font-family: Arial, sans-serif;
    margin-bottom:275px;
}

.modify-about-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.modify-about-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.picture-upload-section,
.social-media-links,
.about-info-container {
    background-color: #1f2937;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.selected-picture-container {
    width: 170px;
    height: 170px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #1f2937;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.selected-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-badge,
.picture-label,
.deselect-button {
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 9999px;
}

.selected-badge {
    top: 10px;
    right: 10px;
    background-color: rgba(16, 185, 129, 0.9);
    color: white;
}

.picture-label {
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(31, 41, 55, 0.8);
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 8px;
}

.deselect-button {
    top: 10px;
    left: 10px;
    background-color: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .deselect-button:hover {
        background-color: rgba(220, 38, 38, 0.9);
    }

.upload-instruction,
.existing-pictures-label,
.social-media-title,
.about-info-title {
    color: #e5e7eb;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.file-upload-label {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #3b82f6;
    color: white;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .file-upload-label:hover {
        background-color: #2563eb;
    }

.file-name {
    margin-top: 10px;
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
}

.picture-select,
.social-media-input input,
.about-info-input input,
.about-info-textarea textarea {
    width: 100%;
    padding: 10px;
    background-color: #374151;
    color: white;
    border: 1px solid #4b5563;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 15px;
}

.picture-select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}

.social-media-input label,
.about-info-input label,
.about-info-textarea label {
    display: block;
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 5px;
}

.about-info-container {
    height: 500px;
    display: flex;
    flex-direction: column;
}

.about-info-textarea {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .about-info-textarea textarea {
        flex-grow: 1;
        resize: none;
    }

.action-buttons-aboutpage {
    display: flex;
    gap: 10px;
    position: relative;
    top: 538px;
    left: 223px
}

.aboutButtons {
    margin-right: 300px;
    position:absolute;
}

/*admin menu page*/

.admin-container {
    padding: 20px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.error-message {
    display: inline-block;
    max-width: 100%;
    margin-top: 20px;
    padding: 0.75rem 1rem;
    background-color: #FEF2F2;
    border: 1px solid #F87171;
    border-radius: 0.375rem;
    box-sizing: border-box;
}

.error-content {
    display: flex;
    align-items: center;
}

.error-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    stroke: #DC2626;
}

.error-text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #991B1B;
    line-height: 1.25;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.admin-menu-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-menu-btn:hover {
        background-color: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

.btn-text {
    display: inline-block;
    vertical-align: middle;
}

.back-button-container-adminmenu {
    position: fixed;
    left: 110px;
    top: 100px;
    z-index: 10;
}

.back-button-adminmenu {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgb(60, 100, 200);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button-adminmenu :hover {
        background-color: rgb(80, 120, 220);
    }

.back-icon-adminmenu {
    margin-right: 8px;
}

.admin-login-form {
    background-color: #1f2937;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 100px auto 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 6px;
    color: white;
    font-size: 16px;
}

.set-info-btn {
    font-size: 16px !important;
    margin-top: 20px;
    width: 100%;
    padding: 12px;
}

/*topics page*/

.topic-modify {
    font-family: Arial, sans-serif;
}

.back-button-wrapper-blogmodify {
    
}

.back-button-container-blogmodify {
   
}

.back-button-container2-blogmodify {
    padding: 20px;
    background-color: rgb(54, 69, 79);
    display: inline-block;
}

.back-button-blogmodify {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgb(60, 100, 200);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .back-button-blogmodify:hover {
        background-color: rgb(80, 120, 220);
    }

.back-icon {
    margin-right: 8px;
}

.blog-modify-form {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 1000px;
    margin-top: 80px;
    margin-bottom: 275px;
}
.blog-modify-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blog-create-form {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 1000px;
    margin-top: 80px;
    margin-bottom: 30px;
}

.blog-create-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 20px !important;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #4b5563;
    border-radius: 4px;
    background-color: #374151;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.form-textarea {
    min-height: 100px;
    resize: none;
}

.error-message {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 0.5rem 0.75rem;
    background-color: #FEF2F2;
    border: 1px solid #F87171;
    border-radius: 0.25rem;
    box-sizing: border-box;
}

.error-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.error-text {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #991B1B;
    line-height: 1.25;
}

.add-paragraph-input {
    display: flex;
    gap: 10px;
}

.btn-website-stephan {
    background-color: rgb(60, 100, 200);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-website-stephan:hover {
        background-color: rgb(80, 120, 220);
    }

.add-button {
    height: 100px;
    margin-top: 0;
}

.selected-paragraph,
.selected-image {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 15px;
    color: #ffffff;
}
.selected-paragraph-header,
.selected-image-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.selected-paragraph-title,
.selected-image-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.deselect-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.selected-paragraph-content {
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.delete-button {
    background-color: #dc2626;
}

.delete-button:hover{
    background-color:darkred!important;
}

.image-upload-section {
    margin-top: 30px;
    width: 70%;
    margin-left: 150px;
    margin-bottom:40px!important;
}

.file-upload-label {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: rgb(60, 100, 200);
    margin-top: 20px;
    color: white;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.file-input {
    display: none;
}

.file-name {
    margin-top: 10px;
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
}

.selected-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 4px;
}

.selected-image-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.create-blog-button {
    width: 100%;
    margin-top:20px;
}

.blog-select-section {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 1000px;
    margin-top: 15px;
    margin-bottom: 275px;
}

.CreateEmailContainer {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 750px;
    margin-left: 250px;
    font-family: Arial, sans-serif;
    margin-top: 100px;
    margin-bottom: 50px;
}

.SendEmailContainer {
    width: 600px;
    margin-left: 250px;
    margin-top: 50px;
    padding: 10px;
    margin-bottom:275px;
}

.EmailBackButton {
    position: relative;
    left: 20px;
}

.AboutModifyContainer {
    margin-top: 150px;
    width: 1200px;
    height: 300px;
    padding: 10px;
}

.AboutModifyContainer2 {
    position: relative;
    bottom: 100px;
    width: 850px;
    height: 350px;
    padding: 30px;
    background-color: #1f2937;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    margin-left: 165px;
}

.AboutModifyContainer3 {
    position: absolute;
}

.LoginBox2 {
    margin-bottom: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
}

.desktop-menu
{
    
}

/*new about classes*/

.about-section-wrapper{
    
}

/*new admin email classes*/

.AddLinkBtn {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.DeleteLinkBtn {
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.LinkButtonContainer {
    display: flex;
    gap: 10px;
}
.LinkContainer {
    margin-bottom: 15px;
    min-width:100%;
}

/*new subnewletter class*/

.SubNewsLetterModifyBtn {
    color: white;
    background-color: rgb(60, 100, 200);
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
    border-radius: 5px;
    padding: 10px;
    border: none;
    transition: background-color 0.3s ease;
}

.SubNewsLetterError {
    display: inline-block;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: #FEF2F2;
    border: 1px solid #F87171;
    border-radius: 0.25rem;
    box-sizing: border-box;
}



/*MODIFIED OLD MAX WIDTH = 768PX*/

@media (max-width: 968px) {

    /*new subnewsletter class*/

    .SubNewsLetterModifyBtn{
        margin-top:75px;
    }
    .SubNewsLetterError {
        margin-bottom: 10px;
    }
    .newsletter-wrapper{
        width:100%;
    }

    /*new admin email classes*/

    .AddLinkBtn{
        font-size:12px;
        padding:5px;
    }
    .DeleteLinkBtn{
        font-size:12px;
        padding:5px;
    }
    .LinkButtonContainer {
        gap: 5px;
        min-height:80px;
    }

    /*Login Box*/

    .desktop-menu
    {
        display:none!important;
    }

    .LoginBox {
        max-width: 600px !important;
        margin-left: 0px !important;
        margin: auto !important;
        margin-top: 150px !important;
        width:80%;
    }

    /*About Section*/

    .about-section-wrapper{
        width:100%;
        align-content:center;
    }

    .AboutModifyContainer {
        margin-left: 0px !important;
        padding-left: 0px !important;
        width: 100% !important;
        transition: all 0.3s ease-in-out;
        padding-bottom: 40px !important;
        margin-top: 150px !important;
        margin-bottom: 100px !important;
        display: inline-block !important;
    }

    .AboutModifyContainer3 {
        width: 100% !important;
        position: static !important;
    }

    .AboutModifyContainer2 {
        width: 100% !important;
        margin-left: 5px !important;
        position: static !important;
    }

    /*Admin Email*/

    .EmailBackButton{
        top:70px;
        left:0px!important;
    }

    .CreateEmailContainer {
        margin-left:0px!important;
        margin-top:50px!important;
    }

    .SendEmailContainer
    {
        margin-left:0px!important;
    }

    /*About*/
    .aboutButtons {
        position: static !important;
        flex: 1 !important;
        min-width: 300px;
        max-width: 500px;
    }

    .action-buttons-aboutpage {
        position: static !important;
    }

    .about-wrapper {
        height: 920px !important;
        position: static;
        width: 100%;
    }

    .about-container {
        width: 100%;
        flex-direction: column;
        margin-left:0px;
        padding:0;
    }

    .profile-section {
        margin-right: 0;
        margin-bottom: 30px;
        width:100%;
        text-align:center;
    }

    .profile-image {
        width: 300px;
        height: 250px;
    }

    .social-icons {
        margin-left: 0;
        margin-top: 20px;
    }

    .content-section {
        width: 100%;
    }

    .title {
        font-size: 35px;
    }

    .about-text {
        height: auto;
        max-height: 450px;
        overflow-y: auto;
    }

    .name-text {
        font-size: 22px !important;
    }

    .newsletter-container {
        margin-left: 0;
        width: 100%;
        height: auto;
        padding: 40px;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-description textarea {
        width: 100%;
    }

    .newsletter-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

        .newsletter-form input {
            width: 100%;
            margin-bottom: 10px;
        }

        .newsletter-form button {
            margin-left: 0;
            margin-top: 10px;
        }

    /*Blog page resizing*/

    .blog-card-image{
        height:18rem;
    }

    .blog-detail {
        margin-top: 70px;
    }

    .back-button-wrapper {
        position: static;
        margin-bottom: 20px;
    }

    .back-button-container {
        padding: 0px;
        position:static;
        margin-top:70px;
    }

    .blog-title {
        font-size: 32px;
    }

    .blog-paragraphs, .blog-paragraphs p {
        width: 100%;
    }

    .blog-article {
        margin-left:0px;
        margin-right:0px;
        margin-top:0px;
    }

    .blog-list {
        margin-left: 0px;
        text-align: center;
    }

    .page-title {
        font-size: 40px;
        margin-left:0px;
    }

    .blog-grid {
        margin-left: 0;
    }

    .blog-card {
        max-width: 100%;
        margin-left: 0;
        text-align:left!important;
    }

    .no-articles {
        margin-left: 0;
        max-width: 100%;
    }

    /*about page modify*/

    .modify-about-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .modify-about-content {
        flex-direction: column;
    }

    .modify-about-column {
        max-width: 100%;
    }

    .action-buttons-aboutpage {
        justify-content: center;
        display:inline-block!important;
        margin-top:0px!important;
        padding:0px!important;
        margin-bottom:20px!important;
    }

    /*admin menu page*/

    .admin-container {
        padding: 15px;
    }

    .admin-menu {
        margin-top: 30px;
    }

    .admin-menu-btn {
        max-width: 100%;
    }

    .back-button-container-adminmenu {
        position: static;
        margin-bottom: 20px;
    }

    .admin-login-form {
        margin-top: 30px;
        padding: 20px;
    }

    /*topics modify page*/


    .blog-modify-form,
    .blog-create-form,
    .blog-select-section {
        width: 95%;
        padding: 15px;
        margin-top:40px;
    }

    .form-label {
        font-size: 18px;
    }

    .form-input,
    .form-textarea,
    .form-select {
        font-size: 14px;
    }

    .add-paragraph-input {
        flex-direction: column;
    }

    .add-button {
        height: auto;
        margin-top: 10px;
    }

    .action-buttons {
        flex-direction: column;
        width:100%;
        margin-top:25px!important;
        margin-bottom:5px!important;
    }

    .btn-website-stephan {
        width: 100%;
        margin-bottom: 10px;
    }

    .image-upload-section {
        width: 100%;
        margin-left: 0;
    }

    .file-upload-label {
        font-size: 14px;
    }

    .selected-image {
        margin-left: 0;
    }

    .selected-image-container {
        padding-top: 56.25%; 
    }

    .back-button-container-blogmodify{
    }

    .back-button-container2-blogmodify{
        padding-left:10px!important;
    }

    .blog-select-section{
        margin-top:20px!important;
    }
    .back-button-wrapper-blogmodify{
        margin-top:40px;
    }
}

@media(max-width:1200px){
    /*Blog Page Classes*/

    .blog-article{
        margin-left:0px;
    }
    .back-button-wrapper{

    }
    /*media form login box resizing*/
    
    .loginbox {
        width: 80%;
    }
}


