*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Poppins,sans-serif;
    background:#19140f;
    color:white;
}

/* Sidebar */

.sidebar{
    position:fixed;
    left:0;
    top:0;
    width:240px;
    height:100%;
    background:#221c18;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top:40px;
    z-index:100;
}

.logo{
    text-align:center;
    margin-bottom:50px;
}

.logo h2{
    font-family:Cinzel;
    font-size:45px;
    color:#c58d45;
}

.logo span{
    letter-spacing:5px;
    font-size:12px;
}

nav{
    width:100%;
}

nav a{
    display:block;
    padding:18px 35px;
    color:#d7c6ab;
    text-decoration:none;
    font-size:18px;
    transition:.3s;
}

nav a:hover{
    background:#5d3b28;
    color:white;
}

/* Hero */

.hero{
    margin-left:240px;
    height:100vh;
    background:url("https://assets.albiononline.com/uploads/media/default/media/7eaf9dfaa684c0eef56043daac6b52c52b053ca9.jpeg") center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    padding-left:90px;
}

.overlay{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.35);
}

.hero-content{
    position:relative;
    max-width:600px;
}

.hero-content p:first-child{
    font-size:28px;
}

.hero h1{
    font-size:95px;
    font-family:Cinzel;
    margin:15px 0;
}

.hero h2{
    color:#c48a45;
    font-size:42px;
    margin-bottom:25px;
}

.hero-content p{
    font-size:20px;
    line-height:1.7;
}

.btn{
    display:inline-block;
    margin-top:40px;
    padding:18px 45px;
    background:#7a2f23;
    border:2px solid #b48b5d;
    text-decoration:none;
    color:white;
    font-size:20px;
    transition:.3s;
}

.btn:hover{
    background:#9f412e;
}

/* Sections */

section:not(.hero){
    margin-left:240px;
    min-height:100vh;
    padding:100px;
    background:#1f1814;
    border-top:1px solid #3f3229;
}

section h2{
    font-family:Cinzel;
    font-size:55px;
    margin-bottom:40px;
    color:#d3b07a;
}

/* Display of Skills */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}

.card{
    background:#2d221c;
    border:2px solid #6b4f37;
    padding:25px;
    text-align:center;
    font-size:22px;
    border-radius:12px;
    transition:.3s;
}

.card:hover{
    background:#7a3025;
    transform:translateY(-5px);
}

/* Gallery sa ahong project */

.gallery-project{
    border:2px solid #6b4f37;
    border-radius:12px;
    overflow:hidden;
    background:#2b211b;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:10px;
}

.gallery-project img{
    width:100%;
    height:auto;
    display:block;
    transition:.3s;
}

.gallery-project:hover img{
    transform:scale(1.05);
}
/* Contact */

.social-links{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    margin-top:30px;
}

.social-links a{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
    color:#fff;
    background:#2d221c;
    padding:18px 30px;
    border:2px solid #6b4f37;
    border-radius:12px;
    transition:.3s;
    font-size:22px;
}

.social-links a i{
    font-size:34px;
}

.social-links a:hover{
    background:#7a3025;
    transform:translateY(-4px);
}




/* Theme Button */

.theme-btn{
    width:calc(100% - 40px);
    margin:20px;
    padding:15px;
    background:#2d221c;
    color:#fff;
    border:2px solid #6b4f37;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.theme-btn:hover{
    background:#7a3025;
}



/* Dark Mode */

body.dark-mode{
    background:#0d0d0d;
    color:#f5f5f5;
}

body.dark-mode .sidebar{
    background:#111;
}

body.dark-mode section:not(.hero){
    background:#161616;
    border-top:1px solid #333;
}

body.dark-mode .card,
body.dark-mode .gallery-project,
body.dark-mode .social-links a{
    background:#222;
    border-color:#555;
}

body.dark-mode nav a:hover{
    background:#333;
}

body.dark-mode .btn{
    background:#444;
    border-color:#777;
}

body.dark-mode .btn:hover{
    background:#666;
}

body.dark-mode .theme-btn{
    background:#444;
    border-color:#777;
}

body.dark-mode .theme-btn:hover{
    background:#666;
}
.guild-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #2d221c;
    border: 2px solid #6b4f37;
    padding: 10px 15px;

    text-decoration: none;
    color: rgb(241, 240, 233);

    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;

    transition: 0.2s;
    justify-content: left 50px;
}

.guild-btn img {
    width: 50px;
    height: 50px;
}

.guild-btn:hover {
     background: #a83c0a;
    transform: scale(1.05);
}

.guild-btn span {
    line-height: 1.2;
}
.guild-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2d221c;
    border: 2px solid #6b4f37;
    padding: 10px 15px;
    text-decoration: none;
    color: rgb(241, 240, 233);
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;
    justify-content: left;
}

.guild-btn img {
    width: 50px;
    height: 50px;
}

.guild-btn:hover {
    background: #a83c0a;
    transform: scale(1.05);
}

.guild-btn span {
    line-height: 1.2;
}

.guild-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2d221c;
    border: 2px solid #6b4f37;
    padding: 10px 15px;
    text-decoration: none;
    color: rgb(241, 240, 233);
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;
    justify-content: left;
}

.guild-btn img {
    width: 50px;
    height: 50px;
}

.guild-btn:hover {
    background: #a83c0a;
    transform: scale(1.05);
}

.guild-btn span {
    line-height: 1.2;
}

/* Guild button - Dark Mode */
body.dark-mode .guild-btn {
    background: #444;
    border-color: #777;
    color: #fff;
}

body.dark-mode .guild-btn:hover {
    background: #666;
    border-color: #999;
}