/* static/style.css */

/*#region Base*/
 
body {
    background-color: #fff9d5;
    font-family: 'Courier New', Courier, monospace;
    color: rgb(60, 0, 124);
    text-align: center;
    font-size: large;
    height: 100%;
    margin: 0;
}

#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
}

main {
    height: 100%;
    padding-bottom:70px;
    flex: 1;
}

h2 {
    color: #3b0050;
    border-bottom: 1px solid #e0d9be;
    padding-bottom: 0.3em;
    margin-top: 1em;
}
.entry {
    margin-bottom: 1.5em;
    text-align: center;
}
.entry .date {
    font-weight: bold;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.column {
    flex: 1;
    min-width: 200px;
}

/*#endregion Base*/

/*#region Footer*/

footer {
    background-color: #3c007c;
    color: #fff;
    text-align: center;
    padding: 20px 20px;
    font-size: 0.9em;
    height: 50px;
}

footer a {
    color: #ffb6ff;
    text-decoration: none;
    margin: 10px 10px;
    transition: color 0.3s ease;
}

footer .links{
    transform: translateX(+18.5px);
}

footer a:hover {
    color: #fff;
}

/*#endregion Footer*/

/*#region Header*/

#main-heading{
    font-size: fa-2x;
    margin-bottom: 0px;
}

#introduction{
    text-align: center;
    font-size: large;
}

#socials {
    margin-top: 20px;
}

#socials a {
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
    color: rgb(60, 0, 124);
}

#socials a:hover {
    color: rgb(26, 2, 51);

}

/*#endregion Header*/

/*#region Cards*/

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    justify-content: center;
}

.project-card {
    background-color: #fff9d5;
    border: 2px solid rgb(168, 152, 98);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    text-decoration: none;
}

.project-card img {
    max-width: 100%;
    height: none;    
    object-fit: cover;   
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.image-wrapper {
    height: 200px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.project-card h3 a {
    color: #3c007c;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-card h3 a:hover {
    color: rgb(26, 2, 51);
}

.project-card p {
    color: #555;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/*#endregion cards*/

/*#region Curriculum*/

#curriculum-text{
    text-decoration: none;
    font-size:fa-3x;
    margin-bottom: 0px;
}

.curriculum-card:hover{
    background-color: #fff9d5;
    border: 2px solid rgb(168, 152, 98);
    border-radius: 8px;
    padding: 20px;
    padding-bottom: 25px;
    padding-top: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    text-decoration: none;
    transform: translateY(-7px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: fit-content;
}

#ptbr{
    font-size: 13px;
    color: rgb(26, 2, 51);
    transform: translateY(-15px);
    margin-bottom: 0;
}

/*#endregion Curriculum*/

/*#region Language*/

.language-toggle{
    text-align: end;
    margin-bottom: 0px;
    margin-top: 10px;
    margin-right: 20px;
}
.language-toggle button {
    margin: 5px;
    padding: 8px 16px;
    background-color: #fff9d5;
    border: 2px solid rgb(26, 2, 51);
    color: rgb(60, 0, 124);
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 0px;
}
.language-toggle button:hover {
    background-color: rgb(60, 0, 124);
    color: #fff9d5;;
}
.language-toggle button.selected {
    background-color: #6c3f9c;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
}

/*#endregion Language*/

/*#region Filter*/

.filter-buttons {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    transform: translateX(20px);
}

.filter-buttons button {
    background-color: #eee;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: bold;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-buttons button:hover {
    background-color: #ccc;
}

.filter-buttons button.selected {
    background-color: #6c3f9c;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
}

/*#endregion Filter*/