/* font-family: 'Montserrat', sans-serif; 
font-family: 'Open Sans', sans-serif;
font-family: 'Playpen Sans', cursive; */
/* Amatic SC */
/* font-family: 'Smooch Sans', sans-serif; */
/* font-family: 'Fredericka the Great', serif; */

:root {
    --color-cinza-padrão: #495D63;
    --color-azul-caneta: #567FFA;
    --color-azul-canetaEscuro: #4041FA;
}

* {
    font-family: Verdana, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

body {
    height: 100vh;
    background-size: 1000px;
    background-position: center center;
    background-image: url(../images/bg.jpeg);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 63px;
    padding: 1% 3%;
    /* background: rgb(162,250,166);
background: linear-gradient(90deg, rgba(162,250,166,0.42629551820728295) 2%, rgba(249,164,244,0.4515056022408963) 44%, rgba(215,255,234,0.6307773109243697) 100%);*/

}

header nav ul {
    display: flex;
    gap: 1em;
}

header nav ul li a {
    cursor: pointer;
    color: #495D63;
    font-size: 25px;
    font-family: 'Smooch Sans', sans-serif;
}

header nav ul li a:hover {
    font-size: 30px;
    color: black;
    transition: 0.4s;
}

.home {
    display: flex;
}

.regua-img {
    background: url(../images/regua.svg) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 150px;
    margin-top: 50px;
}

.main-title {
    font-family: 'Fredericka the Great', serif;
    text-align: center;
    font-size: 50px;
    color: #4041FA;
    text-transform: uppercase;
}

.txt-home {
    text-align: center;
    font-size: 20px;
    font-family: 'Fredericka the Great', serif;
    margin-top: 10px;
    color: #000;
    text-transform: uppercase;

}

footer p {
    font-size: 10px;
    text-align: center;
    color: #495D63;
}


.formas {
    margin: 30px;
    padding: 30px;
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

figure {
    text-align: center;
    
}

figcaption {
    margin-top: 10px;
    cursor: pointer;
    font-family: 'Smooch Sans', sans-serif;
    font-size: 23px;
    color: #000;
}

figcaption:hover {
    color: var(--color-azul-caneta);
    transition: 0.4s;

}

#container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15rem;
}

#calculadora {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    color: #f8fafc;
    background-color: #262626;
    border-radius: 8px;
    
}

#form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.title-form {
    font-size: 1.8rem;
    font-family: 'Playpen Sans', cursive; 
    position: relative;
}

.title-form::after {
    position: absolute;
    content: "";
    background-color: #4041FA;
    height: 3px;
    width: 8rem;
    border-radius: 3px;
    bottom: 0;
    left: 0;
}

#input-box {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 500;
}

#input-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #3f3f46;
    padding: 0.3rem;
    border-radius: 3px;
    margin-top: 3px;
}

#input-field span,
#input-field i {
    color: #cbd5e1;
    font-size: 1.3rem;
    padding: 0.6rem 1rem;
}

#input-field input {
    background-color: transparent;
    border: none;
    width: 100%;
    font-size: 1.3rem;
    color: #f8fafc;
    padding: 0 0.5rem;
}

#input-field input::-webkit-outer-spin-button,
#input-field input::-webkit-inner-spin-button {
    appearance: none;
}

#input-field input:focus {
    outline: none;
}

#Calculate {
border: none;
font-size: 1.25rem;
font-weight: bold;
background-color: #4041FA;
color: #f8fafc;
padding: 0.5rem 0;
border-radius: 3px;
cursor: pointer;
}

#Calculate:active {
    box-shadow: inset -1px 1px 0 #4041FA;
    font-size: 1.50rem;
}

#Calculate:hover {
    background-color: #fff;
    color: #4041FA;
    transition: 0.5s;
}

#result {
    display: flex;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid #ffffff34;
    padding: 0.75rem 0;
}

#area {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 2.25rem;
}

#area span:last-child {
    font-size: 0.875rem;
    color: #cbd5e1;
}

#descripition {
    width: 15.5rem;
}

#more-info {
    border-top: 1px solid #ffffff34;
    padding-top: 1.5rem;
}

#more-info a {
    color: #4041FA;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.5s;
}

#more-info a:hover {
    color: #cbd5e1;
}

.hidden {
    display: none;
}

@media screen and (max-width: 1024) {
    #math-img {
        display: none;
    }
}

@media screen and (max-width: 500) {
    #container {
        width: 100%;
        height: 100%;
    }

    #Calculator {
        width: 100%;
        height: 100%;
        border-radius: 0;
        justify-content: center;
    }
}



