/*
File Name: tpstyle.less
Date: 05/12/20
Programmer: Fredy Chavez
*/

/* INSERT LESS VARIABLES HERE */

/* colors */

@mBgColor2: #EEC1FF;
@tBgColor2: #FFFE91;
@dBgColor2: #FFAA91;
@footerColor2: #9F00C5;
@referencesHoverColor2: #E8E8E8;
@referencesBgColor2: #0000FF;

/* sizes */

@mFontSize2: 16px; 
@tFontSize2: 15px;
@dFontSize2: 14px;
@h1FontSize2: 2em;
@h2FontSize2: 1.4em;
@h3FontSize2: 1.1em;
@summaryFontSize2: .6em;
@summaryFirstFontSize2: 1.5em; 
@designerFontSize2: .75em;
@contactFontSize2: 0.9em;

/* margins */

@pHeadingMargin: 1em 0;
@mBodyMargin2: 0 1em;
@tBodyMargin2: 0 4%;
@dBodyMargin2: 0 3%;
@olLiLeftMargin: 8px;

/*MIXINS*/

.commonProperties(@bg_color2, @font_size2, @body_margin2) {
    background-color: @bg_color2; 
    font-size: @font_size2;
    margin: @body_margin2;
}

.size(@font_size2) {
    font-size: @font_size2;
}

.color(@color2) {
    color: @color2;
}

/* MOBILE STYLES */

body {
	font-family: "Open Sans", sans-serif;
	line-height: 1.5em;
    .commonProperties(@mBgColor2, @mFontSize2, @mBodyMargin2);
}

p, h1, h2, h3 {
	margin: @pHeadingMargin;
}

h1, h2, h3 {
	font-weight: bold;
}

h1 {
    .size(@h1FontSize2);
	text-shadow: 2px 2px #989898;
	margin-bottom: 0;
	margin-top: 0;
	line-height: 2em;
}

h2 {
    .size(@h2FontSize2);
}

h3 {
    .size(@h3FontSize2);
	font-style: italic;
}

ol {
	list-style: decimal;
	margin-left: 25px;
}

li {
	line-height: 1.5em;
}

img {
    width: 400px;
    height: 300px;
}

footer {
	margin-bottom: 10px;
	font-style: italic;
    .color(@footerColor2);
	text-align: center;
}

#references2 ul {
	list-style-type: disc;
	list-style-position: inside;
}

#references2 a:link, #references2 a:visited {
	text-decoration: none;
}

#references2 a:hover {
	text-decoration: underline;
    .color(@referencesHoverColor2);
	background-color: @referencesBgColor2;
}

#container2 {
	margin: 0 1em;
}

#summary2 {
    .size(@summaryFontSize2);
	font-style: italic;
	line-height: 115%;
	margin-top: 5px;
	letter-spacing: 1px;
}

#summary:first-letter {
    .size(@summaryFirstFontSize2);
	font-weight: bold;
}

#designer2 {
    .size(@designerFontSize2);
	line-height: 1.1em;
	text-align: left;
}

#contact2 {
	letter-spacing: 3px;
    .size(@contactFontSize2);
}

/* CSS GRID MOBILE */

.toppandulces {
    display: grid;
    grid-gap: 20px;
    padding: 10px;
}

.item1 {
    grid-column: 1 / span 12;
    grid-row: 1;
}

.item2 {
    grid-column: 1 / span 12;
    grid-row: 2;
}

.item3 {
    grid-column: 1 / span 12;
    grid-row: 3;
}


/* TABLET STYLES */

@media only screen and (min-width: 600px) {

	body {
        .commonProperties(@tBgColor2, @tFontSize2, @tBodyMargin2);
	}

	h2 {
		margin-top: 0;
		margin-bottom: .8em;
	}

	h3 {
		margin-top: 0;
	}

	ol {
		margin-bottom: 15px;
	}

	ol li {
		margin-left: @olLiLeftMargin;
	}

	ul {
		margin-bottom: 1em;
	}

	#pandulce101 ol {
		margin-left: 18px;
	}
    
    /* CSS GRID TABLET */

	.item1 {
		grid-column: 1 / span 6;
		grid-row: 1;
	}

	.item2 {
		grid-column: 7 / span 6;
		grid-row: 1;
	}

	.item3 {
		grid-column: 1 / span 6;
		grid-row: 2;
	}
}

/* DESKTOP STYLES */

@media only screen and (min-width: 1025px) {

	body {
        .commonProperties(@dBgColor2, @dFontSize2, @dBodyMargin2); 
	}
    
/* CSS GRID DESKTOP */
    
	.item1 {
		grid-column: 1 / span 4;
		grid-row: 1;
	}

	.item2 {
		grid-column: 5 / span 4;
		grid-row: 1;
	}

	.item3 {
		grid-column: 9 / span 4;
		grid-row: 1;
	}
}