.rubik-egality {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.navigation {
    display: flex;
    justify-content: space-between;
    padding: 0.5em;
}

.title {
    display: flex;
    justify-content: space-around;
    font-family: "Rubik", sans-serif;
}

.title a {
    color: black;
}
    
.topics {
    display: flex;
    justify-content: space-around;
    font-family: "Rubik", sans-serif;
}

.topics a {
    padding: 1.5em;
    color: black;
    text-decoration: none;
}

.topics a:hover {
    text-decoration: underline;
}
    
.background {
	display: flex;
	background: #334444;
}

.background img {
	width: 100%;
	height: auto;
	opacity: 0.5
}

.backgroundc {
	display: flex;
	background: #333333;
}

.backgroundc img {
	width: 100%;
	height: auto;
	opacity: 0.4;
}

.defn {
	position: absolute;
	color: white;
	top: 30%;
	left: 29%;
}

.defn h3 {
	font-size: 300%;
}

.defn h4 {
	font-size: 200%;
}

.overlay-rectangle {
    position: absolute;

    /* Position relative to the image */
    left: 25%;
    top: 25%;
    width: 45%;
    height: 40%;

    border: 4px solid white;
    box-sizing: border-box;
    border-radius: 6px;

    /* Allow clicks to pass through */
    pointer-events: none;
}

.what {
	display: flex;
	flex-direction: column;
	position: absolute;
	color: white;
	left: 10%;
	top: 30%;
}

.what h1 {
	font-size: 3vw;
}

.what p {
	color: white;
	width: 60%;
	font-size: 1.5vw;
	<!--font-family: "Rubik", sans-serif;-->
}

.attorneys {
	display: flex;
	position: absolute;
	color: white;
	left: 37%;
	top: 37%;
}

.attorneys p {
	color: white;
	font-size: 5rem;
}

.textcontainer {
    display: grid;
    grid-template-columns: 35% 37%;
    justify-content: space-around;
    padding: 1rem;
}

.bio {
    font-size: 150%;
}

.textcontainer2 {
    display: grid;
    grid-template-columns: 30% 33%;
    justify-content: space-around;
    align-items: center;
    justify-self: center;
    padding: 1rem;
}

.contacts {
	position: absolute;
	color: white;
	left: 32%;
	top: 24%;
	font-size: 300%;
}

.press {
    display: grid;
    padding: 2em;
    place-items: center;
    align-items: center;
    justify-content: space-around;
    width: 60%;
}

.backgroundc img {
  width: 100%;
  aspect-ratio: 16/4;   /* keeps the original proportions */
  overflow: hidden; /* removes the small gap that appears under images */
  object-fit: cover;
  object-position: center 15%;
}

.background img {
  width: 100%;
  aspect-ratio: 16/7;   /* keeps the original proportions */
  overflow: hidden; /* removes the small gap that appears under images */
  object-fit: cover;
  object-position: center;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  inset: 0;                      /* fills the section */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;   /* fade duration */
}

.slide.active {
  opacity: 1;
}

