* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}

button:focus { outline: none; }

body {
    background-color: #EDF6F9;
    min-height: 150vh;
    background-image: url(../images/beach2.jpg);
    background-size: cover;
}

/* head */

.navbar {
    border: 2px solid black;
    position: relative;
    background-image: url(../images/beach.jpg);
    background-size: cover;
}

.navbar h1 {
    color: #E29578;
    font-size: 200px;
    padding-bottom: 20px; padding-left: 20px;
    text-shadow: 3px 3px #006D77;
}

.navbar ul {
    list-style-type: none;
    position: absolute;
    bottom: 16px; right: 10px;
}

.navbar li {
    display: inline-block;
    margin-left: 15px;
}

 .navbar a {
    text-decoration: none;
    color: #006D77;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    padding: 12px 18px;
    border-radius: 5px;
    background-color: #E29578;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: #FFDDD2;
}

/* grid area */

.meet {
    text-align: center;
    margin-top: 150px;
    font-size: 48px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #83C5BE;
}

.empcontainer {
    width: 90%; 
    height: 240vh;
    display: grid;
    grid-template-columns: 3fr 3fr 3fr;
    grid-template-rows: 3fr 3fr 3fr;
    column-gap: 8px; 
    row-gap: 8px;
    margin: 0 auto;
    margin-top: 20px; margin-bottom: 20px;
}

.griditem  {
    border: 1px solid #000000;
    transition: box-shadow 0.3s ease-in-out;
    cursor: pointer;
    background-color: #006D77;
}

.griditem:hover  {
    box-shadow:  0px 0px 8px 8px #E29578; 
}

.griditem h1{
    text-align: center;
    color: #E29578;
}

.griditem h2{
    text-align: center;
    color: #EDF6F9;
    font-size: 12px;
}


.empimg1, .empimg2, .empimg3, .empimg4, .empimg5, .empimg6, .empimg7, .empimg8, .empimg9 {
    width: 80%; height: 60%;
    border: 2px solid black;
    margin: 20px auto; 
    background-size: cover;
}

.griditem p {
    color: #EDF6F9;
    text-align: center;
}

.empimg1 {
    background-image: url(../images/emp1.png);
}
.empimg2 {
    background-image: url(../images/emp2.png);
}
.empimg3{
    background-image: url(../images/emp3.jpg);
}
.empimg4 {
    background-image: url(../images/emp4.jpg);
}
.empimg5 {
    background-image: url(../images/emp6.jpg);
}
.empimg6{
    background-image: url(../images/emp1.png);
}
.empimg7{
    background-image: url(../images/emp1.png);
}
.empimg8 {
    background-image: url(../images/emp2.png);
}
.empimg9 {
    background-image: url(../images/emp3.jpg);
}

.email {
    width: 20%; height: 10%;
    border: 2px solid black;
    margin:5px auto;
    text-align: center;
    background-color: #E29578;
    border-radius: 8px;
}

.email p {
    padding-top: 12px;
    text-align: center;
}

@media (max-width:850px) {


    
    .navbar h1 {
        text-align: center;
        font-size: 140px;
    }
    
    .navbar ul {
        list-style-type: none;
        position: relative;
        bottom: none; right: none; left: 10vw;
        margin-top: 60px;
    }
    
    .navbar li {
        display: inline-block;
        margin-left: 15px;
    }
    
     .navbar a {
        text-decoration: none;
        color: #006D77;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        padding: 12px 18px;
        border-radius: 5px;
        background-color: #E29578;
        transition: background-color 0.3s ease;
    }
    
    .navbar a:hover {
        background-color: #FFDDD2;
    }
    


    .empcontainer {
        grid-template-columns: 3fr;
        grid-template-rows: 3fr 3fr 3fr 3fr 3fr 3fr 3fr 3fr 3fr;
        height: 400vh;
    }
}


