html{
    scroll-behavior: smooth;
}
.noback{
    background-image: none;
}
.back{
    margin: -137px auto;
    background-image: url(https://faculty.washington.edu/ebender/images/background/winter-background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 0;
    text-align: center;
    color: #333;
    font-family: sans-serif;
}
.mod{
    color: #242424;
    background-image: url(background-6556386_1280.jpg);
    background-size: cover;
    background-repeat: repeat-y;
    line-height: 1.4;
}

.bender{
    position: relative;
    width: 130px;
    height: auto;
    transform: translateX(360px) translateY(140px);
    z-index: 40;
    border: solid 2px #fff;

}
.head{
    background-image: url(https://faculty.washington.edu/ebender/images/background/header-background.png);
    background-size: cover;
    border-color: #354c99;
    border-width: 0px 2px;
    border-style: solid;
    display: flex;
    flex-direction: row;
    height: 142px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0;
    width: 1004px;
    z-index: 10;
}
.emily{
    z-index: 30;
    transform: translateY(-130px) translateX(-220px);
    color: #fff;
    font-size: 60px;
    margin: 0;
}
.main{
    width: 1004px;
    justify-self: center;
}
.menu{
    border-color: rgba(255, 255, 255, .75);
    border-width: 2px 0px;
    border-style: solid;
    background-color: rgba(53, 76, 153, .75);
    height: 29px;
    position: relative;
    display: flex;
    z-index: 20;
    transform: translateY(-120px);
    color: white;
    font-size: 20px;
}
.menu{
    display: flex;
    text-decoration: none;
    list-style: none;
    padding: 5px 5px 5px 10px;
}
.menu ul .menu__el{
    border-color: rgba(255, 255, 255, 0.801);
    border-width: 0px 2px 0px 0px;
    border-style: solid;
    letter-spacing: .25em;
    list-style: none;
    display: flex;
}
.menu__el a{
    padding: 0 10px;
    text-decoration: none;
    color: white;
    transition: 0.2s ease-in-out;
}
.menu__el a:hover{
    color: #c7d4ff;
}
.menu ul{
    display: flex;
    align-self: center;
}
.menu__p a{
    color: #c7d4ff;
}


.navi ul{
    display: flex;
    justify-self: center;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    list-style: none;
    padding: 5px 5px 5px 10px;
    height: auto;
    position: relative;
}
.navi__el{
    font-family: ysabeau;
    font-size: 20px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease-in-out;
}
.navi__el:hover{
    border-bottom-color: #333;
}
.navi__el--janus{
    font-size: 40px;
    font-family: plaster;
    padding: 0 50px;
}
.navi__el a{
    padding: 0 50px;
    text-decoration: none;
    color: #333;
}
.navi__p{
    border-bottom: 2px solid #333;
}



.art{
    display: flex;
    justify-self: center;
    font-size: 20px;
    font-family: ysabeau;
    margin-top: 100px;
}
.art__img{
    margin: 0 50px;
    width: 350px;
    height: auto;
}
.art__txt{
    width: 500px;
}
.art__title{
    font-size: 40px;
    font-family: ysabeau;
}
.react{
    justify-self: center;
    font-size: 20px;
    font-family: ysabeau;
    margin-top: 100px;
}
.react ul{
    list-style: none;
    display: flex;
}
.react__title{
    justify-self: center;
    font-size: 40px;
}
.react h3{
    justify-self: center;
    font-size: 30px;
}
.react__el{
    width: 550px;
}
.divers{
    justify-self: center;
    font-size: 20px;
    font-family: ysabeau;
    margin: 100px 0;
}
.divers h2{
    justify-self: center;
    font-size: 40px;
}
.divers p{
    width: 600px;
}
.sam{
    display: flex;
    justify-self: center;
    font-size: 20px;
    font-family: ysabeau;
    margin-top: 100px;
}
.sam img{
    margin: 0 50px;
    width: 350px;
    height: 350px;
}
.sam__txt{
    width: 500px;
}
.sam h2{
    font-size: 40px;
    font-family: ysabeau;
    width: 700px;
}
.yoav{
    display: flex;
    justify-self: center;
    font-size: 20px;
    font-family: ysabeau;
    margin-top: 100px;
}
.yoav img{
    margin: 0 50px;
    width: 350px;
    height: 350px;
}
.yoav__txt{
    width: 500px;
}
.yoav h2{
    font-size: 40px;
    font-family: ysabeau;
}
.mich{
    display: flex;
    justify-self: center;
    font-size: 20px;
    font-family: ysabeau;
    margin-top: 100px;
    margin-bottom: 100px;
}
.mich img{
    margin: 0 50px;
    width: 350px;
    height: 350px;
}
.mich__txt{
    width: 500px;
}
.mich h2{
    font-size: 40px;
    font-family: ysabeau;
}


.content{
    width: 1004px;
    background-color: #fff;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    justify-self: center;
    transform: translateY(-135px);
    border-color: #354c99;
    border-width: 0px 2px;
    border-style: solid;
}
.content h2{
    color: #354c99;
    font-size: 30px;
    justify-self: flex-start;
    margin-left: 20px;
}
.content p{
    font-size: 20px;
    justify-self: flex-start;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 0;
    text-align: left;
}
.content ul{
    justify-self: flex-start;
    text-align: left;
}





.container{
    width: 1140px;
    height: 1300px;
    display: grid;
    justify-self: center;
    background-color: #d8d8d866;
    border: 2px solid #f7f7f7;
    border-radius: 50px;
    padding: 15px;
    margin-top: 158px;
    margin-bottom: 70px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
    z-index: 4;

    grid-template-areas: 
    "st st st st st"
    "un un un dx dx"
    "qt qt tr tr tr"
    "qt qt tr tr tr"
    "hu sx sx sx ne"
    "cq cq cq cq cq"
    ;
}
.box{
    background-color: #d8d8d866;
    border: 2px solid #f7f7f7;
    border-radius: 25px;
    padding: 10px;
    font-size: 18px;
    line-height: 1.5;
    align-items: center;
}
.box1{
    grid-area: un;
    font-family: ysabeau;
    font-size: 20px;
    line-height: 1.6;
    color: #242424;
}
.box2{
    grid-area: dx;
    padding: 15px;
}
.box2 img{
    width: auto;
    height: 200px;
    object-fit: fill;
    display: block;
    border-radius: 25px;
    justify-self: center;
}
.box3{
    grid-area: tr;
    font-family: ysabeau;
    font-size: 20px;
    line-height: 1.6;
    color: #242424;
    align-self: center;
    height: 410px;
    align-content: center;
}
.box4{
    grid-area: qt;
    padding: 15px;
}
.box4 img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 25px;
}
.box5{
    grid-area: cq;
    font-family: ysabeau;
    font-size: 20px;
    line-height: 1.6;
    color: #242424;
}
.box6{
    grid-area: sx;
    font-family: ysabeau;
    font-size: 20px;
    line-height: 1.6;
    color: #242424;
    align-content: center;
}
.box7{
    grid-area: st;
    justify-items: center;
    font-family: plaster;
    font-size: 40px;
    background-color: #e9e9e900;
    border-color: #e9e9e900;
    padding: 0;
}
.box7 h2{
    margin: 0;
    align-self: center;
}
.box8{
    grid-area: hu;
    padding: 5px;
    padding-top: 70px;
}
.box8 img{
    width: 100%;
    height: auto;
    object-fit: fill;
    display: block;
    border-radius: 25px;
}
.box9{
    grid-area: ne;
}
.box9 img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 25px;
}
.cred h1{
    font-family: plaster;
    font-size: 120px;
    justify-self: center;
}
.cred img{
    width: 350px;
    height: auto;
}
.cred{
    justify-content: center;
}


.page1{
  text-align: center;
  color: #fff;
  background-color: #333;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  width: 100%;
  max-width: none;
  height: 100px;
  line-height: 100px;
  display: block;
  flex-direction: column;
}
.page1 a{
    text-decoration: none;
    color: #fff;
}
.page2{
    text-align: center;
    color: #333;
    background-color: #f0f0f0;
    width: 100vw;
    height: 100px;
    margin: -8px;
    display: block;
    flex-direction: column;
    align-content: center;
    font-family: ysabeau;
    font-size: 20px;
}
.page2 a{
    text-decoration: none;
    color: #333;
}


@media (max-width:1040px){
    .content{
        width: 900px;
    }
    .head{
        width: 900px;
    }
    .menu{
        width: 888px;
        justify-self: center;
    }
    .emily{
        transform: translateY(-130px) translateX(-190px);
        font-size: 40px;
    }
    .bender{
        width: 100px;
        transform: translateX(370px) translateY(110px);
        margin-top: 20px;
    }
    .react__el{
        width: 470px;
    }
    .container{
        width: 90%;
        height: 100%;
        margin-top: 60px;
        padding: 15px;
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "st st st"
            "un un dx"
            "tr qt cq"
            "tr sx cq"
            "ne sx cq"
            "ne hu hu"
            ;
    }
    .box{
        padding: 20px;
        font-size: 16px;
    }

    .box7{
        font-size: 28px;
    }
    .box3{
        height: 100%;
        align-content: center;
    }
    .box5{
        align-content: center;
    }
    .box8 img{
        height: 150px;
        width: auto;
        justify-self: center;
    }
}

@media (max-width:840px){
    .back p{
        font-size: 15px;
    }
    .back h2{
        font-size: 25px;
    }
    .content{
        width: 700px;
    }
    .head{
        width: 700px;
    }
    .menu{
        width: 688px;
    }
    .menu__el{
        font-size: 15px;
        justify-self: center;
    }
    .bender{
        width: 100px;
        transform: translateX(280px) translateY(110px);
        margin-top: 30px;
    }
    .navi__el--janus{
        padding: 0 20px;
    }
    .navi__el a{
        padding: 0 20px;
    }
    .art__txt{
        width: 400px;
        margin-right: 50px;
    }
    .art__img{
        width: 300px;
        height: 300px;
        align-self: center;
    }
    .react{
        width: 800px;
    }
    .sam{
        justify-self: center;
        margin: 50px 20px;
    }
    .sam__txt{
        width: 400px;
        margin-left: 60px
    }
    .sam h2{
        width: 400px;
    }
    .sam img{
        width: 300px;
        height: 300px;
        align-self: center;
    }
    .yoav{
        justify-self: center;
        margin: 50px 20px;
    }
    .yoav__txt{
        width: 400px;
        margin-left: 60px
    }
    .yoav h2{
        width: 400px;
    }
    .yoav img{
        width: 300px;
        height: 300px;
        align-self: center;
    }
    .mich{
        justify-self: center;
        margin: 50px 20px;
    }
    .mich__txt{
        width: 400px;
        margin-left: 60px
    }
    .mich h2{
        width: 400px;
    }
    .mich img{
        width: 300px;
        height: 300px;
        align-self: center;
    }
    .container{
        width: 90%;
        height: 100%;
        margin-top: 60px;
        padding: 15px;
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "st st st"
            "un un dx"
            "tr qt cq"
            "tr sx cq"
            "ne sx cq"
            "ne hu hu"
            ;
    }
    .box{
        padding: 20px;
        font-size: 16px;
    }

    .box7{
        font-size: 28px;
    }
    .box3{
        height: 100%;
        align-content: center;
    }
    .box5{
        align-content: center;
    }
    .box9 img{
        height: auto;
        width: 180px;
        align-self: center;
    }
    .box9{
        align-content: center;
    }
}
