@font-face {
    font-family: "Worksans";
    src:
        url("fonts/WorkSans-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Worksans";
    src:
        url("fonts/WorkSans-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Worksans";
    src:
        url("fonts/WorkSans-Light.woff") format("woff");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Worksans";
    src:
        url("fonts/WorkSans-SemiBold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}


html{
    width: 100vw;
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: Worksans;
    color: rgb(31, 31, 31);
    overflow-x: hidden;
    width: 100vw;
    /* padding: 4px; */
}

button#back-home {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 16px;
}

main {
    padding: 8px;
    max-width: 950px;
    margin: 0 auto;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

iframe {
    max-width: 100%;
    height: 500px;
    background: #5d6eae;
    color: white;
}

/* ----------CAROUSEL ------------- */



.container img {
    vertical-align: middle;
    max-height: 500px;
    object-fit: cover;
}


/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

.photo-credit{
    font-size: 1.3ch;
}



/* ----------- QUOTES ----------- */

.quotebackground {
    background: #e0f3f4;
    width: 100vw;
    left: 0;
}

.quote-container {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    color: #4b5989;
    position: relative;

    padding: 22px;
    /* font-style: italic; */
    max-width: 950px;
    margin: 0 auto;

}



.svs-portrait-container{
    float: right;
    margin: 20px 20px;
}
.svs-board{
    
    display: flex;
    column-gap: 8px;
   
}

.portrait-svs{
    max-width: 150px;
     /* grow shrink basis */
    /* border: solid 1px black; */
    /* overflow: hidden; */
}


.svs-portrait-container dt{
    text-align: center;
    font-size: 1.3ch;
    color: #222;
    margin-top: 8px;
}

.svs-board img{
    width: 100%;
    

    
    /* border-radius: 400px; */
    /* clip-path: circle(75px at center); */
    
}

.img-stories {
    /* display: flex; */
    column-gap: 2%;
    width: 100%;

}

.quote-container dl{
    font-size: 1.3ch;
    color:#222;
}



.img-stories img {
    width: 100%;
   max-width: 700px;
    height: 50%;
    /* clip-path: circle(100px at center); */
}


/* ----- BIO------ */

.bio-container {
    margin-top: 4em;
    margin-bottom: 4em;
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 60px;
    justify-content: center;
    max-width: 950px;
    margin: 40px auto;


}

.bio {
    font-size: 1.3ch;

}

.bio h3 {
    margin-bottom: 0.5em;
}

h4 {
    margin-top: 0;
    color: rgb(171, 171, 171);
}

.img-container {
    width: 200px;
    height: 200px;
    /* border: solid 1px black; */

}

.bio img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    clip-path: circle(100px at center);
    background-color: #5d6eae;
    object-fit: contain;

}



footer {
    display: flex;
    justify-content: space-between;
    background-color: #ecedef;
    padding: 20px;
    color: rgb(80, 80, 80);
    font-size: 1.4ch;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    align-content:flex-end;
    align-items: center;
    justify-content: center;
    width: 60%;
    column-gap: 20px;
    row-gap: 25px;
    /* border: solid 1px black; */
}

.logos img {
    height: 50px;

}


@media screen {
    .bio {
        flex-basis: 30%;
    }
}

@media  (max-width: 500px) {
    .svs-portrait-container {
 
    float: none;

   
    
   
}
    
}