@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');


/* BASE */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  background: rgb(255,255,255);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(152,219,206,1) 0%, rgba(255,255,255,1) 85%);
}

/* HEADER  */

header {
  display: flex;
  align-items: center;
  padding: 25px 15%;
  background-color: rgb(255, 255, 255);
}

li, a , button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: rgba(0,136,192, 1);
  text-decoration: none;
}

.logo {
  margin-right: auto;
  cursor: pointer;
  height: auto;
  width: 150px;
}

.nav__links li {
  display: inline-block;
  padding: 0px 30px;
}


.nav__links li a {
  cursor: pointer;
  transition: 0.3s
}

.nav__links li a:hover {
  color:rgba(152,219,206,1)
}

button {
  color: white;
  padding: 10px 25px;
  background-color: rgba(152,219,206, 1);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s
}

button:hover {
  background-color: rgba(0,136,192, 0.8);
}

/* MAIN DESCRIPTION */

main.container {
  display: flex;
  margin: 0 auto;
  height: 650px;
  width: 1000px;
} 

.main__description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 650px;
  width: 500px;
  margin-right: 20px;
}

.main__description p.header {
  font-size: 1.8rem;
  font-family: "Montserrat", sans-serif;
}

.main__description p.text {
  padding-top: 30px;
  font-size: 1.3rem;
  font-family: "Montserrat", sans-serif;
}

.main__app {
  height: 650px;
  width: 500px;
}

.functions__container {
  display: flex;
  flex-direction: column;
}

.android__container {
  display: flex;
}

.iphone__container {
  display: flex;
}

.mac__container {
  display: flex;
}

 i {
  width: 30px;
  margin-top: 20px;
  font-size: 1.3rem;
}


.functions__container p {
  font-weight: 700;
  color:rgb(67, 185, 146);
  margin-top: 20px;
  margin-left: 15px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}

/* 1.1 - MAIN APP - HEADER */

.main__app {
  max-width: 500px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

.app__header {
  display: flex;
  border: 1px solid #ccc;
  width: 100%;
  height: 10%;
  border-bottom: none;
  background-color: rgb(67, 185, 146);
}

.photo {
  max-width: 100%;
  border-radius: 30%;
}

.app__header-image {
  width: 40px;
  margin-left: 5%;
  margin-top: 8px;
}

.active {
  width: 150px;
  margin-top: 10px;
}

.active h6 {
  margin: 2px 10px;
  font-size: 0.8rem;
  font-family:'Courier New', Courier, monospace;
  color:rgb(0, 0, 0, 0.5)
}

.active h4 {
  margin: 0px 10px;
  font-size: 1.2rem;
}

.app__header-icons {
  display: flex;
  justify-content: flex-end;
  width: 280px;
}

.app__header-icons i {
  margin-left: 10px;
}

/* 1.2 - MAIN APP - CHAT BOX  */

.chat-page {
  padding: 0 0 0 0;
  background-color: #fff;
}

.msg-inbox { 
  border:1px solid #ccc;
  overflow: hidden;
  padding-bottom: 30px;
}

.chats {
  padding: 30px 15px 0 25px;
}

.msg-page {
  height: 516px;
  overflow-y: auto;
}

/* 1.2.1 - MAIN APP - RECEIVED MSG  */

.received-chats-img .photo-small {
  width: 20px;
  height: auto;
  float: left;
  border-radius: 30%;
}

.received-msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
}

.received-msg-inbox {
  width: 55%;
}

.received-msg-inbox p {
  width: 55%;
  background: #abddbc none repeat scroll 0 0;
  border-radius: 10px;
  color: #646464;
  font-size: 1rem;
  margin: 10px 0 0 0;
  padding: 5px 10px 5px 12px;
  width: 100%
}

.time {
  color: #777;
  display: block;
  font-size: 0.7rem;
  margin: 8px 0 0;
}

/* 1.2.2 - MAIN APP - OUTGOING MSG  */

.outgoing-chats {
  overflow: hidden;
  margin: 10px 0 0 20px;
}

.outgoing-chats-msg p {
  background: #4b96e7 none repeat scroll 0 0;
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.outgoing-chats-msg {
  float: left;
  width: 46%;
  margin-left: 47%;
}

.outgoing-chats-img .photo-small {
  width: 20px;
  float: right;
}

/* 1.3.1 - MAIN APP - BOTTOM MSG  */

.msg-bottom {
  display:flex;
  height: 60px;
  background-color: rgb(67, 185, 146);
}

.input-group {
  position: relative;
  height: 40px;
  float: right;
  margin-top: 10px;
  margin-right: 20px;
  outline: none;
  border-radius: 20px;
  width: 55%;
  background-color: #fff;
}
.form-control {
  font-size: 1.1rem;
  font-family: "Montserrat", sans-serif;
  border:none;
  border-radius: 20px;
  margin: 8px 0 0 10px;
}

.input-group-text {
  position:relative;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.input-group .fas {
  position: absolute;
  color: #007bff;
  float: right;
  bottom: -2px;
} 

.bottom-icons {
  display:flex;
  justify-content: space-between;
  width: 35%;
  margin: 0 30px 0 30px;
}

.bottom-icons .fas {
  color: rgb(0, 0, 0);
  width: auto;
}

.form-control:focus {
  outline: none;
}