/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* VARIABLES */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

:root {
    --text-color: #000000;
    --text-color-highlight: #064d0a;

    --text-font: "Lexend";
    --text-font-h1: "SpecialElite";
    --text-font-h2: "LexendReg";

    --font-size: 20px;

    --text-selection-color: rgb(45, 78, 51);
    --text-selected-color: rgb(215, 234, 215);
    --text-shadow: rgb(98, 253, 106);

    --background-color-menu: rgb(246, 245, 242);
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* FONTS */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

/* @font-face {
  font-family: "Roboto_reg";
  src: url("../fonts/roboto/Roboto-Regular.ttf") format("truetype"); 
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto_bold";
  src: url("../fonts/roboto/Roboto-ExtraBold.ttf") format("truetype"); 
  font-weight: 800;
  font-style: bold;
}

@font-face {
  font-family: "Electrolize";
  src: url("../fonts/Electrolize/Electrolize-Regular.ttf") format("truetype"); 
  font-weight: 400;
  font-style: normal;
} */

@font-face {
  font-family: "SpecialElite";
  src: url("../fonts/Special_Elite/SpecialElite-Regular.ttf") format("truetype"); 
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend/static/Lexend-Light.ttf") format("truetype"); 
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "LexendReg";
  src: url("../fonts/Lexend/static/Lexend-Medium.ttf") format("truetype"); 
  font-weight: 400;
  font-style: normal;
}


/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* BASE */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--text-font);
    font-size: var(--font-size);
    background-image: url("/images/backgrounds/cloth/cloth068.jpg");
    margin: 0;
    padding: 10px;
}

/* Text */
h1 {
    font-family: var(--text-font-h1);
    color: var(--text-color-highlight);
    font-size: 1.4em;
    margin: 0 0 0.5em 0;
}

h2 {
    font-family: var(--text-font-h2);
    color: var(--text-color-highlight);
    font-size: 1.2em;
    margin: 0.2em 0;
}

p {
    color: var(--text-color-hight);
    margin: 0.2em 0;

}

details {
  font-size: 0.8em;
}

/* Links */
a {
  text-decoration: underline;
  margin: 0;
}

a,
a:visited {
  color: var(--text-color-highlight);
}

a:hover,
a:focus {
  color: var(--text-color);
  text-decoration-style:dashed;
}

/* Lists */

ul, ol {
  margin: 0 0 0.8em 0;
  padding: 0 1.2em;
}

ul li::marker {
    color: var(--text-color-highlight);
    font-family: var(--text-font-h2);
}

ol li::marker {
    color: var(--text-color-highlight);
    font-family: var(--text-font-h2);
    font-size: 1em;
    font-weight: 800;
}

/* Selection */
::selection { 
    background: var(--text-selection-color);
    color: var(--text-selected-color);
    text-shadow:
    0 0 0.2em var(--text-shadow);
}

mark {
  /* Text highlighted by using the <mark> element */
  background: var(--text-selection-color);
  color: var(--text-selected-color);
  text-shadow:
  0 0 0.2em var(--text-shadow);
}

/* Scrollbar */

/* html {
    scrollbar-color: #458245 #714826;
    scrollbar-width: thin;
} */

/* WEBKIT */



.container ::-webkit-scrollbar {
    width: 10px; 
    background-color: #ffffff87;
    border-radius: 10em;
}

.container ::-webkit-scrollbar-thumb {
    background-color: var(--text-color-highlight);
    border-radius: 10em;
}

.l_sidebar ::-webkit-scrollbar {
    width: 6px; 
    background-color: #d1deca;
    border-radius: 6em;
}

.l_sidebar ::-webkit-scrollbar-thumb {
    background-color: var(--text-color-highlight);
    border-radius: 6em;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* GRID */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

.container {
  margin: auto;
  display: grid;
  grid-gap: 10px;
  justify-content: center;
  grid-template:
    "header header header"
    "Lsidebar main Rsidebar"
    "footer footer footer"
    / 300px 600px 300px;
}

/* aside, main {
  border: 1px solid gray;
} */

header { 
  padding: 10px;
  grid-area: header; 
  text-align: center;
}

aside { 
  grid-area: sidebar; 
}

.l_sidebar {
  grid-area: Lsidebar;
}

.r_sidebar {
  grid-area: Rsidebar;
}

/* WITHOUT SCROLL */
/* main { 
  grid-area: main;
} */

main { 
  grid-area: main;
  height: 80vh;
  overflow-y: auto;
  padding-right: 5px;
}

footer {
  padding: 0px;
  grid-area: footer;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* BOXES FOR GRID */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

.side_box {
  border: 3px solid var(--text-color-highlight);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: var(--background-color-menu);
}

.main_box {
  border: 3px solid var(--text-color-highlight);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: var(--background-color-menu);
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* Header */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

.logo_background {
  background-color: var(--background-color-menu);
  display: inline-block;
  padding: 5px 10px;
  border: 3px solid var(--text-color-highlight);
  border-radius: 8px;
}

.sparkling_logo {
  padding: 0px;
  margin: 0 0 -10px 0;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* Left sidebar */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

/* Menu */
.nav-bar {
  list-style-type: none;
  padding: 0;
}

/* Changelog */
.changelog {
  height: 250px;
  overflow-y: auto;
}

/* To do */
.to-do {
  height: 100px;
  overflow-y: auto;
}


/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* Right sidebar */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */


/* CHAT */
#ChatH1 {
  margin-bottom: 0px;
}

iframe {
  width: 100%;
  height: 400px;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* Main */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

.centered-img {
  text-align: center;
  margin: 10px 0px;
}

.img50px {
  height: 50px;
}

.img100px {
  height: 100px;
}

.img250px {
  height: 250px;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* footer */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

footer p {
  font-size: 0.6em;
  text-align: center;
}

.visit_count {
  display: block !important;
  text-align: center;
}

#visitors {
  height: 155px;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* LANDING */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

.landing {
  background-color: var(--background-color-menu);
  width: 500px;
  padding: 2%;
  border: 3px solid var(--text-color-highlight);
  border-radius: 10px;
  margin: 100px auto;
  text-align: left;
}

.landingFooter {
  color: white;
}

.plant {
  height: 50px;
  width: 50px;
}

/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* My cameras */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

.cameras {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
}

.cameracaption {
  height: 180px;
  width: 160px;
  text-align: center;
}

.cameracaption p{
    font-size: 0.8em;
    margin-top: 1vh;
}

.sonyrx100m2, .canona630, .fed5, .prakticam50bf, .smenasymbol, .sonydsct200 {
  width: 120px; height: 120px;
  margin: 0 auto;
}

.sonyrx100m2:hover, .canona630:hover, .fed5:hover, .prakticam50bf:hover, .smenasymbol:hover, .sonydsct200:hover {
  background-position: 0px -120px;
}


.sonyrx100m2 {
    background: url('/images/cameras/cameras_120px/sony_rx100_m2.jpg') no-repeat left top;
}

.canona630 {
    background: url('/images/cameras/cameras_120px/canon_a630.jpg') no-repeat left top;
}

.fed5 {
    background: url('/images/cameras/cameras_120px/FED_5.jpg') no-repeat left top;
}

.prakticam50bf {
    background: url('/images/cameras/cameras_120px/praktica_m50_bf.jpg') no-repeat left top;
}

.smenasymbol {
    background: url('/images/cameras/cameras_120px/smena_symbol.jpg') no-repeat left top;
}

.sonydsct200 {
    background: url('/images/cameras/cameras_120px/sony_dsc_t200.jpg') no-repeat left top;
}


/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */
/* RESPONSIVE FOR MOBILE */
/* <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 */

@media only screen and (max-width: 530px) {
  
  
  .container {
  margin: auto;
  display: grid;
  grid-gap: 10px;
  justify-content: center;
  grid-template:
    "header"
    "Lsidebar"
    "main"
    "Rsidebar"
    "footer"
    / 90%;
}

.sparkling_logo {
  width: 95%;
  padding: 0px;
  margin: 0 0 -10px 0;
}

iframe {
  width: 100%;
  height: 500px;
}

:root {
    --font-size: 18px;
}

/* WITHOUT SCROLL */
main { 
  grid-area: main;
  height: max-content;
  overflow-y: unset;
  overflow-x:unset;
  padding-right: 0px;
}

.img100px {
  height: 70px;
}



}