/* Whats app Code
======================================*/

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}






.visually-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}


body {
  max-width: 95%;
  min-width: 95%;
  margin: 20px auto;
  padding: 20px;
  padding-bottom: 0;
  background-color: #fbf3f3;
  display: grid;
  grid-template:
    "header  header  header"
    "divider divider divider"
    "nav     main    sidebar"
    "footer  footer  footer" /
     200px    1fr    200px;
  grid-gap: 20px 40px;
  
  &::before {
    content: '';
    display: block;
    grid-area: divider;
    border-bottom: 1px dashed #000;
  }
  
  > header {
    grid-area: header;
  }
}

.header {
  display: grid;
  grid-template: 
    "logo ........... ......" 1fr
    "logo primary-nav search" auto
    "logo ........... ......" 1fr /
    200px 1fr         200px;
  grid-gap: 0 40px;
}

.primary-nav {
  grid-area: primary-nav;
  display: flex;

  ul {
    flex-grow: 1;
    display: flex;
    list-style: none;
    padding: 0;
    margin-left: -20px;
  }
    
  li {
    margin-left: 20px;
    flex-grow: 1;
    display: flex;
    text-align: center;
  }
    
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
  }
}

.logo {
  grid-area: logo;
  border: 3px solid #000;
  padding: 10px 20px;
  font-size: 2em;
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: #000;
}

.search {
  grid-area: search;
  display: flex;
  align-items: flex-end;
  
  input {
    width:100%;
  }
}

.secondary-nav {
  grid-area: nav;
  background-color: lightgray;
  padding: 20px;
  flex-grow: 1;

  
  ul {
    list-style: none;
    padding: 0;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }
  
  li {
    display: flex;
    width: 100%;
  }
  
  a {
    background: #fff;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 28px 0;
  }
  
}

main {
  grid-area: main;
  
  p {
    &:last-child {
      margin-bottom: 0;
    }
  }
}

aside {
  grid-area: sidebar;
  background: lightgray;
  padding: 20px;
  
  section {
    margin-bottom: 2.5em;
  }
  
  h2 {
    margin: 0;
    margin-bottom: 0.5em;
    font-size: 1.2em;
  }
}

.share {
  ul {
    background: #fff;
    padding-top: 5px;
    padding-bottom: 15px;
  }
  li {
    margin-top: 0.5em;
  }
}

.recommended {
  ul {
    list-style: none;
    padding: 0;
  }
  li {
    background: #fff;
    padding: 10px;
    margin-top: 10px;
  }
  h3 {
    margin: 0;
    margin-bottom: 0.5em;
  }
  p {
    margin: 0;
  }
}

footer {
  grid-area: footer;
  padding: 20px;
  border-top: 1px dashed #000;
  margin-top: 20px;
  
  ul {
    display: block;
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  li {
    display: inline-block;
    margin-left: 10px;
  }
  
  a {
    color: #000;
    text-decoration: none;
  }
}

h1 {
  margin: 0;
  font-size: 2.5em;
}

h2 {
  font-size: 1.5em;
}

ul {
  margin: 0;
}

a {
  color: #000;
}


/*-- Button Style --*/

.button {
  border: none;
  color: white;
 
  padding: 6px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: fit-content;
}

.next {
  border: none;
  color: white;
  padding: 6px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 1px 100px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: fit-content;
}

.button1 {
  background-color: #4CAF50; 
  color: black; 
  border-radius: 12px;
  border: 2px solid #4CAF50;
}

.button1:hover {
  background-color: #008CBA;
  color: white;
  border: 2px solid black;
}

.button2 {
  background-color: white; 
  color: black; 
  border-radius: 12px;
  border: 2px solid #008CBA;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}




/*  navigation menu */

.navbar {
  overflow: hidden;
  background-color: #950909;
  font-family: Arial, Helvetica, sans-serif;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 29px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Prevent data from selection */
.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
 }

/* Social Media  */

.social-icons {
  padding: 30px;
  background-color: #dfe6e9;
  text-align: center;
}

.social-icons a {
  color: #e91c1c;
  line-height: 30px;
  font-size: 30px;
  margin: 0 5px;
  text-decoration: none;

}

.social-icons a i {
  line-height: 60px;
  font-size: 60px;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1);
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1);
  transition: all 200ms ease-in;
  transform: scale(1);
}

.social-icons a:hover i {
  box-shadow: 0px 0px 250px #c3e25d;
  z-index: 2;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1.5);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1.5);
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1.5);
  transition: all 200ms ease-in;
  transform: scale(1.5);
}




.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}