@import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fdfdfd;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 0.5rem;
  text-align: center;
  background-color: #fdfdfd;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3rem;
  width: 100%;
  background: #179191;
  padding-left: 1rem;
  padding-right: 1rem;
}

ul {
  list-style: none;
  display: flex;
  margin-left: auto;
}

li {
  margin-right: 1rem;
}

h1 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  grid-gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 1rem 0;
}

.card {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 10rem auto;
  height: 10rem auto;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  margin: auto;
  overflow: hidden;
  padding: 0.5rem;
}

.card--avatar {
  width: 100%;
  max-height: 9rem;
  object-fit: cover;
}

.psucard {
  width: 100%;
  grid-column: 1/-1;
  height: 3rem auto;
  background: #fff;
  border: 0px solid black;
}

.psucard:nth-child(even) {
  background-color: #dcdcdc;
} 

.iblock {
    display: inline-block;
    border: 0px solid black;
}

.cname {
  width: 60%;
  text-align: start;
}

.cregion {
  width: 10%;
  text-align: end;
}

.cmodel {
  width: 30%;
  text-align: end;
  break-after: all;
}

.cvoltage {
  width: 35%;
  text-align: start;
}

.camps {
  width: 35%;
  text-align: end;
}

.cpolarity {
  width: 30%;
  text-align: end;
}

.polarity-icon {
  height: 1rem;
}