?
| Current Path : /home/webyoo/www/backup/allback/docteur-site/cv/sym/a/hanessiim/site/ |
| Current File : /home/webyoo/www/backup/allback/docteur-site/cv/sym/a/hanessiim/site/styles.css |
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Set the body to take the full viewport height and width */
body, html {
height: 100%;
width: 100%;
font-family: 'Roboto', sans-serif; /* Use the imported Google Font */
}
/* Set the background image with a cover to take the full viewport and a slight veil */
body {
background: url('back_hanesiim.png') no-repeat center center fixed;
background-size: cover;
position: relative;
}
/* Create an overlay with a slight veil */
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
display: flex;
justify-content: center;
align-items: center;
}
/* Style the text */
.overlay h1 {
color: white;
font-size: 6vw; /* Responsive font size */
text-align: center;
font-weight: 700; /* Bold text */
text-transform: none; /* Avoid uppercase */
}