Untitled

 avatar
unknown
plain_text
16 days ago
3.2 kB
6
Indexable
index.html

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Architecture</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <header>
      <nav>
        <h1>G3 Architects</h1>
        <ul>
          <li>Home</li>
          <li>About</li>
          <li>Contact Us</li>
          <li>Login</li>
        </ul>
      </nav>

      <section class="banner">
        <h1 class="banner-h1">Brand New</h1>
        <h1 class="banner-h2">Group of Architects</h1>
        <p>
          There are many variations of passages of Lorem Ipsum available, but
          the majority have suffered alteration in <br/>some form, by injected
          humour, or randomised words which don't look even
        </p>
        <div class="banner-btn-div">
          <button class="banner-btn">Explore More</button>
        </div>
        <div class="banner-img"><img src="/images/banner.png" alt=""></div>
    
      </section>
    </header>
    <main></main>
    <footer></footer>
  </body>
</html>




style.css

*{
    margin:0px;
}
header{
    background-color:rgba(255, 144, 14, 0.10);;
}
nav{
   display: flex; 
   justify-content: space-between;
   padding-top: 50px;
}
nav h1{
color:  #131313;
text-align: center;
font-family: "Work Sans";
font-size: 45px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-left: 228px;
}
nav ul{
    display: flex;
    margin-right: 240px;
    gap: 50px;
   align-items: center;
}
nav ul li{
color: #424242;
text-align: center;
font-family: "Work Sans";
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 26px; 
list-style-type: none;
}
@media screen and (max-width:999px){
    nav{
        flex-direction: column;
    }
    nav h1{
        margin: 0px auto;
        margin-bottom: 5px;
    }
    nav ul{
        margin: 0px auto;
    }
}
@media screen and (max-width:576px){
nav{
    flex-direction: column;
}
nav h1{
    margin: 0px auto;
    margin-bottom: 5px;
}
nav ul{
    margin: 0px auto;
}
}
.banner-h1{
color:  #131313;
text-align: center;
font-family: "Work Sans";
font-size: 64px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-top: 102px;
}
.banner-h2{
color: #131313;
text-align: center;
font-family: "Work Sans";
font-size: 64px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.banner p{
color:#727272;
text-align: center;
font-family: "Work Sans";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 26px; /* 162.5% */
margin: 0px auto;
margin-top: 20px;
margin-bottom: 45px;
}
.banner-btn{
width: 180px;
height: 64px;
border-radius: 8px;
background: #FF900E;
color: #FFF;
text-align: center;
font-family: "Work Sans";
font-size: 20px;
font-weight: 600;
border: none;
}
.banner-btn-div{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.banner-img img{
    max-width: 100%;
}
.banner-img{
    margin: 0px 240px;
    border-radius: 8px;
    margin-bottom: 45px;
}
Editor is loading...
Leave a Comment