/* TOP SECTION */

.contact ul {
  list-style-type: none;
  list-style-position: inside;
  margin: 0;
  padding: 0;
  text-align: center;
}

.contact ul li {
  display: inline;
}

.contact ul li a {
  color: #222;
  border: 2px solid white;
  padding: 4px;
}

.contact ul li a:hover {
  transition: 500ms;
  border: 2px solid black;
  background-color: #1966d2;
  color: white;
}

/* NAV BAR */

#nav-bar {
  position: fixed;
  max-width: 100%;
  width: 100%;
  left: 0;
  top: 0px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  z-index: 9999;
  display: none;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  border-bottom: 1px solid #222;
}

.nav-bar h1 {
  margin: 0;
}

.nav-bar ul {
  list-style-type: none;
  list-style-position: inside;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-bar ul li {
  display: inline;
}

.nav-bar li a {
  margin: 10px;
  color: #222;
  padding: 2px;
  border: 2px solid rgba(255, 255, 255, 0);
}

.nav-bar li a:hover {
  transition: 500ms;
  border: 2px solid black;
  background-color: #1966d2;
  color: white;
}

.contact-nav {
  margin: 5px 0 0 0;
  text-align: center;
  flex: 1;
}

/* alterations */

.contact h1 {
  text-align: center;
  margin: 0;
  font-size: 36px;
}

.contact {
  padding: 2%;
}

a {
  text-decoration: none;
}

#nav-bar a {
  font-size: 1em;
}

.name-nav {
  margin-top: 5px;
  text-align: center;
  padding-left: 10vw;
  font-size: 20px;
}

/* technologies */
.technologies-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  margin: auto;
  margin-top: 15px;
}

.technology-icon {
  padding: 0;
  border: 0;
  width: 35px;
  text-align: center;
  margin: 2px;
  font-size: 12px;
}

.technology-icon img {
  height: 40px;
  width: 40px;
}

.technology-icon .image-text {
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.project-links ul {
  text-align: center;
  margin: 0;
  padding: 0;
}

.project-link {
  list-style: none;
  display: inline-block;
}

.project-link a {
  border: 2px solid black;
  font-weight: 700;
  padding: 5px;
}

.project-link a:hover {
  transition: 500ms;
  border: 2px solid;
  background-color: #1966d2;
  color: white;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px;
  border: 1px solid black;
  position: absolute;
  bottom: 105%;
  z-index: 1;
  left: 50%;
  -webkit-transform: translateX(-50%); /* Safari iOS */
  transform: translateX(-50%);
}

.technology-icon:hover .tooltiptext {
  visibility: visible;
}

@media only screen and (min-width: 768px) and (min-height: 1024px) {
  .technologies-container {
    display: flex;
    justify-content: space-around;
  }

  .technology-icon img {
    height: 60px;
    width: 60px;
  }
}

@media only screen and (min-height: 768px) and (min-width: 1024px) {
  .technologies-container {
    display: flex;
    justify-content: space-around;
  }

  .technology-icon img {
    height: 60px;
    width: 60px;
  }
}

@media only screen and (min-width: 1224px) {
  .contact {
    padding: 1%;
  }
  .technologies-container {
    width: 80%;
    display: flex;
    justify-content: space-around;
  }
  .technology-icon img {
    height: 70px;
    width: 60px;
  }
}
