.patua-one-regular {
  font-family: "Patua One", serif;
  font-weight: 400;
  font-style: normal;
  }

.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;
}
    
.backgroundw {
	display: flex;
	background: #334444;
}

.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%;
	font-family: "Patua One";
}

.what h1 {
	font-size: 5vw;
	margin-bottom: 0.0rem;
}

.what p {
	color: white;
	width: 50%;
	font-size: 2vw;
	font-family: "Helvetica", sans-serif;
}

.attorneys {
	display: flex;
	position: absolute;
	color: white;
	align-items: center;
        justify-content: center;
	width: 100%;
	height: 70%;
}

.attorneys h1 {
	color: white;
	font-size: 450%;
	font-family: "Patua One";
}

.attorneys p {
	color: white;
	font-size: 5rem;
        font-family: "Rubik", sans-serif;

}

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

.bio {
    font-size: 140%;
}

.bio h3 {
	color: gray;
	font-size: 2rem;
	font-family: "Patua One";
}

.bio p {
        font-family: "Rubik", sans-serif;
	line-height: 1.5em;
}
.textcontainer2 {
    display: grid;
    grid-template-columns: 45% 40%;
    /* justify-content: space-around; */
    align-items: top;
    justify-self: center;
    justify-content: space-evenly;
    padding: 2rem;
    font-family: "Rubik";
    line-height: 2em;
    width: 70%;
}

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

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

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

.backgroundc img {
  width: 100%;
  aspect-ratio: 16/5;   /* 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;
}

 
