@import url('https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles&family=Merriweather&family=Montserrat:ital,wght@0,400;1,500&family=Sacramento&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Fuzzy Bubbles', cursive;
    background-color: #7cd770;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

nav{
    background-color: #75e242;
    height: 55px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: auto;
}

nav a{  
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    font-size: 20px;
    font-weight: 600;
    color: black;
    text-decoration: none;
    padding: 10px;
}

nav a:hover{
    background-color: #badf16;
}

.main{
    margin-top: 4rem;
    margin:auto;
    max-width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.quiz, .area, .hypotenuse, .is-triangle{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1.5rem 0;
}

.quiz .title, .area .title, .hypotenuse .title, .is-triangle .title{
    font-size: 3rem;
    font-weight: 500;
    margin: 20px 0;
}

.question-container{
    margin: 15px 0;
    font-size: 22px;
    font-weight: 500;
}

.question-container p{
    margin-bottom: 5px;
}

.question-container label{
    margin: 0 10px;
}

.message, .area-output, .hyp-output, .output{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
    margin-top: 3rem;
}

#retry-btn{
    margin: 0 auto;
}

#retry-btn, #submit-btn, #area-btn, #hyp-btn, #check-btn {
    border-radius: 28px;
    color: #000000;
    font-size: 23px;
    font-weight: 500;
    background-color: #51cc24;
    padding: 10px 40px;
    text-decoration: none;
    border: 2px solid #000000;
    margin-top: 20px;
}

#retry-btn:hover, #submit-btn:hover, #area-btn:hover, #hyp-btn:hover, #check-btn:hover {
    background-color: #d1d815ec;
    text-decoration: none;
    cursor: pointer;
}

.base, .height, .angle-input{
    font-size: 24px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    margin: 10px;
    text-align: center;
}

.base input, .height input, .angle-input input{
    margin-top: 10px;
}

input{
    font-size: 24px;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #c2e143;
}

.icons{
    display: flex;
    justify-content: center;
}

.icons i{
    margin: 0 2rem;
    color: black;
}

.icons i:hover{
    color: #cbc213;
}

.bottom-container{
    background-color: #4ce75e;
    height: 100px;
    width: 100%;
    margin-top: auto;
    padding: 1.5rem 0;
}

.footer-link{
    font-size: 1rem;
    display: inline-block;
}

.copyright{
    color: black;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
}