Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- padding:0;
- margin:0;
- box-sizing: border-box;
- }
- body{
- font-family: 'Noto Sans', sans-serif;
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- height: 100vh !important;
- font-family: 'Noto Sans', sans-serif;
- color: #222222;
- }
- .hero{
- background: linear-gradient(rgba(68, 13, 13, 0.35), rgba(38,2,2,0.446)), url(https://1.bp.blogspot.com/-NHz1heKpzyI/YIxhx2WIsvI/AAAAAAAAQUM/BjwSuUBHz1gtjWiEN0jMTLor6Z_0jKZLACLcBGAsYHQ/s0/fondo-edeptec.jpg) no-repeat center/cover;
- background-attachment: fixed;
- height: 100vh;
- color: white;
- }
- .hero__nav{
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin: auto 3rem;
- padding-top: 2rem;
- padding-bottom: 2rem;
- color: #CCC;
- }
- .nav__title , .nav__title > span {
- margin: 0;
- text-transform: uppercase;
- font-weight: 700;
- font-stretch: wider;
- font-size:1.9rem;
- text-shadow: 0px 2px 5px rgb(26, 24, 24);
- }
- nav > a {
- text-decoration: none;
- color: white;
- padding-left: 1rem;
- padding-right: 1rem;
- font-weight: bold;
- }
- nav > a:hover {
- text-decoration: none;
- color:red;
- padding-left: 1rem;
- padding-right: 1rem;
- transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
- }
- .hero__content{
- margin-top: 8rem;
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- .content__title{
- text-transform: capitalize;
- font-family: 'Montserrat', sans-serif;
- font-size: 1.5rem;
- margin-bottom: 0.5rem;
- font-weight: bold;
- }
- .content__description{
- font-family: 'Montserrat', sans-serif;
- text-transform: uppercase;
- font-size: 4rem;
- font-weight: 20px;
- margin-bottom: 2.5rem;
- }
- .content__cta{
- text-decoration: none;
- color: white;
- font-size: 0.8rem;
- font-family: 'Montserrat', sans-serif;
- text-transform: uppercase;
- font-weight: 700;
- border:3px solid white;
- padding: 1rem 2rem;
- border-radius: 20px;
- display: inline-block;
- align-self: center;
- transition: all 0.5s cubic-bezier(0.86, 0, 0.07, 1);
- }
- .content__cta:hover{
- background:rgb(63, 63, 63);
- }
- @media screen and (max-width:2048px){
- .hero__content{
- margin-top: 15rem;
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- }
- @media screen and (max-width:1024px){
- .hero__content{
- margin-top: 10rem;
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- }
- @media screen and (max-width:360px) {
- .hero__content{
- margin-top: 5rem;
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- }
- @media(max-width:540px) {
- .hero{
- padding-left: 1rem;
- padding-right: 1rem;
- }
- .hero__nav{
- display: flex;
- flex-direction: column;
- justify-content: center;
- margin:auto;
- padding-top: 2rem;
- padding-bottom: 0;
- }
- .nav__title, nav{
- margin-top: 20px;
- text-align: center;
- }
- .content__description{
- font-size: 3.1rem;
- }
- }
Add Comment
Please, Sign In to add comment