/*
Theme Name: Tutheme
Theme URI: https://www.landscapepaintingtutor.com/wp-content/themes/Tutheme
Description: Tutorials theme
Version: 1.0
Author: Jasmina
Author URI: https://www.landscapepaintingtutor.com/
*/




body {
  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;
}

/* Apply the same font size to all elements in the body */
body {
  font-size: 18px; /* Adjust the size according to your preference */
}

main {
   background-color: white;
    margin: 0 auto; 
}
header {
    position: relative;
    width: 100%;
    margin: 0 auto; 
    text-align: left;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Adjust the values as needed */
}


h1 {
    text-align: center;
    padding: 2%;
}
h2 {
    text-align: center;
}
a {
  color: blue; 
  text-decoration: none;
}
a:hover {
    color: #059862;
}
p {
  font-size: 17px;
  color: #444444;
  text-align: justify;
  text-justify: inter-word;
      padding: 20px 36px; 
}


img {
  width: 100%;
  height: auto;
}


/* 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;
}

.off {
    max-width: 150px;
}

.section-left {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
    align-items: center;
    padding: 20px; /* Adjust padding as needed */
    background-color: #e0e0e0; /* Change the background color as needed */
}

.section-left .content {
    flex: 1;
    max-width: 50%;
    order: 1;
}

.section-left .image {
    flex: 1;
    margin-top: 20px; /* Adjust margin to provide space between text and image */
    order: 2;
}

.content {
    padding: 0 0 16px 0;
}

.image img {
    max-width: 100%;
    height: auto;
    border: 2px solid #98491d;
    border-radius: 10px;
}

  /* jump to picker  */
.center-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-button {
  background: #ff5800; /* Solid background color */
  background-image: linear-gradient(0deg, #ff5800, #ff8700);
  margin: 0 0 30px 0;
  color: #fff;
  font-family: 'Quicksand-SemiBold', sans-serif;
  font-size: 22px;
  padding: 15px 25px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 1s ease, color 1s ease; /* Use background for the easing effect */
}

.my-button img {
  width: 30px; /* Adjust the width as needed */
  height: auto; /* Maintain aspect ratio */
  margin: -10px 16px -10px -10px;
}

/* Change background color on hover */
.my-button:hover {
  background: #ff8700; /* Solid background color on hover */
  color: white;
}

/* lists in sections */
.simplist  li {
    margin-left: 30px;
}


.responsive {
    padding: 6px;
    float: left;
    width: 33.33333%; /* 3 images per row */
    position: relative;
}

.responsive .gallery {
    border: 1px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio (3/4 = 75%) */
}

.responsive .gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



@keyframes delta {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.gallery img {
    border: 1px solid #777;
    border-radius: 15px;
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.gallery:hover {
    border: 1px solid #777;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 
}

.gallery a:hover {
    color: #059862;
}

* {
  box-sizing: border-box;
}


.clear:after {
  content: "";
  display: table;
  clear: both;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 128, 1, 0.7); /* Button color with 80% opacity */
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 20px; /* Adjust padding as needed */
    cursor: pointer;
    display: none;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

#scrollToTopBtn:hover {
    background-color: rgba(248, 222, 127, 0.7); /* Hover color with 80% opacity */
}

/* Arrow styling */
#arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

        
        
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;
}




@media (max-width: 1240px) {
.section-left {
    padding: 40px;
}
}



@media only screen and (max-width: 1150px) {
 .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 */
}
.section-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.section-left .content {
    order: 1;
    background-color: #e0e0e0;
    max-width: 100%; /* Set a specific max-width value */
}
.section-left .image {
    order: 2;
}
.simplist {
  text-align: left; /* Reset the text alignment to left */
}

}




@media only screen and (max-width: 1024px) {
p {
    font-size: 20px;
}
.off {
    max-width: 120px;
    float: right;
}
  /* jump to picker  */
.center-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-button {
  background: #ff5800; /* Solid background color */
  background-image: linear-gradient(0deg, #ff5800, #ff8700);
  margin: 0 0 30px 0;
  color: #fff;
  font-family: 'Quicksand-SemiBold', sans-serif;
  font-size: 22px;
  padding: 15px 25px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 1s ease, color 1s ease; /* Use background for the easing effect */
}

.my-button img {
  width: 30px; /* Adjust the width as needed */
  height: auto; /* Maintain aspect ratio */
  margin: -10px 16px -10px -10px;
}

/* Change background color on hover */
.my-button:hover {
  background: #ff8700; /* Solid background color on hover */
  color: white;
}

}


@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    .section-left .content,
    .section-left .image {
        max-width: 100%;
    }
    
    .section-left .image {
        margin-top: 0;
    }
}


@media only screen and (max-width: 700px) {
.responsive {
    width: 49.99999%;
    margin: 6px 0;
}
}


/*razlika izmedju mob i desktop*/

@media only screen and (max-width: 601px) {
p {
   text-align: justify;
    color: #595858;
    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 */
}
.section-left {
    padding: 1px;
}  
.simplist {
  margin-left: -30px; /* Reset the text alignment to left */
}
.off {
    max-width: 180px;
    float: right;
}

}

@media only screen and (max-width: 510px) {
.menu li {
    margin-right: 12px; /* Add spacing between menu items */
}
.logo {
    margin-left: 1px;
}
.header1 {
    font-size:18px
}
}


@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}


@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) {
.menu a {
     font-size: 14px;
}
}