css reset

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  height: 1500px;
  font-family: Roboto, Arial;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

.header{
  background-color: rgb(91, 149, 188);
  color: white;
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.3);
}

.twitter-logo{
  position: absolute;
}

.twitter-img{
  width: 200px;
  height: 80px;
  object-fit: contain;
  border-radius: 30%;
}

.search-container{
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 200px;
  margin-left: 40px;
}


.search-input{
  background-color: rgb(169, 199, 210);
  border: 1px solid rgb(98, 135, 151);
  border-radius: 4px;
  position: relative;
  width: 300px;
  padding: 2px;
}

.search-input:hover{
  background-color: aliceblue;
}

.search-button{
  background-color: rgb(229, 235, 237);
  color: rgb(121, 142, 147);
  border: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  position: absolute;
  right: 0;
  padding: 1px 12px;
  padding-top: 2px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.30);
  cursor: pointer;
}

.search-text{
  font-size: 0.8rem;
  color: rgb(159, 183, 194);
}

.discover-text{
  color: rgb(213, 238, 240);
  font-size: 1.5rem;
}

.sign-in{
  position: absolute;
  right: 5px;
  top: 40px;
  margin-right: 30px;
  font-size: 0.9rem;
}

.sign-in-button{
  border: none;
  border-radius: 4px;
  margin-left: 10px;
  background-color: rgb(125, 173, 191);
  color: white;
  padding: 2px 7px;
  cursor: pointer
}
.trending-topics{
  background-color: rgb(20, 66, 108);
  height: 40px;
  color: rgb(72, 146, 225);
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.8rem;
  position: relative;
}

.trending-topics:hover{
  color:rgb(6, 104, 215)
}

.trending-text{
  color: white;
}

.company-images{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  width: 200px;
  object-fit: cover;
  cursor: pointer;
}

.friends-container{
  background-color: rgb(219, 219, 219);
  margin-left: 20px;
  margin-top: 20px;
  width: 200px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.friend{
  color: rgb(97, 96, 96);
  font-weight: 500;
  margin-bottom: 10px;
  border-bottom: 2px solid rgb(173, 173, 173);
  padding-bottom: 5px;
}

.friends-text{
  color: rgb(74, 73, 73);
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 500;

}

.top-tweets{
  position: absolute;
  left: 380px;
  top: 0;
  bottom: 0;
  width: 700px;
  height: 700px;
  border-radius: 20px;
  background-color: rgb(246, 243, 243);
}

.profile{
  display: flex;
  margin: 20px;
  border-bottom: 1px solid rgb(226, 237, 240);
  transition: background-color 0.15s;
}

.profile:hover{
  background-color: rgb(225, 238, 240);
}

.tweets{
font-size: 1.1rem;
font-weight: 450;
margin-left: 10px;
}
.view-link{
  text-decoration: none;
}

.view-link-container{
  position: absolute;
  left: 180px;
  top: 18px;

}

.profile-pic{
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.name{
  color:rgb(30, 96, 157);
margin-left: 10px;
}

.heading{
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 20px;
  border-bottom: 2px solid rgb(214, 212, 212);
  padding-bottom: 10px;
}
.container{
  background-color: white;
  position: absolute;
  width: 235px;
  height: 400px;
  border-radius: 16px;
  top: 5px;
  right: 20px;
  
}
.new-container{
  background-color: lightblue;
  position: absolute;
  width: 220px;
  right: 7px;
  top: 5px;
  border-radius: 10px;
}
.new{
  font-weight: 500;
  color: black;
  font-size: 1.1rem;
  margin-bottom: 10px;
  margin-left: 5px;
}

.new-text{
  font-size: 0.8rem;
  color: rgb(74, 74, 74);
  width: 195px;
  text-align: center;
  margin-left: 20px;
  padding-bottom: 10px;
}

.sign-up-button{
  background-color: rgb(230, 194, 11);
  font-size: 1.1rem;
  font-weight: 500;
  border: 1px solid rgb(185, 165, 19);
  border-radius: 4px;
  width: 200px;
  margin: 10px;
  padding: 5px;
  cursor: pointer;
}

.sign-up-button:hover{
  background-color: rgb(238, 225, 86);
}
.twitter-bird{
  width: 25px;
  height: 25px;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
  top: 0;
  right: 50px;
}

.space{
  background-color: white;
  width: 220px;
  height: 20px;
}

.business-container{
  color: rgb(90, 88, 88);
  background-color: rgb(227, 223, 223);
  border-radius: 5px;
  padding: 10px;
  top: 200px;
  font-weight: 500;
}

.twitter-101{
  color: rgb(24, 111, 139);
}
.footer{
  background-color: rgb(198, 198, 198);
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  height: 120px;
}
a{
  color: rgb(6, 104, 215);
  text-decoration: none;
  margin: 10px;
}

a:hover{
  color:rgb(20, 66, 108)
}

.twitter-footer{
  color: rgb(109, 108, 108);
  font-size: 0.8rem;
  position: absolute;
  left: 20px;
  top: 20px;
}
.language-container{
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 0.8rem;
}

.language{
    color: rgb(109, 108, 108);
}
@media (max-width: 480px) { 
  .header{
    width: 100vw;
  }

  .trending-topics{
    width: 100vw;
    font-size: 0.5rem;
  }

  .tweets{
    width: 62%;
  }
}

@media (max-width: 751px) and (max-width: 1024px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    flex-wrap: wrap;
  }

  .top-tweets {
    display: block;
    margin: 50px auto;
    position: relative;
    left: 0;
  }

  .container{
   margin-top: 35px;
  }

  .new{
    padding-left: 10px;
  }
.new-container{
  position: relative;
  margin: 20px auto;
  padding: 15px;
  max-width: 90%;
  box-shadow:2px 3px 6px rgba(0, 0, 0, 0.25);
}
.twitter-bird{
  margin-top: 10px;
}
.space{
  background-color: lightblue;
  max-width: 90%;
  margin: 10px auto;
}
  .tweets,
  .name {
    font-size: 0.7rem;
    margin: 0;
    padding-left: 10px;
  }

  .footer {
    width: 100%;
    height: 50px;
    font-size: 0.7rem;
  }
}
