/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

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;
}

body {
  margin: 0;
  font-family: Helvetica, sans-serif;
    background-color:white; 
}

a {
  color: #424a9e;
}

/* header */

.header {
  background-color: gainsboro;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: gainsboro;
}

.header li a {
  display: block;
  padding: 23px 20px;
  text-decoration: none;
}

.header li a:hover, 
.header .menu-btn:hover {
  background-color: #f4f4f4;
}
.menu a:hover {
    color: #2aace3;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

.logo {
    max-width: 120px;
}

footer {
    text-align: center;
    color: #2aace3;
    text-decoration: none;
    font-family: 'PT Sans', sans-serif; 
    font-size: 0.8em;
    padding-top: 160px;
    padding-bottom: 20px;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #2aace3;
  display: block;
  height: 3px;
  position: relative;
  transition: background .2s ease-out;
  width: 20px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #2aace3;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 310px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

h2 {
    text-align: center;   
    display: block; 
    margin: auto; 
    padding-top: 90px; 
    width: 100%; 
    font-family: 'dosis', sans-serif;
    font-size: 3em;
    letter-spacing: 8px; 
    color: grey; 
}
.content {
    display: grid;
    margin-top: 50px; 
    grid-template-rows: auto;
    grid-template-columns: 30% 60%;
    justify-content:center;
    max-width: 100%;
    grid-column-gap: 40px; 
    grid-row-gap: 20px; 
    padding: 30px 50px 60px 20px; 
    background-color: white;
}

p{ 
    color: #424a9e; 
    font-family: 'PT Sans', sans-serif; 
    font-size: 1.2em;
}

ln {
    padding: 40px 50px 20px 20px; 
    color: grey; 
    font-family: 'PT Sans', sans-serif; 
    font-size: 0.9em;
}

.singapore { grid-row:1; grid-column:1; max-width:100%;}
.singaporemiddle {grid-row:1; grid-column:1; max-width:100%; display:none;}

.vanilla { grid-row:4; grid-column:1; max-width:100%;}
.vanillamiddle {grid-row:4; grid-column:1; max-width:100%; display:none;}

.betelnut {
    grid-row:2; grid-column:1; max-width: 100%;}
.betelnutmiddle {
    grid-row:2; grid-column:1; max-width: 100%; display:none;}

.birds {
    grid-row:3; grid-column:1; max-width: 100%; }
.birdsmiddle {
    grid-row:3; grid-column:1; max-width: 100%; display:none;}

.timber {
    grid-row:5; grid-column:1; max-width: 100%;}
.timbermiddle{
    grid-row:5; grid-column:1; max-width: 100%; display:none;}

.timberlink {
    font-size:1em; text-decoration:none; padding-top: 10px;
}

.cardamom {
    grid-row:6; grid-column:1; max-width: 100%; }
.cardamommiddle{
    grid-row:6; grid-column:1; max-width: 100%; display:none;
}

.lalit {grid-row:1; grid-column:1; max-width:100%;}
.himanshu {grid-row:2; grid-column:1; max-width:100%;}

.contact {
    max-width:100%; 
    height:400px; 
}

.address {
    color: grey; 
    font-family: 'PT Sans', sans-serif; 
    font-size: 1.2em;
    text-align: center; 
    padding-top: 80px; 
}

.number {
    color: grey; 
    font-family: 'PT Sans', sans-serif; 
    font-size: 1.2em;
    padding-top: 20px;
    text-align:center;  
}

footer {
    text-align: center;
    color: #2aace3;
    text-decoration: none;
    font-family: 'PT Sans', sans-serif; 
    font-size: 0.8em;
    padding-top: 20px;
    padding-bottom: 20px;
}




@media screen and (max-width: 800px) {
    nav {
        height: 74px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu li{
        margin-top: -20px;
        position: relative; 
    }
    
    .headerlogo {
        padding-top: 25px; 
        left: 4; 
        max-width: 23%;
        margin-left: 100px;
        font-size: 1.5em;
        position: static;
        justify-content: center;
        display: flex;
    }
    
    .betelnutmiddle {display:flex;}
    .birdsmiddle {display:flex;}
    .timbermiddle {display:flex;}
    .cardamommiddle {display:flex;}
    .singaporemiddle {display:flex;}
    .vanillamiddle {display:flex;}
}

/* 48em = 768px */

@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }  
}

@media screen and (max-width: 600px){
    h2{ font-size: 8vw;}
    .content { padding: 10px;
        grid-column-gap: 20px}
    ln {padding-right: 5px;
        padding-left: 5px; 
    }
    
}
    