html {
    scrollbar-color: rgba(10, 98, 98, 0.975) rgb(172, 192, 172);
    scrollbar-width: thin;
    scroll-behavior: smooth;    
    cursor: url('Point.svg'), pointer;
}
    
::selection{
    background: #15879a;
}

@font-face {
    font-family: canela-m;
    src: url(../fonts/canela-l.otf);
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: canela-l;
    src: url(../fonts/canela-l.otf);
    font-style: italic;
}

/* header{
    position: fixed;
} */
/* 
to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;

} */

#profile-icon{
    width: 60x;
    height: 60px; 
    cursor: url('../img/pointer.svg'), pointer;
}

#profile-header{
    font-family: 'Lucida calligraphy', 'monotype cirsive', 'canela-m', 'canela-l';
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: space-between;
}

#name-group{
    display: flex;
    align-items: center;
    gap: 1px;
}

#website-logo{
    width: 60px;
    height: 60px;
    cursor: url('../img/pointer.svg'), pointer;
}

#nav-bar{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #15879a;
    padding: 12px 0px;
    margin: 0;
    border-radius: 8px;
    margin-bottom: 20px;
}

#nav-bar a,
#nav-bar .dropbtn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    background: none;
    border: none;
    padding: 0 12px;
    cursor: url('Point.svg'), pointer;

}

/* Ensure the button inherits the page font and loses native styling */
#nav-bar .dropbtn {
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    /* force same weight/size/display as links */
    font-weight: 700 !important;
    font-size: inherit;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    background: none;
    border: none;
    padding: 0 12px;
}

#nav-bar a:hover,
#nav-bar .dropbtn:hover {
    color: #c3eef4;
    font-weight: 700;
    cursor: url('../img/pointer.svg'), pointer;
}

#nav-bar .dropdown {
    position: relative;
    font-weight: 700;
}

#nav-bar .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    overflow: hidden;
    z-index: 10;
    font-weight: 700;
}

#nav-bar .dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: #1b1b1b;
    text-decoration: none;
    font-weight: 700;
}

#nav-bar .dropdown-content a:hover {
    background: #f0f8fa;
    font-weight: 700;
    cursor: url('../img/pointer.svg'), pointer;
}

#nav-bar .dropdown:hover .dropdown-content {
    display: block;
    font-weight: 700;
    cursor: url('../img/pointer.svg'), pointer;
}

#help {
    list-style: none;
    padding-left: 0;
}

#help li {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    margin-left: -35px;
}

#help li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    padding: 0.4rem;
    margin: 4px 0px 0px 0px;
    background-image: url(../img/Crossed.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

a,label{
    cursor: url('../img/pointer.svg'), pointer;
    text-decoration: none;

}
.target-footer-footer-links-ul-li{
    cursor: url('../img/pointer.svg'), pointer;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8f7;
    color: #1b1b1b;
    line-height: 1.6;
}

main {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
}

.main-login {
    max-width: 70%;
    margin: 0 auto;
    padding: 12px;
}

#site-header {
    padding: 20px 10px;
}

.about-book,
.target-book, .target-imgs {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.target-footer {
    background: #beced0a2;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.target-login {
    background: #ffffff;
    padding: 70px 100px 150px 100px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.form-group{
    margin: 50px;
}


.target-book ul {
    padding-left: 20px;
    margin: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 243.2px);
    justify-content:flex-start;
    gap: 16px;
}

.image-grid a {
    width: 243.2px;
    height: 350.34px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: url('../img/pointer.svg'), pointer;
}

.login-form{
    text-align: center;
}
.login-btn{
    color: rgb(255, 255, 255);
    background-color:#15879a;
    border-radius: 20px;
    padding: 12px 20px;
}
.username, .email, .password{
    border: #15879a solid;
    border-radius: 12px;
    padding: 5px 20px;
    cursor: url('../img/pointer.svg'), pointer;
}
.login-btn:hover, .target-footer-footer-links-ul:hover{
    cursor: url('../img/pointer.svg'), pointer;

}

#website-logo-footer{
    width: 60px;
    height: 60px;
    margin: 30px 5px 30px 30px;
    position: relative;
}

.footer-logo-and-title{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: url('../img/point.svg'), pointer;
}

.footer-links{
    display: flex;
    margin-left: 100px;
}

.footer-links > span {
  display: block;
  margin-bottom: 6px; 
  font-weight: 700;   
}

.footer-links ul {
  margin-top: 20px;
  padding-left: 0px;
}
.links{
    color: #467b84;
    
}

/* Footer: sitemap and contact icons */
.sitemap-list, .contact-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}

.sitemap-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.sitemap-list li a { 
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.sitemap-list li a {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 6px;
}

.sitemap-list li a:hover {
    background: rgba(21,135,154,0.08);
    color: #15879a;
}

.contact {
    margin-left: 240px;
}

.contact-list {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.contact-list .li-footer {
    margin: 0;
}

.footer-logos {
    width: 28px;
    height: auto;
    display: block;
}

.footer-copy {
    border-top: 1px solid rgba(0,0,0,0.12);
    margin-top: 12px;
    padding-top: 10px;
    text-align: center;
    color: #333;
    font-size: 0.95rem;
}
