@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Poppins:wght@700&display=swap');
|
|
|
|
/*Variaveis*/
|
|
:root {
|
|
--primary-color: #101026;
|
|
--secundary-color: #1d1d2e;
|
|
--text-color: #fff;
|
|
--border-color: #fff;
|
|
--btn-primary: #fff;
|
|
--btn-hover-color: #1d1d2e;
|
|
--fira-code: 'Fira Code', monospace;
|
|
--poppins: 'Poppins', sans-serif;
|
|
}
|
|
|
|
/*Reset*/
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
list-style: none;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--secundary-color);
|
|
color: var(--text-color);
|
|
height: 100vh;
|
|
font-family: var(--fira-code)
|
|
}
|
|
|
|
::selection {
|
|
background-color: var(--text-color);
|
|
color: var(--primary-color)
|
|
}
|
|
|
|
/*Classes auxiliares*/
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 1.2rem 1.5rem;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
/*Página de extinções*/
|
|
.table-animais {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-animais>thead {
|
|
background-color: #fff;
|
|
color: #101026;
|
|
}
|
|
|
|
.table-animais>thead>tr>th {
|
|
border: 1px solid var(--pramary-color);
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
.table-animais>tbody>tr>td {
|
|
border: 1px solid #fff;
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
|
|
/*página inicial*/
|
|
main {
|
|
height: 75%;
|
|
}
|
|
|
|
/*Header*/
|
|
.header__logo {
|
|
width: 75%;
|
|
}
|
|
|
|
.header__list {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
}
|
|
|
|
.list__item {
|
|
padding: 5px 10px;
|
|
background-color: var(--btn-primary);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.list__item--link {
|
|
color: #1d1d2e;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.list__item:hover {
|
|
transform: scale(1.1);
|
|
background-color: var(--btn-hover-color);
|
|
border: 1px solid var(--border-color);
|
|
|
|
}
|
|
|
|
.list__item:hover>.list__item--link {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
|
|
/*Hero*/
|
|
.hero__content {
|
|
width: 100%;
|
|
}
|
|
|
|
.hero__content h2 {
|
|
font-family: var(--poppins);
|
|
font-size: 45px;
|
|
line-height: 45px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.hero__form {
|
|
width: 100%;
|
|
}
|
|
|
|
.newsletter {
|
|
width: 100%;
|
|
height: 80px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
margin-top: 10px;
|
|
gap: 5px;
|
|
}
|
|
|
|
.input-group {
|
|
width: 100%;
|
|
height: 40px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.input-group input {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.input-group input::placeholder {
|
|
color: #101026;
|
|
}
|
|
|
|
.input-group input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.form__btn {
|
|
width: 100%;
|
|
height: 40px;
|
|
background-color: var(--btn-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form__btn:hover {
|
|
background-color: var(--btn-hover-color);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/*Página de boas vindas*/
|
|
.boas-vindas {
|
|
height: 100%
|
|
}
|
|
|
|
.boas-vindas>.container>.row>.content {
|
|
width: 60%;
|
|
text-align: center;
|
|
}
|
|
|
|
.boas-vindas>.container>.row>.content h2 {
|
|
font-size: 42px;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*footer*/
|
|
.footer {
|
|
height: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.footer__copy {
|
|
font-size: 12px;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Small devices (landscape phones, 576px and up)*/
|
|
@media (min-width: 576px) {
|
|
.header {
|
|
height: 80px;
|
|
}
|
|
|
|
.header .container .row {
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.header__logo {
|
|
width: 25%;
|
|
}
|
|
|
|
.header__list {
|
|
width: 75%;
|
|
justify-content: flex-end;
|
|
column-gap: 8px;
|
|
}
|
|
|
|
main {
|
|
height: calc(100% - 100px);
|
|
}
|
|
|
|
}
|
|
|
|
/* Medium devices (tablets, 768px and up)*/
|
|
@media (min-width: 768px) {
|
|
.hero {
|
|
height: 100%;
|
|
}
|
|
|
|
.hero .container .row {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
/* Large devices (desktops, 992px and up)*/
|
|
@media (min-width: 992px) {
|
|
.newsletter {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.hero__content {
|
|
width: 40%;
|
|
}
|
|
|
|
.hero__form {
|
|
width: 40%;
|
|
}
|
|
|
|
.input-group {
|
|
width: 79%;
|
|
}
|
|
|
|
.form__btn {
|
|
width: 20%;
|
|
}
|
|
}
|
|
|
|
/* X-Large devices (large desktops, 1200px and up)*/
|
|
@media (min-width: 1200px) {}
|
|
|
|
/* XX-Large devices (larger desktops, 1400px and up)*/
|
|
@media (min-width: 1400px) {}
|