kinniku-web/estils.css

480 lines
8.4 KiB
CSS

/* CSS RESET*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*styles*/
body{
position: relative;
color: #3c3c3b;
font-family: 'Open Sans', sans-serif;
background-color: #f7d36e;
background-image: url(background_2.svg);
background-size: cover;
}
div{
text-align: center;
}
h1{
font-weight: 900;
font-size: 28px;
margin-top: 15px; /*Mirar què ficar-hi*/
margin-bottom: 10px;
}
h2{
font-weight: 900;
font-size: 24px;
margin-top: 15px;
margin-bottom: 10px;
line-height: 30px;
}
h3{
font-weight: 900;
font-size: 28px;
margin-top: 15px; /*Mirar què ficar-hi*/
margin-bottom: 10px;
}
p{
width: 100%;
font-size: 16px;
hyphens: auto;
line-height: initial;
}
ul{
padding: 0;
margin: 10px;
list-style: none;
}
li{
margin-top: 10px;
padding-bottom: 3px;
padding-top: 3px;
}
a{
color: #3c3c3b;
text-decoration: none;
font-weight: 400;
transition: 0.5s color;
}
a:hover{
color: #fff;
}
/* img{
display: block;
width: 100%;
margin: auto;
} */
footer{
padding: 30px 16px 30px 16px;
background-color: black;
color: #f5f0ed;
position: fixed;
z-index: 100;
bottom: 0;
left: 0;
width: 100%;
}
.column {
float: left;
width: 33.33%;
}
#col1 {
text-align: left;
}
#col2 {
}
#col3 {
text-align: right;
padding-right: 100px;
}
/* Clear floats after the columns */
/* .row:after {
content: "";
display: table;
clear: both;
} */
/* .header{
max-height: 405px;
padding: 16px; */
/* background-image: url(fondu.svg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover; */
/* color: #f5f0ed;
position: relative;
} */
.headerbar{
/*amb això la imatge em queda dins del div, segurament no és lo millor... */
/* height: 100px; */
height: 5vh;
padding: 16px 16px;
}
.logo{
/* float: left;
width: 160px; */
/* position: relative; */
/* min-height: 465px; */
/* padding: 16px; */
/* background-size: cover;
background-image: url(Imgs/Fondo1.jpg); */
/* object-fit: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center; */
/* z-index: -1;
color: #f5f0ed; */
height: 100%;
float: left;
}
.imatge_centrada{
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
/* text-align: center; */
}
.caixa1{
/* min-height: 465px; */
padding: 16px;
background-size: cover;
object-fit: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
z-index: -1;
color: #f5f0ed;
}
.caixa2{
background-color: #d03b40;
box-sizing: border-box;
color: #f5f0ed;
padding: 50px 16px 50px 16px;
max-height: 280px;
}
#languageShortname{
text-align: right;
}
#comingSoonImg{
width: 100%
}
@media screen and (max-width: 600px) {
.column {
width: 100%;
}
}
/*MediaQueries*/
@media screen and (max-width:600px){
.js .navegacion{
max-height: 0;
overflow: hidden;
transition: max-height .5s;
position: absolute;
top: 43px;
left: 30px;
right: 30px;
background-color: #d03b40;
border-radius: 10px;
}
.js .navegacion a{
padding: 5px 10px;
color: #f5f0ed;
}
.js .navegacion.menu-desplegado{
max-height: 250px;
}
}
@media screen and (min-width:601px) and (max-width: 1100px){
h1{
font-size: 40px;
margin-top: 0px;
margin-bottom: 0px;
width: 450px;
margin-left: auto;
margin-right: auto;
}
h2{
font-size: 26px;
margin-top: 0px;
margin-bottom: 0px;
width: 350px;
margin-left: auto;
margin-right: auto;
}
h3{
font-size: 22px;
margin-left: auto;
margin-right: auto;
}
p{
margin-left: auto;
margin-right: auto;
width: 550px;
}
.js .navegacion{
max-height: 0;
overflow: hidden;
transition: max-height .5s;
position: absolute;
top: 43px;
left: 30px;
right: 30px;
background-color: #d03b40;
border-radius: 10px;
}
.js .navegacion a{
padding: 5px 10px;
color: #f5f0ed;
}
.js .navegacion.menu-desplegado{
max-height: 250px;
}
footer{
padding: 0px;
float: left;
min-height: 150px;
width: 100%;
position: relative;
}
footer p{
position:absolute;
top: 50%;
transform: translateY(-50%);
padding-left: 25px;
}
.caixa1{
position: relative;
}
.textos{
margin-top: 0px;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
float: left;
}
.caixa2{
min-height: 250px;
width: 100%;
box-sizing: border-box;
display: grid;
align-content: center;
align-items: center;
justify-content: center;
}
.caixa3{
min-height: 250px;
width: 100%;
box-sizing: border-box;
display: grid;
align-content: center;
align-items: center;
justify-content: center;
}
.caixa2 p{
width: 415px;
}
.caixa3 p{
width: 415px;
}
.header{
min-height: 550px;
padding: 0px;
position: relative;
width: 100%;
display: grid;
align-content: center;
align-items: center;
justify-content: center;
}
.productes{
padding-left: 25px;
padding-right: 25px;
display: grid;
align-content: center;
align-items: center;
justify-content: center;
}
.producto{
padding: 0px;
box-sizing: border-box;
min-height: 200px;
margin-top: 10px;
margin-bottom: 30px;
position: relative;
}
.producto p{
width: 750px;
}
#productoFinal{
padding: 0px;
margin-bottom: 40px;
}
#productoInicial{
padding: 0px;
margin-top: 40px;
}
.rodona{
width: 110px;
display: block;
float: left;
margin-right: 20px;
margin-left: 40px;
margin-bottom: 40px;
}
.contacte{
float: left;
width: 100%;
}
.bloc1{
padding: 0px;
min-height: 250px;
float: left;
width: 100%;
box-sizing: border-box;
display: grid;
align-content: center;
align-items: center;
justify-content: center;
}
.bloc2{
padding: 0px;
min-height: 250px;
float: left;
width: 100%;
box-sizing: border-box;
display: grid;
align-content: center;
align-items: center;
justify-content: center;
}
.bloc1 p{
width: 450px;
}
.paquet{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin-top: 0px;
}
.paquet p{
width: 525px;
}
.header a{
width: 250px;
margin-left: auto;
margin-right: auto;
}
#barrota{
margin-bottom: 30px;
margin-top: 30px;
}
}