ul {
  list-style-type: none;
  text-align: center;
  margin: 0;

  overflow: hidden;
  background-color: rgb(201, 90, 77);
}
.navicon {
  margin: 2mm;
  font-size: 7mm;
  color: white;
}

li {
  float: left;
}

li a {
  display: block;
  color: rgb(7, 7, 7);
  text-align: center;
  font-family: "Century Gothic", sans-serif;
  font-weight: 700;
  padding: 14px 16px;
  text-decoration: none;
}
li a:hover {
  background-color: rgba(240, 196, 196, 0.925);
  color: white;
}
body {
  margin: 0;
  padding: 0;

  font-family: "Lora";
  background-color: rgba(102, 94, 94, 0.925);
}

.container {
  text-align: center;
}
.contain {
  position: relative;
  width: 50%;
}
.contain img {
  width: 100%;
  height: auto;
}

/* Style the button and place it in the middle of the container/image */
.contain .butn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #555;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.btn {
  background-image: "https://image.flaticon.com/icons/svg/1807/1807616.svg";
  border: 1px solid salmon;
  background: rgb(201, 90, 77);

  width: 2.1cm;
  padding: 2mm;
  font-size: 15px;
  font-family: "montserrat";
  font-weight: 200;
  cursor: pointer;

  transition: 0.8s;
  position: relative;
  overflow: hidden;
  color: white;
}
.btn:hover {
  color: black;
  height: 0%;
}
.btn::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: 0.8s;
  color: salmon;
  top: 0;
  border-radius: 50% 50% 0 0;
}

.footer {
  background-color: rgba(0, 0, 0, 0.514);
  margin-top: 3rem;

  color: rgb(243, 168, 159);
  text-align: center;
  height: 2.1;
  left: 0;
  bottom: 0;
  width: 100%;
  display: inline-block;
}
#grad {
  background-image: linear-gradient(grey, white);
}

#bottomDiv {
  position: absolute;
  bottom: 0px;
}

.grid {
  display: grid;

  grid-template-columns: 1fr;

  grid-template-rows: 1fr 1fr 1fr;
}

@media (min-width: 550px) {
  .grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: 1fr;
  }
}

.para {
  font-size: 1.5rem;
  margin-left: 7rem;
  margin-right: 7rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.856);
  font-family: "Courier New", Courier, monospace;
}
.cntr {
  text-align: center;
}
.bold {
  font-weight: bold;
}
.back {
  background-color: white;
  font: 800;
  font-size: 20;
  color: black;
  font-family: "Century Gothic", sans-serif;
}
.link {
  text-align: center;
  size: 3rem;
  font-weight: bold;
  color: rgba(255, 167, 167, 0.815);
  font-family: "Century Gothic", sans-serif;
}
.box {
  padding: 3;
  border: 1px;
  margin: 3;
  size: 7rem;

  color: white;
  font-family: "Century Gothic", sans-serif;
}

.box p {
  text-align: justify;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #4caf50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;

  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;

  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}
.sign {
  background-color: rgb(201, 90, 77);
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */

.projectgrid {
  display: grid;
  text-align: center;

  grid-template-columns: 1fr;

  grid-template-rows: 1fr 1fr 1fr;
}

@media (min-width: 750px) {
  .projectgrid {
    display: grid;
    text-align: center;

    grid-template-columns: 1fr 1fr 1fr;

    grid-template-rows: 1fr;
  }
}
