*{
    box-sizing: border-box;
}
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
    border-collapse: collapse;
	border-spacing: 0;
}

body {
    background-color: #6368E1;
    font-size: 16px;
    font-family: 'Faustina', serif;
}
main {
    padding: 0 32px 32px;
    width: 100%;
}

img {
    height: 100%;
    max-height: 400px;
}
header{
    width: 100%;
}
header h1 {
    font-family: 'Satisfy', cursive;
    font-style: italic;
    font-size: 55px;
    color: #fffcfc;
    text-shadow: 0 2px 6px black;
    text-align: center;
    margin: 3rem 0 0;
    border-top: solid 2px #fffcfc;
    border-bottom: solid 2px #fffcfc;
    line-height: 75px;
}

.contacts {
    color: #fffcfc;
    text-shadow: 0 2px 4px black;
    display: flex;
    justify-content: center;
    padding: 10px;
}
.contacts p, .contacts a {
    padding: 20px;
    font-size: 23px;
}

.contacts a {
    color: #fffcfc;
    border-left: solid 1px #fffcfc;  
}

.purpleBox{
    background-color: rgba(196, 196, 196, 0.76);
}

.whatWeDo h2 {
    justify-content: left;
    font-family: 'Faustina', serif;
    font-size: 24px;
    font-weight: medium; 
    margin-bottom: 22px; 
    text-shadow: 0 2px 2px grey;
}

.whatWeDo p {
    font-family: 'Faustina', serif;
    font-size: 20px;
    font-weight: regular;
}

.top {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.textBox {
    padding: 48px 32px;
}

.whatWeDo .textBox {
    width: 30%;
}

.pasta img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.pasta {
    width: 70%;
    height: 100%;
}

.whatWeDo, .cookBio {    
    display: flex;
    width: 50%;
    align-items: center;
    
}

.cookBio img {
    margin: 32px;
    height: calc(100% - 64px);
    width: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 50% 50%;
}

.cookBio h2 {
    font-family: 'Faustina', serif;
    font-size: 24px;
    font-weight: medium; 
    margin-bottom: 22px; 
    text-shadow: 0 2px 2px grey;
}

.cookBio p {
    font-family: 'Faustina', serif;
    font-size: 20px;
}

.bottom {
    display: flex;
    gap: 15px;
    margin-top: 32px;
    width: 100%;
}
.foodsContainer {
    display: flex;
    gap: 32px;
    
    width: 33%;
}

.foodsContainer img {
    
    width: 207px;
    object-fit: cover;
    object-position: center;
}

.foodsContainer h2 {
    font-family: 'Faustina', serif;
    font-size: 24px;
    font-weight: medium; 
    margin-bottom: 22px; 
    text-shadow: 0 2px 2px grey;
}

.foodsContainer p {
    font-size: 20px;
}

.serviceContainer {
    width: 33%;
    
}

.serviceContainer h2 {
    font-family: 'Faustina', serif;
    font-size: 24px;
    font-weight: medium; 
    margin-bottom: 22px; 
    text-shadow: 0 2px 2px grey;
    text-align: center;
}

.serviceContainer p {
    font-family: 'Faustina', serif;
    font-size: 20px;
    text-align: center;
}

.staff {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 33%;
    
}

.staff .textBox {
    padding-bottom: 0;
}

.staff .imgBox {
    display: flex;
    gap: 16px;
    height: 153px;
    width: 100%;
    justify-content: center;
    padding: 32px;
    padding-top: 0;
}

.staff .imgBox img {
    width: calc(33.33% - 10.66px);
    object-position: top;
    object-fit: cover;
}

.staff h2 {
    font-family: 'Faustina', serif;
    font-size: 24px;
    font-weight: medium; 
    margin-bottom: 22px; 
    text-shadow: 0 2px 2px grey;
    
}

.socialContainer {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.socialContainer p {
    font-family: 'Faustina', serif;
    font-size: 20px;
    color: #fffcfc;
    text-shadow: 0 2px 2px grey;
}

.socialContainer a {
    width: 34px;
    height: 34px;
}

@media all and (max-width: 1520px){
    .top{
        flex-direction: column;
    }
   .whatWeDo, .cookBio{
       width: 100%;
   }
}
