* {
    box-sizing: border-box;
    margin: 0;
}

main {
    max-width: 1400px;
    width: 90%;
    margin: 50px auto 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 {
    text-align: center;
    font-size: 50px;
    background: linear-gradient(to bottom, #4d6799, #31466b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0 0 10px 0;
    user-select: none;
}

h3{
    text-align: left;
    font-size: 35px;
    background: linear-gradient(to bottom, #f5daa4, #dec184);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0 0 20px 0;
    user-select: none;
}

main p {
    font-size: 25px;
    color: #746d68;
    text-align: center;
    margin: 0 0 40px 0;
}

.resources-container {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.resource-section {
    width: 100%;
}

.resource-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-section ul a {
    display: block;
    text-decoration: none;
    background-color: #fffbf7;
    border: 1px solid #ddd7d2;
    border-radius: 12px;
    padding: 18px 25px;
    font-size: 25px;
    color: #746d68;
    line-height: 1.5;
    transition: color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.02);
}

.resource-section ul a strong {
    color: #4d6799;
    transition: color 0.3s ease;
}

.resource-section ul a:hover {
    box-shadow: 0 8px 20px rgba(58, 81, 125, 0.15);
    border-color: #4d6799;
    transform: translateX(8px);
    background-color: #fcf6ef;
}
@media screen and (max-width: 1024px) {
    h2{
        font-size: 40px;
    }
    h3 {
        font-size: 28px;
    }
    main p {
        font-size: 20px;
    }
    .resources-container {
        width: 100%;
    }
    .resource-section ul a {
        font-size: 20px;
        padding: 15px 20px;
    }
}

@media screen and (max-width: 768px) {
    .resource-item:hover {
        transform: none;
    }
}

@media screen and (max-width: 480px) {
    h2{
        font-size: 32px;
    }
    h3 {
        font-size: 23px;
    }
    main p {
        font-size: 16px;
    }
    .resources-container {
        width: 100%;
    }
    .resource-section ul a {
        font-size: 16px;
        padding: 12px 16px;
    }
}