/* ---------------------- Diamond Touch About CSS ---------------------- */

/* ------- Removal of default padding, margin & list style ------- */

@font-face {
    font-family: Impact;
    src: url(Impact.ttf);
}
@font-face {
	font-family: calibril;
    src: url(CALIBRIL.ttf);
}


/* -------- Container -------- */

#container {
	width: 100%; display: none; float: left; transition: .5s;
}
h1, h2, h3 {
	font-family: Impact; font-weight: 400; letter-spacing: .5px;
	color: rgb(254,144,0); opacity: 0; position: relative;
    animation: fade-slide 1s; animation-fill-mode: forwards; animation-delay: 1.5s;
}
h2 {
	margin: 15px 0 0; font-size: 24pt; color: black;
}
h3 {
	font-size: 20pt; color: black;
}
p {
	font-family: calibril; font-weight: 400; letter-spacing: .5px;
	opacity: 0; animation: fade-text 1s; animation-delay: 0.3s;
	animation-fill-mode: forwards; animation-delay: 1.8s;
}
a {
	font-family: calibril; font-weight: 400; letter-spacing: .5px;
	color: black;
}



/* ------- Spill ------- */

#spill {
	width: calc(100% - 600px); margin: 70px 300px 0 300px;
	float: left;
}
#spill h1 {
	font-size: 40pt;
}
#spill p {
	font-size: 14pt; margin: 10px 0 0;
}
#spill span {
	display: none;
}
#spill b {
	color: rgb(254,144,0);
}
#spill a {
	color: rgb(254,144,0); font-weight: 600;
}


/* ------- Diagram ------- */

#diagram {
	width: calc(100% - 600px); margin: 30px 300px 0 300px;
	float: left;
}
#diagram li {
	width: 250px; margin: 0 20px 0; float: left;
	text-align: center;
}
#diagram li img {
	width: 130px; margin: 0 35px;
}
#diagram li:nth-of-type(1) img {
	position: relative; left: 10px;
}


/* ------- Conclusion ------- */

#conclusion {
	width: calc(100% - 600px); margin: 30px 300px 0 300px;
	float: left;
}
#conclusion p {
	font-size: 14pt; margin: 10px 0 0;
}





/* ------- Details ------- */

#details {
	width: 100%; float: left;
}
#details li{
	margin: 20px 0 0 0; float: left;
}
#details p {
	margin: 25px 75px 25px 25px;
	font-size: 22pt;
	float: left;
	transition: .5s;
}
#details a {
	margin: 25px 75px 25px 25px;
	font-size: 22pt;
	opacity: 0;
	animation: fade-text 1s;
	animation-fill-mode: forwards;
	animation-delay: 1.8s;
	float: left;
	transition: .5s;
}
#details img {
	width: 100px;
	height: 100px;
	opacity: 0;
    position: relative;
    animation: fade-slide 1s;
    animation-fill-mode: forwards;
	float: left;
	transition: .5s;
}

#details-email {
	margin: 0 0 0 150px; 
}


/* -------- Selection -------- */

#selection {
	width: 100%;
	margin: 25px 0 40px 0;
	float: left;
}
#selection li {
	width: 25%;
	position: relative;
	text-align: center;
	background-size: cover;
	background-repeat: no-repeat;
	float: left;
	opacity: 0;
	animation: fade-up 1s;
	animation-delay: 2s;
    animation-fill-mode: forwards;
}
#selection p{
	font-size: 16pt;
}
#selection li a{
	display: block;
	width: 90%;
	height: 50px;
	padding: 40% 5%;
	font-family: arial;
	font-size: 32pt;
	font-weight: 600;
	letter-spacing: 2.5px;
	color: white;
	text-decoration: none;
}
#selection h1 {
	margin: 0 0 15px 0;
}

#img1 {
	background-image: url("Facebook.png");
}
#img2 {
	background-image: url("Ebay.png");
}
#img3 {
	background-image: url("Gumtree.png");
}
#img4 {
	background-image: url("Youtube.png");
}


#selection1{
	background-color: rgba(139,188,248,0.7);
	transition: background-color .4s;
}
#selection2{
	background-color: rgba(0,0,0,0.5);
	transition: background-color .4s;
}
#selection3{
	background-color: rgba(255,127,39,0.7);
	transition: background-color .4s;
}
#selection4{
	background-color: rgba(205,126,231,0.7);
	transition: background-color .4s;
}


#selection li a:hover{
	transition: background-color .4s;
	background-color: transparent;
}




@media screen and (max-width:1680px){

#container {
	width: 90%; margin: 80px 5% 0 5%;
	transition: .5s;
}

#details p {
	margin: 25px 45px 25px 25px;
	font-size: 18pt;
	transition: .5s;
}
#details a {
	margin: 25px 45px 25px 25px;
	font-size: 18pt;
	transition: .5s;
}
#details img {
	width: 80px;
	height: 80px;
	transition: .5s;
}

}


/* --------------------------- Tablet sized screens -------------------------- */

@media screen and (max-width:1200px){
	
#container {
	margin: 115px 5% 75px 5%;
}

#details-email {
	width: 100%;
	float: left;
}

}


/* --------------------------- Mob sized screens -------------------------- */

@media screen and (max-width:640px){

#container {
	margin: 60px 5% 0 5%;
}

#spill, #diagram, #conclusion {
	width: 100%; margin: 0;
}

#spill h1 {
	margin: 15px 0 0 0;	font-size: 28pt;
}

#spill span {
	display: block;
}
#spill span b {
	padding: 5px 0; font-family: calibril; font-size: 14pt;
	display: block;
}
#spill-ext {
	display: none;
}


#diagram h2, #conclusion h2 {
	font-size: 21pt;
}
#diagram h2 {
	text-align: center;
}
#diagram li {
	width: 100%; margin: 0 0 15px;
}
#diagram li img {
	width: 100px;
}

}


/* Animation */

@keyframes fade-slide {
    from {left: -10%; 
	opacity: 0;
	}
    to {left: 0px;
	opacity: 1;
	}
}

@keyframes fade-text {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fade-up {
    from {top: 10%;
	opacity: 0;
	}
    to {top: 0px;
	opacity: 1;
	}
}
