1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
/* GLOBAL CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
h1 {
font-size: 2.6rem;
}
h3 {
font-size: 4.8rem;
}
h3 {
font-size: 3rem;
font-weight: normal;
}
h4, h5 {
font-size: 2.8rem;
}
li{
font-size: 2rem;
}
a {
color: #ffffff;
text-decoration: none;
}
body {
font-family: 'Poppins', sans-serif;
}
/* HEADER */
.main-head {
background: #5e7669;
color: #ffffff;
}
nav {
min-height: 10vh;
display: flex;
align-items: center;
width: 90%;
margin: auto;
flex-wrap: wrap;
}
nav ul {
display: flex;
flex: 1 1 40rem;
justify-content: space-around;
align-items: center;
list-style: none;
}
#logo {
flex: 2 1 40rem;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-weight: normal;
}
/* HERO */
.hero {
min-height: 90vh;
background: linear-gradient(rgb(158, 158, 150), transparent), url("/images/home.jpg");
background-size: cover;
background-position: center;
color: #3c4980;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.hero h3 {
padding: 3rem;
}
button {
padding: 2rem 6rem;
background: #5e7669;
color: #ffffff;
font-size: 1.8rem;
cursor: pointer;
border: none;
}
@media screen and (max-width: 885px) {
nav{
text-align: center;
}
#logo{
padding: 2rem;
}
} |
Partager