/*
Theme Name: Aboutheme
Theme URI: https://www.landscapepaintingtutor.com/wp-content/themes/Aboutheme
Description: About my page theme
Version: 1.0
Author: Jasmina
Author URI: https://www.landscapepaintingtutor.com/about/
*/



body, div, h3, h4, h5, h6, p, ul, img {margin:0; padding:0; }


@font-face {
  font-family: 'Quicksand-Medium';
  src: url('https://www.landscapepaintingtutor.com/Quicksand-Medium.eot');
  src: url('https://www.landscapepaintingtutor.com/Quicksand-Medium.eot?#iefix') format('embedded-opentype'), 
       url('https://www.landscapepaintingtutor.com/Quicksand-Medium.woff2') format('woff2'), 
       url('https://www.landscapepaintingtutor.com/Quicksand-Medium.woff') format('woff'), 
       url('https://www.landscapepaintingtutor.com/Quicksand-Medium.ttf') format('truetype'), 
       url('https://www.landscapepaintingtutor.com/Quicksand-Medium.svg#Quicksand-Medium') format('svg'); 
}

body {
  font-family: 'Quicksand-Medium', sans-serif;
}

body {
  font-size: 18px;
  color: #444444;
  text-align: justify;
  text-justify: inter-word;
}
p {
      font-size: 18px;
  color: #444444;
  text-align: justify;
  text-justify: inter-word;
}
main {
   background-color: white;
    margin: 0 auto; 
}
  header {
        position: relative;
        text-align: center;
    }
    
    header {
    width: 100%;
    margin: 0 auto; 
    text-align: left;
}

a {
    color: #2041AD;
}



/* Style the navigation bar */
.navbar {
    background-color: white;
    padding: 10px 0; /* Increased padding for the top and bottom of the navbar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); 
}

.container-nav {
    max-width: 1200px; /* Set a maximum width for the content */
    margin: 0 auto; /* Center the content horizontally */
    display: flex;
    justify-content: space-between; /* Align the logo and menu at opposite ends */
    align-items: center; /* Vertically center the content */
}

.logo {
    font-size: 24px; /* Font size for the logo */
    text-decoration: none; /* Remove underline from the logo */
    padding-left: 20px;
    color: #fff; /* Text color for the logo */
}

.menu {
    list-style: none; /* Remove bullet points from the menu */
    display: flex;
    align-items: center; /* Center the menu vertically */
}

.menu li {
    margin-right: 20px; /* Add spacing between menu items */
}

.menu a {
    text-decoration: none; /* Remove underline from menu links */
    color: #777777; /* Text color for menu links */
    font-weight: bold; /* Make menu links bold */
     font-size: 18px; /* Larger font size for menu links */
    transition: color 0.3s; /* Smooth color transition on hover */
}

.menu a:hover {
    color: #f8de7f; /* Change color on hover */
}
.btn {
    background-color: #008001;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto; /* Push the button to the right */
    transition: background-color 0.5s ease, opacity 0.5s ease;
}
.menu a.btn {
    color: #fff; /* Set the text color to white for the button */
}

.menu-container .btn:hover {
    background-color: #F8DE7F; /* Change background color on hover */
    color: black; /* Text color on hover */
}



.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none; /* Make the button initially visible */
}
.menu.active {
    display: block; /* or any other style to show the menu */
}
.bar {
    width: 30px;
    height: 3px;
    background-color: #777777;
    margin: 6px 0;
    transition: 0.4s;
}

h1 {
    text-align: center;
    padding: 2%;
}
h2 {
    text-align: center;
}

.section-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
    background-color: #F8DE7F; /* Change the background color as needed */
}

.section-left .content {
    order: 1;
}

.section-left .image {
    order: 2;
}



.content {
    flex: 1;
    max-width: 50%;
    padding: 0 0 16px 0;
}

.image img {
    max-width: 100%;
    height: auto;
}




footer {
  width: 100%;
}
.footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 60px;
  align-items: center;
  background-color: #d4d6d3; 
}
.footer-inner .image {
  max-width: 50%; /* Set the max-width for the "image" in PC */
}
.footer-inner .content {
  max-width: 48%; /* Set the max-width for the "content" in PC */
}
footer p {
    color: #666666;
    font-size: 18px;
}
footer a {
    color: green;
    text-decoration: none;
}
footer a:hover {
    color: blue;
}
.media {
  margin: 20px 0;
  padding: 0; 
}
.media li {
  float: left;
  padding: 4px;
  list-style: none;
  position: relative;
}














.img {
    margin: -5px 15px 15px 15px;
  padding: 5px 5px 5px 5px;
}









@media (max-width: 1240px) {
.section-left {
    padding: 40px;
}
}




@media (max-width: 1150px) {
.section-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.section-left .content {
    order: 1;
    max-width: 100%; /* Set a specific max-width value */
}
.section-left .image {
    order: 2;
}
 .footer-inner {
    flex-direction: column-reverse; /* Reverse the order for mobile devices */
    align-items: center;
    padding: 40px;
  }
.footer-inner .image {
    max-width: 80%; /* Set the max-width for the "image" in tablets */
}
.footer-inner .content {
    max-width: 100%; /* Set the max-width for the "content" in tablets */
}

img { /*ovo je resilo presiroke slike*/
  width: auto ;
  max-width: 100% ;
  height: auto ;
}
.logo {
    width: 80%;
}
}






/* For tablets */
@media (max-width: 1024px) {
html, body {
overflow-x:hidden;
}
body {
  font-size: 22px;
  color: #4C4B4B;
  text-align: justify;
  text-justify: inter-word;
}

}



/*razlika izmedju mob i desktop*/

@media only screen and (max-width: 601px) {
body {
  font-size: 20px;
  color: #4C4B4B;
  text-align: justify;
  text-justify: inter-word;
}
.section-left {
    padding: 20px;
}  
.logo {
    padding-left: 10px;
    padding-right: 10px; 
}
.menu {
    display: none;
}
.menu a {
     font-size: 20px;
}
.menu li {
    margin-right: 18px; /* Add spacing between menu items */
}
.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: block; /* Make the button initially visible */
}
}    


@media only screen and (max-width: 510px) {
.menu li {
    margin-right: 12px; /* Add spacing between menu items */
}
.header1 {
    font-size:18px
}
.logo {
    margin-left: 1px;
}
}



@media only screen and (max-width: 440px) {
.footer-inner .image {
    max-width: 100%; /* Set the max-width for the "image" in tablets */
}
.menu li {
    margin-right: 8px; /* Add spacing between menu items */
}
}




/* my iPhone and samsung edge use */
@media only screen and (max-width: 415px) {
.menu a {
     font-size: 16px;
}
}





@media only screen and (max-width: 360px) {
.my-button {
    font-size: 16px;
}
.menu a {
     font-size: 14px;
}
}

