@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500&display=swap');

*{
    box-sizing:border-box;
}

h1{
    font-size:clamp(1.8rem,3vw,2.4rem);
}

h2{
    font-size:clamp(1.2rem,2vw,1.6rem);
}

body{
    margin:0;
    font-family:'Inter', sans-serif;
    background: #0e0e0f;
    color:#d6d6de;
    scroll-behavior: smooth;
}

/* NAVIGATION */

nav{
    background:#0e0e0f;
    border-bottom:1px solid #23232e;
}

nav ul{
    list-style:none;
    margin:0;
    padding:12px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:16px;
}

nav li{
    margin:0 16px;
}

nav a{
    text-decoration:none;
    color:#a8a8b8;
    font-size:14px;
    transition:0.2s;
}

nav a:hover{
    color:#c7a6ff;
}

/* MAIN */

main{
    padding:40px;
    max-width:900px;
    margin:auto;
}

/* SECTIONS */

section{
    background:#15151d;
    padding:22px;
    margin-bottom:22px;
    border-radius:8px;
    border:1px solid #242433;
}

/* INPUTS */

textarea,
input{
    width:100%;
    padding:10px;
    margin-bottom:12px;
    border-radius:6px;
    border:1px solid #2a2a3a;
    background:#0f0f16;
    color:#e0e0e8;
    font-family:'Inter', sans-serif;
}

/* BUTTON */

button{
    background:#7b5cff;
    color:white;
    border:none;
    padding:9px 18px;
    border-radius:6px;
    cursor:pointer;
    font-size:14px;
    transition:0.2s;
}

button:hover{
    background:#6b4ef0;
}

/* TABLE */

table{
    width:100%;
    border-collapse:collapse;
    display:block;
    overflow-x:auto;
}

th, td{
    padding:10px;
    border-bottom:1px solid #252536;
    font-size:14px;
}

th{
    text-align:left;
    color:#c7a6ff;
}

/* IMAGE */

figure{
    text-align:center;
}

img{
    max-width:100%;
    height:auto;
    border-radius:10px;
}


/* GRID LAYOUT */
.resource-grid {
    margin-top: 20px ;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
} 

/* CARD STYLE */
.card {
    background: #1a1a24;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #2a2a3a;
    cursor: pointer;
}

/* IMAGE */
.card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 10px;
}

/* LINK */
.card a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #d6d6de;
    font-size: 14px;
    font-weight: 500;
}

/* HOVER EFFECT */
.card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #7b5cff;
    box-shadow: 0 10px 25px rgba(123, 92, 255, 0.2);
}

.card:hover a {
    color: #c7a6ff;
}

/* PDF STYLE */
.pdf {
    background: #1a1a24;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid #2a2a3a;
    cursor: pointer;
    
    display: flex;
    justify-content: center;
}


/* LINK */
.pdf a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #d6d6de;
    font-size: 14px;
    font-weight: 500;
}

/* HOVER EFFECT  */
.pdf:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #7b5cff;
    box-shadow: 0 10px 25px rgba(123, 92, 255, 0.2);
}

.pdf:hover a {
    color: #c7a6ff;
}

#note {

    color: rgb(228, 89, 89);
}


@media (max-width:768px){

main{
    padding:25px 15px;
}

section{
    padding:18px;
}

nav ul{
    gap:10px;
}

button{
    width:100%;
}

}