/* 
light blue: #70c6ff
dark blue: #046daa
grey-blue: #6ca4c9
light-grey: #dfeef7
*/

html {
    scroll-behavior: smooth;
}

body {
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: medium;
}

h1 {
    color: darkblue;
    text-align: center;
    font-size: 48px;
    line-height: 150%;

}

h2 {
    color: #007bff;
    position: relative;
    margin-left: -3%;
}

h3 {
    color: lightblue;

}

h5 {
    color: #6ca4c9;
    text-align: right;
    float: right;
    font-size: medium;
    position: absolute;
    margin-top: -4%;
    top: 0;
    display: none;
}

a {
    text-decoration: none;
    color: black;
    font-family: inherit;
}

span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}



.image-container {
    width: 300px;
}

.side-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 1rem;
    box-shadow: 10px 10px #70c6ff;
}

.lightgrey {
    background-color: #dfeef7;
    padding: 10%;
    padding-top: 3%; 
    padding-bottom: 3%;
    text-align: justify;
    line-height: 150%;
}

.white {
    background-color: #FFFFFF;
    padding: 10%;
    padding-top: 3%; 
    padding-bottom: 2%;
    text-align: justify;
    line-height: 150%;
}

.has-img {
    min-height: 500px;
}

@media screen and (min-width: 1000px) {
    .lightgrey .image-container {
        float: left;
        margin-right: 30px;
    
    }

    .white .image-container {
        float: right;
        margin-left: 30px;
    }

}

@media screen and (max-width: 1000px) {
    .image-container {
        display: block;
        float: center;
        margin-left: auto;
        margin-right: auto;
    }

    .side-text {
        display: block;
    }

    .text-box {
        width: 94.5%;
        min-width: 94.5%;
        min-height: 100%;
        height: 100%;
        margin-bottom: -12.5%;
    }
}

.right-text {
    line-height: 200%; 
    text-align: right; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    overflow: hidden;
}

.text-box {
    display: block;
    padding: 2.5%;
    border-right: 1px solid darkblue;
    border-left: 1px solid darkblue;
    /* min-height: 300px; */
    width: 43%;
    max-width: 43%;
}

