* {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  scroll-behavior: smooth;
}

.c5 {
  background-color: #e5d6f8;
}

.c3 {
  background-color: #deebff;
}

nav {
  background-color: #000000;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 30px 0px 30px;
}

nav .logo {
  font-weight: 600;
  font-size: xx-large;
  display: flex;
}

.macbtn2 {
  background-color: transparent;
  margin: 3px;
  color: white;
  border-radius: 10em;
  padding: 13px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: 1px solid rgb(247, 247, 247);
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  display: flex;
  width: fit-content;
  margin-top: 10px;
}

.macbtn2:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 0 0 rgb(255, 255, 255);
}

.button {
  background: transparent;
  border: 2px solid black;
  border-radius: 10em;
  padding: 13px;
  color: black;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}

.shadow {
  box-shadow: 5px 5px black;
  border: 2px solid black;
}

.macnotes-border {
  border: 2px solid black;
  padding: 18px;
  height: 100%;
  border-radius: var(--border-radius);
  gap: 10px;
  margin-bottom: 20px;

  heading {
    padding: 20px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    margin-top: -18px;
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: 20px;
    display: flex;
  }
}

.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transition: all 0.2s ease-in-out;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.code-container {
  position: relative;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeaea;
}

.code-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: system-ui;
  font-weight: 700;
  color: #333;
}

.copy-button {
  background-color: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
}

.copy-button:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}

.copy-button.copied {
  background-color: #303030;
  border-color: #2d2d2d;
  color: #fff;
}

.copy-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.code-block {
  padding: 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #333;
  overflow-x: auto;
  margin-top: 10px;
}

.new-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
  z-index: 9999;
}

.new-toast.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

.new-toast.success {
  background-color: #323232;
}

.new-toast.error {
  background-color: #dc3545;
}

.new-toast.info {
  background-color: #17a2b8;
}

hr {
  border-top: 1px solid black;
}

.glass {
  background-color: rgba(215, 214, 225, 0.199);
  backdrop-filter: blur(20px);
  border-radius: 23px;
}

.macbox {
  background-color: white;
  padding: 20px;
  border: 1px solid rgb(199, 198, 198);
  border-radius: 23px;
  box-shadow: 2px 2px 2px 2px rgb(238, 236, 236);
}

/* css for page 2 - elements */

.part1 {
  background: #a195ed;
  background: linear-gradient(90deg, rgba(161, 149, 237, 1) 0%, rgba(188, 127, 245, 1) 100%);
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 25px;
  border-radius: 30px;
  margin: 10px;
  width: 70%;
  text-align: left;
}
@media (max-width: 600px) {
  .part1 {
    width: 96%
  }
}
.glass {
  width: 600px;
}
@media (max-width: 600px) {
  .glass {
    width: 290px;
}
}
.glasss {
  background-color: #efefef5b;
  border-radius: 23px;
  backdrop-filter: blur(20px);
  border: 2px solid #c6b7f479;
  width: 550px;
}
@media (max-width: 600px) {
  .glasss {
    width: 96%;
}
}

 .image {
  background-color: #ffffff62;
  border-radius: 30px;
  width: 380px;
}
@media (max-width: 600px) {
  .image {
    width: 95%;
  }
}

/*Grid css*/
.grids {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
}

.grid {
  padding: 1px;
}

@media (min-width: 900px) {
  .grids {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 600px) {
  .grids {
    grid-template-columns: repeat(3, 1fr);
  }
}
.boc {
  background-color: white;
  box-shadow: 0px 5px 15px rgba(41, 41, 41, 0.158);
  padding: 25px;
  border-radius: 30px;
  width: 66%;
  text-align: left;
}
@media (max-width: 600px) {
  .boc {
    width: 100%;
  }
}
.box {
  background-color: #bec3ff84;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  padding: 40px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}
.box1, .box2 {
  display: flex;
}
@media (max-width: 600px) {
  .box {
    display: block;
    padding: 25px;
  }
}
.text1 {
  color: #3e1ca4;
  font-size: 40px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .text1 {
    font-size: 27px;
  }
}
.box2 {
  background-color: #bec3ffad;
  justify-content: center;
  align-content: center;
  padding: 15px;
  border-radius: 30px;
  border: 2px solid rgb(184, 148, 242);
  margin-top: 10px;
  width: 500px;
}
@media (max-width: 600px) {
  .box2 {
    width: 99%
  }
}
