246 lines
3.7 KiB
CSS
246 lines
3.7 KiB
CSS
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
font-family: 'Arial', sans-serif;
|
|
scroll-behavior: smooth;
|
|
--main-color: #A040C0;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
header {
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 3em;
|
|
border-bottom: 1px solid #C0C0C0;
|
|
background-color: #FFFFFF;
|
|
z-index: 10;
|
|
}
|
|
|
|
header img {
|
|
height: 2.5em;
|
|
margin: 0.25em;
|
|
}
|
|
|
|
nav {
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
nav > *:first-child,
|
|
nav > *:last-child {
|
|
flex: 100px 1 1;
|
|
}
|
|
|
|
nav ul {
|
|
display: flex;
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
nav li a {
|
|
text-decoration: none;
|
|
padding: 1em 2em;
|
|
color: #808080;
|
|
}
|
|
|
|
nav li a:hover {
|
|
color: var(--main-color);
|
|
}
|
|
|
|
main span[id] {
|
|
position: relative;
|
|
top: -8em;
|
|
}
|
|
|
|
p a,
|
|
table a {
|
|
color: var(--main-color);
|
|
}
|
|
|
|
main .background {
|
|
background-image: var(--img);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-attachment: fixed;
|
|
background-size: cover;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
main .background {
|
|
background-attachment: unset;
|
|
}
|
|
}
|
|
|
|
main .home {
|
|
height: 100vh;
|
|
--img: url("/res/images/Italien-1.jpg");
|
|
}
|
|
|
|
main .picture-1 {
|
|
width: 100%;
|
|
margin: 0;
|
|
--img: url("/res/images/Italien-2.jpg");
|
|
height: 24em;
|
|
}
|
|
|
|
main .picture-2 {
|
|
width: 100%;
|
|
margin: 0;
|
|
--img: url("/res/images/Italien-3.jpg");
|
|
height: 24em;
|
|
}
|
|
|
|
main .home a {
|
|
text-decoration: none;
|
|
color: #000000;
|
|
top: calc(32vh - 1em);
|
|
position: relative;
|
|
font-size: 1.25em;
|
|
transition: top 0.25s, font-size 0.25s;
|
|
display: block;
|
|
width: fit-content;
|
|
margin: auto;
|
|
}
|
|
|
|
main .home a > div {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: fit-content;
|
|
margin: auto;
|
|
backdrop-filter: blur(16px);
|
|
padding: 1em 0.5em;
|
|
border-radius: 3em;
|
|
}
|
|
|
|
main .home a:hover {
|
|
font-size: 1.375em;
|
|
top: calc(32vh - 1.25em);
|
|
}
|
|
|
|
main .home img {
|
|
width: 8em;
|
|
height: 8em;
|
|
}
|
|
|
|
main .home h1 {
|
|
font-size: 3.5em;
|
|
margin: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
main .home h2 {
|
|
font-size: 1.125em;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
main section {
|
|
padding: 1em 0 2em 0;
|
|
}
|
|
|
|
main section p,
|
|
main section table {
|
|
max-width: 1000px;
|
|
margin: 1em auto;
|
|
}
|
|
|
|
main section p {
|
|
text-align: justify;
|
|
}
|
|
|
|
main section h3 {
|
|
text-align: center;
|
|
font-size: 2em;
|
|
}
|
|
|
|
main .about {
|
|
border-top: 1em solid #C0F080;
|
|
border-bottom: 1em solid #C0F080;
|
|
}
|
|
|
|
main .clients {
|
|
border-top: 1em solid #C0F080;
|
|
border-bottom: 1em solid #C0F080;
|
|
}
|
|
|
|
table td {
|
|
padding: 0.125em 0.5em;
|
|
}
|
|
|
|
footer {
|
|
height: 8em;
|
|
padding: 1em;
|
|
width: 100%;
|
|
background-color: #404040;
|
|
color: #FFFFFF;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2em;
|
|
}
|
|
|
|
footer img {
|
|
height: 4em;
|
|
width: 4em;
|
|
}
|
|
|
|
footer a {
|
|
align-self: center;
|
|
}
|
|
|
|
@media screen and (max-width: 1032px) {
|
|
nav li a {
|
|
padding: 1em;
|
|
}
|
|
main section p,
|
|
main section table {
|
|
margin: 1em;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 800px) {
|
|
footer {
|
|
flex-direction: column;
|
|
height: unset;
|
|
align-items: center;
|
|
gap: 1em;
|
|
padding-top: 3em;
|
|
}
|
|
footer > *:not(:first-child) {
|
|
width: 300px;
|
|
}
|
|
.home {
|
|
font-size: 0.5em;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 650px) {
|
|
nav li:first-child {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 550px) {
|
|
nav li:nth-child(2) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
nav li:nth-child(3) {
|
|
display: none;
|
|
}
|
|
}
|