
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* End of css reset */

:root {
    --background: #DCD7C9;
    --text: #2C3930;
    --hover: #9EBC8A;
    --style-backing: #537D5D;
    --style-backing-2: #73946B;
    --buttons: #697565;
}


header{
    height: 13vh;
    width: 100%;
    background-color: var(--style-backing);
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header h1{
    font-size: 35px;
    font-weight: bold;
    text-align: center;

}

header button{
    width: 15vw;
    height: 5vh;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
    box-sizing: border-box;
    align-self: center;
    background-color: var(--style-backing);
    border-radius: 15px;
}

header button:hover{
    background-color: var(--style-backing-2);
}

#title{
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    background-color: var(--style-backing-2);
    width: 25%;
    justify-self: center;
    margin-top: 15px;
}


body{
    box-sizing: border-box;
    background-color: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

#searchForm{
    height: 13vh;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--text);
    font-size: 22px;
    font-weight: bold;
    align-content: center;
    flex-wrap: wrap;
}

select, input, .forms button{
    width: 30vw;
    height: 5vh;
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#searchForm #submit, .forms button{
    align-self: flex-end;
    background-color: var(--style-backing-2);
    border-radius: 15px;
}

#searchForm #submit:hover, .forms button:hover{
    background-color: var(--style-backing);
    color: var(--hover);
}

#columns{
    display: flex;
    justify-content: space-evenly;
}

#columns a{
    text-decoration: none;
    color: var(--style-backing);
    font-weight: bold;
}

#columns a:hover{
    color: var(--text);
}

#columnsLabel{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-top: 15px;
}

h3{
    font-weight: bold;
}

#buttons{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

#buttons button{
    width: 45%;
}



.languageCard {
    background-color: var(--style-backing-2);
    justify-self: center;
    width: 100%;
    height: 100%;
    display: flex; /* ✅ Makes vertical alignment inside easier */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Keeps spacing tidy */
    align-content: center;
    text-align: center;
    margin: 15px 0;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
    justify-content: center;
    align-items: center;
}

.languageCard p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* ensures it wraps normally */
}

.languageCard button{
    background-color: var(--style-backing-2);
    border: 1px black solid;
    border-radius: 15px;
    padding: 5px;

}

.delete:hover{
    text-decoration: line-through;
}


.languageCard button a{
        text-decoration: none;
        color: var(--text);
}

.languageCard button:hover{
    background-color: var(--style-backing);
    color: var(--hover);
}

.data{
    display: grid;
    width: 100%;
    grid-template-columns: 23% 23% 23% 23%;
    grid-gap: 10px;
    align-items: stretch;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 15px 5px;
}

.data button{
    width: 50%;
    background-color: var();
}

.pagination{
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
    width: 50%;
    text-align: center;
    justify-self: center;
    justify-content: space-evenly;

}

.pagination a{
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
}

.pagination a:hover{
    color: var(--hover);
    text-decoration: underline;
}

.languageCardwFam {
    background-color: var(--style-backing-2);
    justify-self: center;
    width: 100%;
    height: 100%;
    display: flex; /* ✅ Makes vertical alignment inside easier */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Keeps spacing tidy */
    align-content: center;
    text-align: center;
    margin: 15px 0;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
    justify-content: center;
    align-items: center;
    grid-column: 2 / 4;
}

.languageCardwFam p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* ensures it wraps normally */
}

.languageCardwFam button{
    background-color: var(--style-backing-2);
    border: 1px black solid;
    border-radius: 15px;
    padding: 5px;

}

.languageCardwFam h3{
    margin-top: 5px;
}

.delete:hover{
    text-decoration: line-through;
}


.languageCardwFam button a{
        text-decoration: none;
        color: var(--text);
}

.languageCardwFam button:hover{
    background-color: var(--style-backing);
    color: var(--hover);
}



.changePage{
    display: flex;
    text-decoration: none;
    color: var(--text);
    background-color: var(--style-backing-2);
    border: 1px black solid;
    border-radius: 15px;
    padding: 5px;
    margin: 15px auto;
    text-align: center;
    justify-content: center;
    width: 25%;
}

.changePage:hover{
    background-color: var(--style-backing);
    color: var(--hover);
}

.forms{
    display: flex;
    width: 50%;
    background-color: var(--style-backing-2);
    justify-self: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border-radius: 15px;
}

.forms h2{
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.forms select, .forms input{
    margin: 15px 0;
}

.forms label{
    font-size: 18px;
}

.meOnly{
    display: flex;
    width: 50%;
    background-color: var(--style-backing-2);
    justify-self: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 10px;
    flex-direction: column;
    margin-left: 25px;
    border-radius: 15px;
}

.meOnly h2{
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.meOnly select, .meOnly input{
    margin: 15px 0;
    align-self: center;
}

.meOnly label{
    font-size: 18px;
}

.meOnly button{
    width: 30vw;
    height: 5vh;
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    align-self: center;
    background-color: var(--style-backing-2);
    border-radius: 15px;
}

.makerLogIn{
    display: flex;
    justify-content: space-around;
    width: 75%;
    justify-self: center;
    margin-bottom: 15px;
}




#logInPage, #accountMaker{
    text-align: center;
}

#logInPage h1, #accountMaker h1{
    margin: 15px 0;
    font-size: 25px;
    font-weight: bold;
}

#logIn, #submitAccount{
    display: flex;
    flex-direction: column;
    width: 75%;
    align-items: center;
    justify-self: center;
    text-align: center;
}

#logIn label, #submitAccount label{
    font-size: 20px;
    font-weight: bold;
}

#logIn input, #logIn button, #logIn a, #submitAccount input, #submitAccount button, #submitAccount a{
    margin-bottom: 25px;
}

#logIn a, #logIn button, #submitAccount a, #submitAccount button{
    width: 30vw;
    height: 5vh;
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    align-self: center;
    background-color: var(--style-backing-2);
    border-radius: 15px;
    color: var(--text);
    text-decoration: none;
    align-content: center;
}

#logIn a:hover, #logIn button:hover, #submitAccount a:hover, #submitAccount button:hover{
    background-color: var(--style-backing);
    color: var(--hover);
}

.signInButton a{
    color: var(--text);
    text-decoration: none;
}