LigaDasOrquideas/Assets/css/main.css

530 lines
8.7 KiB
CSS

:root {
--lilas-nebuloso: #D4C6D4;
--rosa-neve: #F3EFEF;
--azul-nevoeiro: #C7D2D8;
--bege-areia: #E2D8C3;
--verde-salvia: #8AA39B;
--onyx: #454545;
--coral: #FC814A;
--emerald: #23CE6B;
--nyanza: #E4FDE1;
/* Informaçoes da paleta de cores */
--primary-color: var(--lilas-nebuloso);
--secondary-color: var(--verde-salvia);
--accent-color: var(--bege-areia);
--background-color: var(--verde-salvia);
--text-color: var( --rosa-neve);
--secondary-text-color: var(--verde-salvia);
--shandow-color: var(--onyx);
--line-color: var(--azul-nevoeiro);
--error-color: var(--coral);
--success-color: var(--emerald);
--info-color: var(--nyanza);
--font-family: 'Roboto', sans-serif;
--heading-margin: 0 0 20px;
}
body{
font-family: var(--font-family);
background: var(--background-color);
margin: 0;
padding: 0;
}
/* */
/* TOP-BAR */
/* */
.top-bar{
width: 100%;
height: 100px;
display: flex;
flex-direction: row;
color: var(--background-color);
background-color: var(--primary-color);
}
.top-bar .branding{
flex-grow: 2;
display: flex;
margin-left: 100px;
align-items: center;
justify-content: start;
}
.top-bar .branding img{
width: 80px;
height: auto;
}
.top-bar .branding a{
display: flex;
flex-direction: row;
text-decoration: none;
color: var(--background-color);
}
top-bar .branding h1{
font: var(--font-family);
font-weight: bold;
font-size: 40px;
}
.top-bar .menu{
flex-grow: 2;
display: flex;
margin-right: 100px;
/* background-color: #23CE6B; */
align-items: center;
justify-content: end;
}
.top-bar .menu-item{
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
}
.top-bar .menu-item a{
text-decoration: none;
font-family: var(--font-family);
color: var(--secondary-color);
}
.top-bar .menu-item a:hover{
color: var(--text-color);
}
.menu .menu-item li {
margin-right: 20px;
}
.menu .menu-item li:last-child {
margin-right: 0;
}
/* */
/* INDEX */
/* */
.hero{
width: 100%;
height: 90vh;
/* background: #23CE6B; */
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
}
.hero .hero-section{
background-color: var(--primary-color);
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.hero .hero-section img{
width: 70%;
height: auto;
}
.hero .info{
height: 100%;
background-color: var(--secondary-color);
}
.hero .info h1{
font: var(--font-family);
font-size: 38px;
font-weight: bold;
}
.hero .info p{
font: var(--font-family);
font-size: 18px;
width: 70%;
text-align: justify;
}
.hero .img{
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
#map {
height: 90vh; /* Defina a altura desejada */
width: 100%; /* Ajuste a largura conforme necessário */
}
/* */
/* peoples */
/* */
.people{
height: 100%;
width: 81%;
color: var(--primary-color);
/* background-color: #FC814A; */
}
.people h1{
font-weight: bold;
font-size: 38px;
margin: 0;
}
.people h5{
font-weight: 400;
font-size: 20px;
margin: 0;
}
.peoples{
height: 100%;
width: 100%;
padding: 20px;
color: var(--primary-color);
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 16px; /* Espaço entre os cards */
/* background-color: #FC814A; */
}
.box{
min-height: 200px;
width: 40%;
margin: 15px;
box-shadow: 0px 5px 5px var(--shandow-color);
background-color: var(--primary-color);
color: var(--secondary-color);
display: flex;
flex-direction: row;
text-decoration: none;
}
.box .box-image{
height: auto;
width: 600px;
background-color: #454545;
}
.box .box-image img{
width: 100%; /* ou o tamanho do contêiner */
height: 100%; /* ou o tamanho do contêiner */
object-fit: cover; /* Ajusta a imagem para caber dentro do contêiner sem cortar */
}
.box .box-info {
height: 100%;
min-width: 50%;
text-align: start;
margin: 10px;
}
.box .box-info h1{
font-size: 24px;
}
.box .box-info p{
font-size: 16 px;
text-align: justify;
}
.box .box-info .box-social{
background-color: #23CE6B;
width: 100%;
height: 25%;
}
/* */
/* pessoal page */
/* */
.pessoal-page{
width: 81%;
color: var(--primary-color);
display: flex;
flex-direction: row;
/* background-color: #FC814A; */
}
.pessoal-page .box{
width: 40%;
margin: 0;
box-shadow: 0px 5px 5px var(--shandow-color);
background-color: var(--primary-color);
color: var(--secondary-color);
display: flex;
flex-direction: column;
}
.pessoal-page .box .box-image{
height: 90%;
width: 100%;
background-color: #454545;
}
.pessoal-page .box .box-info {
width: 100%;
text-align: justify;
margin: 0;
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
/* background-color: #23CE6B; */
}
.pessoal-page .box .box-info hr{
border: 1px solid var(--line-color);
width: 99%;
}
.pessoal-page .box .box-info h1{
font-size: 24px;
text-align: center;
margin: 0;
}
.pessoal-page .box .box-info h3{
font-size: 18px;
text-align: center;
margin: 0;
}
.pessoal-page .box .box-info p{
font-size: 16 px;
margin: 15px;
}
.pessoal-page .info{
width: 100%;
height: 80vh;
padding: 0 15px;
display: flex;
flex-direction: column;
}
.pessoal-page .info p{
width: 100%;
/* height: 100%; */
}
.pessoal-page .info .info-content{
padding: 25px;
height: 50%;
background-color: #454545;
}
.pessoal-page .info .info-map{
height: 100%;
}
.pessoal-page .info .info-map #map{
width: 100%;
height: 100%;
}
/* */
/* PUB */
/* */
.publication{
margin: 5%;
background-color: var(--secondary-color);
}
.publication .pub-header{
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 25px;
}
.publication .pub-header h1{
font-size: 28px;
font-family: var(--font-family);
font-weight: 900;
color: var(--charcoal-blue);
}
.publication #article .bibliography{
margin: 25px;
color: var(--charcoal-blue);
}
.publication #article h2{
font-size: 36px;
font-family: var(--font-family);
font-weight: 900;
color: var(--charcoal-blue);
}
/* */
/* Sobre */
/* */
.sobre{
width: 80%;
text-align: justify;
}
.sobre p{
line-height: 1.8;
}
/* RESPONSIVEL */
@media (max-width: 768px) {
/* Ajustar a top-bar */
.top-bar {
flex-direction: column;
height: auto;
}
.top-bar .branding {
margin-left: 20px;
}
.top-bar .menu {
margin-right: 20px;
justify-content: center;
}
/* Ajustar hero section */
.hero {
flex-direction: column;
height: auto;
}
.hero .hero-section img {
width: 90%;
}
/* Ajustar a seção de pessoas */
.peoples {
flex-direction: column;
}
.box {
width: 90%;
margin: 10px 0;
}
/* Ajustar página pessoal */
.pessoal-page {
flex-direction: column;
width: 100%;
}
.pessoal-page .box {
width: 90%;
margin: 10px auto;
}
/* Ajustar publicação */
.publication {
margin: 10%;
}
.publication .pub-header {
flex-direction: column;
text-align: center;
}
.publication .pub-header h1 {
font-size: 24px;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
/* Ajustar a top-bar */
.top-bar {
flex-direction: row;
height: auto;
}
.top-bar .branding {
margin-left: 50px;
}
.top-bar .menu {
margin-right: 50px;
}
/* Ajustar hero section */
.hero {
flex-direction: column;
height: 70vh;
}
.hero .hero-section img {
width: 80%;
}
/* Ajustar a seção de pessoas */
.box {
width: 48%;
}
/* Ajustar página pessoal */
.pessoal-page {
flex-direction: column;
}
.pessoal-page .box {
width: 90%;
margin: 20px auto;
}
/* Ajustar publicação */
.publication {
margin: 8%;
}
.publication .pub-header h1 {
font-size: 26px;
}
}