css chtgpt
css chtgpt
margin: 0;
padding: 0;
.main {
width: 100%;
background: url(images/ytb.webp);
background-position: center;
background-size: cover;
height: 100vh;
position: relative;
font-family: sans-serif;
.navbar {
width: 86%;
display: flex;
margin: auto;
padding: 15px 0;
align-items: center;
justify-content: space-between;
.navbar .logo {
width: 160px;
cursor: pointer;
margin-top: -3%;
margin-left: -2%;
ul {
margin-top: 0; /* Corrected */
ul li {
list-style: none;
display: inline-block;
ul li a {
font-size: 16px;
font-weight: bold;
text-decoration: none;
color: darkslategray;
margin-top: 3%;
}
ul li a:hover {
.info h1 {
font-size: 65px;
.info h3 {
font-size: 18px;
letter-spacing: 1px;
line-height: 24px;
.info span {
.info {
text-decoration: none;
color: #fff;
margin: 26px;
display: inline;
.info a:hover {
.image {
width: 30%;
height: 60%;
position: absolute;
right: 100px;
bottom: 0;
.image img {
position: absolute;
height: 140%;
left: 40%;
transform: translate(-50%);
bottom: 0;
}
.image:hover .myimg { /* Corrected selector */
left: 55%;
.icons .icon-icon {
margin-bottom: 7%;
color: #000;
margin-right: -60px;
font-size: 40px;
.icons .icon-con:hover {