*{
    outline:none;
    max-width:100%;
    box-sizing:border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html,body{
    height:100%;
}

body{
    margin:0;
    display:flex;
    flex-direction:column;
    background:#fdfaff;
    color:#424242;
}

a{
    text-decoration:none;
    color:#8156ff;
}

.holder{
    width:1300px;
    text-align:left;
}

header{
    text-align:center;
    padding:15px;
    background:white;
    border-bottom:1px solid #e7e7e7;
}

header .holder{
    display:inline-flex;
    align-items:center;
    gap:20px;
}

header .links{
    display:flex;
    align-items:center;
    flex:1;
    justify-content:end;
    font-size:14px;
    gap:10px;
}

header .links a{
    color:#5f39ce;
}

header .links a.focused{
    background:#8156ff;
    border:1px solid #7c4fff;
    padding:7px 10px;
    color:#ffffff;
    font-weight:500;
    border-radius:7px;
}


header .links a:hover{
    color:#1c0a51;
}


header .logo{
    font-size:20px;
    font-weight:bold;
}

main{
    text-align:center;
    padding:15px;
}

main .holder{
    display:inline-block;
    margin:30px 0;
}

.title{
    font-size:30px;
    font-weight:bold;
}

.text{
    margin:16px 0;
}


.tools{
    margin:30px 0;
    padding:20px;
    border-radius:10px;
    border:1px solid #e6e6e6;
    background:#ffffff;
}

.tools .list{
    display:flex;
    gap:13px;
    flex-wrap:wrap;
}

.tools .list a{
    background:#8156ff;
    padding:8px;
    border:1px solid #7857da;
    border-radius:6px;
    color:white;
}

.tools .list a:hover{
    background:#6946d0;
}


textarea{
    width:100%;
    margin:5px 0;
    background:#ffffff;
    border:1px solid #ccc;
    padding:10px;
    height:140px;
    border-radius:4px;
    resize:none;
}

input{
    background:#ffffff;
    border:1px solid #ccc;
    width:100%;
    padding:10px;
    margin:5px 0;
    color:black;
}

select{
     background:#ffffff;
    border:1px solid #ccc;
    width:100%;
    padding:10px;
    margin:5px 0;
    color:black;
}

textarea::placeholder, input::placeholder{
    color:#555555;
}


input[type="checkbox"]{
    width:auto;
}



.col{
    width:800px;
    display:inline-block;
    text-align:left;
    margin:10px 0;
}

.form{
    padding:30px 0;
}

.form .btn-group{
    display:flex;
    gap:10px;
    justify-content:start;
    flex-wrap:wrap;
    margin-bottom:20px;
}

button{
    border:none;
    border-radius:3px;
    background:#8156ff;
    padding:10px 30px;
    font-size:16px;
    color:white;
}

.col.btn{
    margin-top:10px;
}

button{
    cursor:pointer;
}

article{
    padding:80px 0;
    font-size:14px;
}

main{
    flex:1;
}

footer{
    font-size:14px;
    background:white;
    text-align:center;
    padding:20px 15px;
    border-top:1px solid #dddddd;
}


footer .holder{
    display:inline-block;
    text-align:center;
    
}

.col span{
    margin-left:6px;
    color:#4ad366;
}

section{
    text-align:center;
}

section{
    padding:15px;
}
section .holder{
    display:inline-block;
    padding:15px;
    border-radius:3px;
}

.category-grid{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.category-grid h3{
    margin:0;
}

.categories li a:hover{
    color:#5d35d3;
}

.categories ul{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:6px;
    list-style:none;
}


.center{
    text-align:center;
}
.to-left{
    text-align:left;
}
.to-right{
    text-align:right;
}
.preview img{
    width:200px;
}


.alert-error {
    color: #d9534f;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 600;
}

footer a{
    color:#565656;
}


ul.titles{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:10px;
}


ul.titles button{
    background:#298229;
    padding:10px;
    font-weight:bold;
    text-align:left;
    width:100%;
}