/* 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 own css
*/

img{
    width: 100%;
}
body{
	font-size: 20px;
	font-family: 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	color: black;
	background-image: url("Images/background.svg");
	background-size: 50%;
}
p{
    line-height: 1.2;
}
header{
    padding: 2px;
    border-radius: 5px;
    background:rgba(245, 245, 245, 0.85);
    margin: 30px;
    color: whitesmoke;
    display: flex;
    justify-content: space-between;
	height: 80px;
}
.nav{
	font-size: 30px;
	margin: auto;
	padding: 5px;
	background-color: rgb(15, 153, 100);
	border-radius: 5px;
	text-align: center;
	text-decoration: none;
	color: rgb(25, 25, 25);
	transition: transform 1s;
}
.nav:hover{
    transform: scale(1.2, 1.2);
}
div{
    background:rgba(245, 245, 245, 0.85);
	margin: 60px;
	border-radius: 10px;
}
h1{
    font-size: 35px;
	color: rgb(15, 153, 100);
    text-align: center;
    padding: 10px;
	font-weight: bolder;
}
.badge{
	width: 20%;
	margin: 1.5%;
	padding: 1%;
	background-color: rgb(61, 72, 139);
	color:black;
}
.badge p{
	text-align: center;
	font-size: 20px;
}
#flexcert{
	padding: 2px;
    border-radius: 5px;
    background:rgba(245, 245, 245, 0.85);
    margin: 10px;
    color: whitesmoke;
    display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
}
#rcontainer{
	padding: 15px;
}
#resume {
	width: 65%;
    height: 100%;
    aspect-ratio: 17/21.6;
	margin-left: 17.5%;
	margin-top: 2.5%;
	margin-bottom: 2.5%;
}
.grids {
	display: grid;
    grid-template-areas:
    't t'
	'i p'
    'f l';
    gap: 20px;
	padding: 15px;
}
.gridb {
    display: grid;
    grid-template-areas:
    't'
	'p'
    'f';
    gap: 20px;
	padding: 15px;
}
.t{
	grid-area: t;
}
.i{
	grid-area: i;
	border-radius: 10px;
}
.p{
	grid-area: p;
}
.f{
    grid-area: f;
    display:flex;
    justify-content: start;
    background: none;
    margin: 5px;
}
.lang{
    padding: 3px;
    border-radius: 3px;
    color:aliceblue;
    margin: 2px;
    font-size: 25px;
}
.l{
    grid-area: l;
    background-color: rgb(15, 153, 100);
    padding: 3px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 25px;
    text-align: center;
    color: rgb(25, 25, 25);
    margin: 7px;
    transition: transform 1s;
}
.l:hover{
    transform: scale(1.05, 1.05);
}
#about {
	display: grid;
    grid-template-areas:
    'a a a'
	'b c c'
	'b d e';
    gap: 12px;
	padding: 15px;
}
.a{
	grid-area: a;
}
.b{
	grid-area: b;
	border-radius: 10px;
	width: 95%;
}
.c{
	grid-area: c;
}
.d{
	grid-area: d;
}
.e{
	grid-area: e;
	border-radius: 10px;
	width: 97.5%;
}
#contact{
	padding: 10px;
	margin: 30px;
}
.lonk{
	color: rgb(15, 153, 100);
}

@media screen and (max-width: 985px) {
	.nav {
		font-size: 20px;
        padding: 3px;
	}
	.grids {
		grid-template-areas:
    	't'
		'i'
        'f'
		'p'
        'l';
	}
	#about {
		grid-template-areas:
		'a a'
		'b c'
		'b d'
		'e e';
	}
	.e {
		width: 65%;
		margin:auto;
	}
	.c {
		font-size: 15px;
	}
	.d {
		font-size: 15px;
	}
    .badge {
		width: 25%;
	}
    .badge p{
		font-size: 16px;
	}
}

@media screen and (max-width: 640px) {
	body {
		font-size: 15px;
	}
	header {
		height: 60px;
		margin: 10px;
	}
	.nav {
		font-size: 16px;
        padding: 2px;
	}
    .nav:hover{
        transform: scale(1.1, 1.1);
    }
	div {
		margin: 30px;
	}
	#contact {
		margin: 10px;
	}
	.badge p{
		font-size: 15px;
	}
	h1 {
		font-size: 25px;
		padding: 5px;
	}
	#resume {
	width: 80%;
	margin-left: 10%;
	}
	.badge {
		width: 40%;
	}
	.c {
		font-size: 12px;
	}
	.d {
		font-size: 12px;
	}
}

@media screen and (max-width: 400px) {
    .nav {
		font-size: 12px;
        padding: 1px;
	}
	body {
		font-size: 8px;
	}
	.badge p{
		font-size: 12px;
	}
	h1 {
		font-size: 20px;
	}
}