/* styling for AnstineLaw */

/* body formatting */

body {
    font-family:serif;
    font-size: 18px;
    margin: auto;
    max-width: 800px;
    padding:0;
    background-color: #F9F7F1;
    overflow-x: hidden;
}

hr{
    width: 125%;
    position: relative;
    left: -12.5%;
    margin-left: 50%;
    transform: translateX(-40%);
}

.background-image { 
    background-image: url('imgs/Glen.jpg'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: auto; 
    width: 100%;
    height: 300px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.wrapbody{
    margin-bottom: 0px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    max-width: 700px;
}

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

#about{
    padding: 1em;
    border-radius: 5px;
    background-color: #e8e4d9;
    position: relative;
}

#reviews{
    background-color: #EBDFCC;
    padding: 1em;
    border-radius: 5px;
    width: 95%;
    position: relative;
}

#practiceareas{
    background-color: #DBD3BB;
    padding: 1em;
    border-radius: 5px;
    width: 95%;
    position: relative;
}

#contact{
    padding: 1em;
    border-radius: 5px;
    background-color: #D9CDB0;
    position: relative;
}

#bio{
    padding: 1em;
    border-radius: 5px;
    width: 95%;
}

.halfcontainer {
    display: flex;
}

.box1, .box2 {
    width: 50%; /* Adjust width as needed */
}

#container {
  display: flex;                  /* establish flex container */
  flex-direction: row;            /* default value; can be omitted */
  flex-wrap: wrap;              /* default value; can be omitted */
  justify-content: space-between; /* switched from default (flex-start, see below) */
}

#container > div {
  width: 200px;
  height: 300px;
}



ul {
  line-height: 1.5;
}

.clrflt{
    clear:both;
}


/* text styling */

h1{
    margin: auto;
    text-align: center;
    font-weight:600;
    font-size:50px;
    color: #282828;
}

h2{
    font-size: 35px;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

h3{
    text-align: center;
    font-weight: 100;
    font-size: 30px;
    margin: auto;
}


/* images */

.banner {
    width: 100%; /* Full-width */
    height: 300px; /* Adjust the height as needed */
    background-image: url('imgs/atwork.png'); /* Add the path to your image here */
    background-size: cover; /* Cover the entire area */
    background-position: center; /* Center the image */
    pointer-events: none; /* Make the banner non-clickable */
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: auto;
}

.center-img2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 250px;
  height: auto;
}

#handsicon { 
    background-image: url('imgs/hands.png'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size:contain; 
    width: 100px;
    height: 75px;
    margin-right: auto;
    margin-left: auto;
}

#bookicon { 
    background-image: url('imgs/book.png'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size:contain; 
    width: 100px;
    height: 75px;
    margin-right: auto;
    margin-left: auto;
}

#signsicon { 
    background-image: url('imgs/signs.png'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size:contain; 
    width: 100px;
    height: 75px;
    margin-right: auto;
    margin-left: auto;
}

#stairsimg{
    background-image: url("imgs/Glen3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 440px;
    float: left;
    clear: both;
    margin-right: auto;
    margin-left: auto;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* clickables */

.btn{
    float: right;
    text-align: center;
    width: 150px;  /* Set a fixed width */
    //margin-right: auto;
    //margin-left: auto;
    margin-right: 15px;
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 15px;
    border-radius: 5px;
    background-color: #1F3547;
    color: white;
    text-decoration: none;
}

.btn a{
    color: white;
    
    
}

.btn:hover a {
    color: goldenrod;
}

.btn:hover{
    color: goldenrod;
    background-color: #2d3e4d;
    text-shadow: 2px 2px 1px black;
}

iframe{
    border-radius: 5px;
    padding: 5px;
    background-color: floralwhite;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.contactlinks a{
    color:#1F3547;
}

.contactlinks a:hover{
    color: goldenrod;
}

testimonial-carousel {
width: 80%;
max-width: 600px;
position: relative;
overflow: hidden;
}

carousel-item {
display: none;
text-align: center;
padding: 20px;
background-color: #f9f9f9;
border-radius: 10px;
}

carousel-item.active {
display: block;
}

carousel-controls {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
}

carousel-controls button {
background-color: #333;
color: #fff;
border: none;
padding: 10px;
cursor: pointer;
}

carousel-controls button:hover {
background-color: #555;
}

/* about me section */

#headshot{
    background-image: url("imgs/Glen.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 240px;
    height: 400px;
    float: left;
    clear: both;
    margin-top: 1px;
    margin-right: 25px;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

#headshot2{
    background-image: url("imgs/atwork.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    width: 240px;
    height: 240px;
    float: left;
    clear: both;
    margin-right: 25px;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

#buttonrow{
    position: relative;
    top: 400px;
}

#biotext{
    margin-left: 0px;
    margin-right: 0px;
    display: table;
}

/* mobile version */

@media (max-width: 768px) {
    .background-color {
        width: 100%;
        left: 5px;
        margin-left: 0;
        transform: none;
    }
    
    
    iframe{
        width: 100%;
    }
    
    .halfcontainer {
        display:inline-block;
    }
    
    .box1, .box2 {
        width: 100%; /* Adjust width as needed */
    }
    
    #stairsimg{
        background-image: url("imgs/Glen3.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
        width: 100%;
        height: 200px;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    }
    
    /* about me section */
    
    #headshot{
        background-image: url("imgs/Glen.jpg");
        background-size:cover;
        background-repeat:no-repeat;
        background-position: center center;
        width: 100%;
        height: 325px;
        border-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    
    #headshot2{
        background-size:cover;
        background-repeat:no-repeat;
        background-position: center center;
        width: 100%;
        height: 240px;
        border-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    
    .center-img2 {
      width: 250px;
    }

    
    #biotext{
        float: left;
        margin-top: 7rem;
    }
    
    #buttonrow{
        position:relative;
        top:335px;
        text-align: center;
    }
}