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


         /*---------------------------my style starts-------------------------*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
         /*------------------------------layout--------------------------------*/
 header{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.2rem;
  margin: 50px;
  padding: 10px; 
  gap: 200px;  
}
header a {
  color:#013026;
}
body{
  background: linear-gradient(135deg, #7dd3c0 0%, #f7dc6f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  text-align: center;
}
p 
{
 width: 600px;
 margin: 10px;
}
main{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-style:unset;   
}
                          /*-----------------------------typography-------------------------------------------*/
h1{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.0rem;
  font-style:unset;
}
article > h1 {
  font-size: 28px;
  color: #333;
  margin: 10px;
}
article > p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

                             /*-------------------------------images--------------------------------*/
img{
    border-radius: 20px; 
}
/* mega CTA: SVG sprite link*/ 
article p.sprite a:link,article p.sprite a:visited{
   font-size: 3em;
   font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
   line-height: 1;
   text-decoration: none;

   
   display: flex;
   align-items: center;
   justify-content: flex-end;
   width: 512px;
   height: 248px;
   margin: 2ch auto;
   padding-right: 20px; 
   


   border-radius: 0 128px 128px 0;
   border: 8px double #282a31;

   /* PNG fallback*/
   background:url(/images/contact_icon.png);
   /*SVG*/
   background:url(/images/contact_icon.svg),
   linear-gradient(transparent,transparent);
   background-repeat:no-repeat;
   background-size:252px;
  

   
   /*  background colour*/
   background-color: rgba(12, 71, 117, 0.2);
   
}
article p.sprite a:hover{
  border-radius: 0 128px 0 128px;
  border-top-color: #c9282d;
  border-right-color: #c9282d;
  background-position-y:-512px;
  background-color: rgba(0,0,0,.2);
}
article p.sprite a:active,article p.sprite a:focus{
  color:#043967;
  border-radius: 0 128px 0 128px;
  border-top-color: #873309;
  border-right-color: #873309;
  border-bottom-color:#046a17; 
  border-left-color: #046a17 ;
  background-position-y:-510px;
  background-color: rgba(33, 32, 32, 0.2);
}

                    /*--------------------------------------animation----------------------------------*/

header a {
  display: inline-flex;
  background-color: #ffff;
  
  min-width: 200px;
  margin: 5px;
  padding: 5px;
  height: 45px;
  text-decoration: none;
  align-items: center;
  animation: fallDown 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(-50px);
}
header a:nth-child(1) {
  animation-delay: 0.1s;
}

header a:nth-child(2) {
  animation-delay: 0.2s;
}

header a:nth-child(3) {
  animation-delay: 0.3s;
}

header a:nth-child(4) {
  animation-delay: 0.4s;
}

header a:nth-child(5) {
  animation-delay: 0.5s;
}
header a:nth-child(6) {
  animation-delay: 0.6s;
}   
@keyframes fallDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

