* {
  transition: 0.3s linear;
}
body {
  margin: 0;
  background: #f0f0f0;
  font-family: "Montserrat", cambria, sans-serif;
  color: #333333;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
.container {
  flex: 1;
}
header {
  padding: 1px;
  margin-bottom: 20px;
  background: #03A6A6;
  color: white;
}
.content-wrap {
  padding: 20px;
  margin-bottom: 20px;
  background: white;
}
aside {
  padding: 20px;
  margin-bottom: 20px;
  background: white;
  border: 2px solid #03A6A6;
}
footer {
  padding: 20px;
  background: #03A6A6;
  color: white;
}
ul {
  background: white;
  font-weight: 700;
  line-height: 24px;
}
a {
  font-weight: 600;
  color: #bf0426;
  text-decoration: none;
}
a:hover {
  color: #512405;
  text-decoration: underline;
}
footer a:hover{
  color: #ffffff;
  text-decoration: underline;
}
img {
  margin: 0;
  width: 100%;
  box-shadow: 3px 3px 3px -2px #000000;
  border: 0px;
  max-width: 100%;
  height: auto;
  display: block;
}
header img  {
  display: block;
  margin: 1px auto 30px;
  width: 33%;
  max-width: 100%;
  box-shadow: none;
  border: 0px;
}
.itn {
  color: #bf0426;
}
.itnt {
  color: #2b2b2b;
}
blockquote {
  margin: 0;
  background: #eee;
}
blockquote p {
  padding: 15px;
  background: #eee;
}
blockquote p::before {
  content: '\201C';
}  
blockquote p::after {
  content: '\201D';
}  
.tte {
  display: block;
  margin: 2em auto;
  width: 90px;
}
.ttes {
  display: block;
  margin: 2em auto;
  padding: auto;
  max-height: 40px;
}
.ttel {
  display: block;
  margin: 0 auto;
  box-shadow: none;
  border: 0px;
  width: 90px;
}
.spart {
  margin: 0 auto;
  box-shadow: none;
  border: 0px;
}
.soc {
  display: block;
  margin: 0 auto;
  box-shadow: none;
  border: 0px;
  width: 40px;
}
figure {
    box-shadow: 3px 3px 3px -2px #000000;
    border: 0px;
    display: flex;
    flex-flow: column;
    padding: 0px;
    max-width: 300px;
    margin: 20px auto;
}
figcaption {
    background-color: #1f2630;
    color: #ffffff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
}
.icco {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  box-shadow: none;
  padding: 5px;
  flex: 1;
  }
.icc {
  margin: 0 auto;
  padding: 5px;
  box-shadow: none;
  width: 48px;
  }  
.copy-btn {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: #45a049;
}
.copy-btn {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}
.calculator-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: sans-serif;
}
.section h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}
.section {
  margin-top: 20px;
}
input[type="radio"],
input[type="checkbox"] {
  margin-right: 8px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
#result {
  margin-top: 20px;
  font-weight: bold;
  font-size: 20px;
  color: #333;
}
.calculator-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.calculator-icon:hover {
  transform: scale(1.1);
}

  
@media (min-width: 736px) {
  .main-content {
    display: flex;
  }
  .content-wrap {
    width: calc(100% - 340px);
    margin-right: 20px;
  }
  aside {
    width: 340px;
  }
  .dvaa {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  flex: 1;
  }
  .dvaa1 {
  width: 50%;
  margin: 10px;
  padding: 5px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  }

img {
  margin: 0;
  width: 100%;
  box-shadow: 3px 3px 3px -2px #000000;
  border: 0px;
  max-width: 100%;
  height: auto;
  display: block;
  }  
 
.tte {
  margin: 2em auto;
  width: 90px;
  }
.ttes {
  margin: 2em auto;
  padding: auto;
  max-height: 40px;
  }
.ttel {
  margin: 0 auto;
  box-shadow: none;
  border: 0px;
  width: 90px;
  }
.spart {
  margin: 0 auto;
  box-shadow: none;
  border: 0px;
  }
.soc {
  margin: 0 auto;
  box-shadow: none;
  border: 0px;
  width: 40px;
  }
figure {
    box-shadow: 3px 3px 3px -2px #000000;
    border: 0px;
    display: flex;
    flex-flow: column;
    padding: 0px;
    max-width: 300px;
    margin: 20px auto;
  }
figcaption {
    background-color: #1f2630;
    color: #ffffff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
  }
}
.dvaa1 {
  width: 100%;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
  }
.hh {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  line-height: 27px;
  color: #bf0426;
  margin-bottom: 10px;
}
.hhh {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  line-height: 27px;
  color: #bf0426;
  margin-bottom: 10px;
}
.jus {
  font-style: normal;
  font-weight: 400;
  text-align: justify;
  margin-bottom: 10px;
}
.cntr {
  font-style: normal;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
}
.inst {
  font-style: normal;
  font-weight: 400;
  text-align: center;
  margin: auto;
  padding: auto;
}
.copy-btn {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}
.calculator-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: sans-serif;
}
.section h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}
.section {
  margin-top: 20px;
}
input[type="radio"],
input[type="checkbox"] {
  margin-right: 8px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
#result {
  margin-top: 20px;
  font-weight: bold;
  font-size: 20px;
  color: #333;
}
.calculator-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.calculator-icon:hover {
  transform: scale(1.1);
}


.copy-btn:hover {
  background-color: #45a049;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 50px;
  left: 20px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 200px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}
.calculator-icon img {
  width: 60px; /* або auto, якщо треба зберегти пропорції */
  box-shadow: none;
  border: none;
  margin: 0;
}
