@import url(reset.css);

@font-face {
    font-family: TFont;
    src: url(Media/tf2build.ttf);
}
@keyframes Wiggle {
    0% {transform: rotate(-10deg);}
    50% {transform: rotate(10deg);}
    100% {transform: rotate(-10deg);}
}

h1 {
    font-family: TFont;
}

body {
    background-color: #dabdab;
    overflow-x:hidden;
}

#testInterface {
    width: 40vw;
    border: solid 0.25vw black;
    border-radius: 5vw;
    height: 80vh;
    display: grid;
    grid-template-rows: 0.5fr 1fr 1fr 1fr 1fr;
    gap: 2.5vh;
    padding: 2vh;
    align-items: center;
    justify-content: center;
}

#testInterface, #FlashCardInterface, #AnswerReceipt, #ReviewHolder {
    background-color: #c1a18a;
}

#ReviewHolder {
    width: 40vw;
    border: solid 0.25vw black;
    border-radius: 5vw;
    display: flex;
    flex-direction: column;
    gap: 5vh;
    padding: 2vh;
    align-items: center;
    justify-content: center;
    margin-top: 5vh;
}

.ReviewCardF, .ReviewCardT {
    border: solid 0.25vw black;
    padding: 3vh;
    border-radius: 0.5vw;
}

#ChosenMerc {
    position: absolute;
    height: 25%;
    width: 25%;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.5fr;
    grid-template-rows: repeat(4, 1fr);
    background-color: white;
    overflow: hidden;
    border: black 0.25vw solid;
    border-radius: 0.5vw;
}

.ReviewCardF {
    background-color: #bd3b3b;
}

.ReviewCardT {
    background-color: #5b7a8c;
}

.reviewQuestion {
    font-size: 3.5vh;
    font-family: sans-serif;
}

#WebContent {
    margin-top: 5vh;
    display: flex; 
    width: 100vw; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
}

#AnswerReceipt {
    width: 40vw;
    border: solid 0.25vw black;
    border-radius: 0.5vw;
    height: 80vh;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 2.5vh;
    padding: 2vh;
    align-items: center;
    justify-content: center;
}

.ReciptWord {
    font-size: 2.5vw;
    text-align: center;
    font-family: sans-serif;
}

#FlashCardInterface {
    width: 40vw;
    border: solid 0.25vw black;
    border-radius: 5vw;
    height: 70vh;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 2.5vh;
    padding: 2vh;
    align-items: center;
    justify-content: center;
}

#ButtonHolder {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

#PosButton, #NegativeButton, #MultiplyButton, #DivideButton {
    width: 25%;
}

#PosButton:hover, #NegativeButton:hover, #MultiplyButton:hover, #DivideButton:hover {
    animation-name: Wiggle;
    animation-duration: 0.35s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#testInterface * {
    height: 100%;
}

h2,h3,h4,h5,h6,p,input,button {
    font-family: sans-serif;
}

h1 {
    font-size: 5vh;
    text-align: center;
}

input,button,#ReviewCardT,#ReviewCardF {
    text-align: center;
    font-size: 1.5vw;
    border-radius: 0.5vw;
    border: solid black 0.25vw;
}

#MercText {
    font-size: 1.5vw;
    font-family: sans-serif;
}