html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  cursor: pointer;
}

a,
button,
input,
textarea {
  outline: 0;
}

input,
textarea {
  border: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #646B63;
  padding: 20px;
}

.section {
  width: 700px;
  height: 450px;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 0px 3px 1px rgb(100, 107, 99, 0.5);
}

.section__inner {
  height: 420px;
  border-radius: 10px;
}

.section__items {
  position: relative;
  display: flex;
  height: 50px;
}

.logo {
  padding: 5px;
  margin-right: 250px;
}

.section__item,
.section-title {
  display: inline-block;
}

.section__item input[type="radio"] {
  display: none;
}

.section__item :checked+.section-title {
  position: relative;
  letter-spacing: 2px;
}

.section__item :checked~.section__content {
  display: block;
}

.section-title {
  display: flex;
  padding: 0 15px;
  align-items: center;
  transform: translateY(5px);
  cursor: pointer;
}

.section-title img {
  width: 33px;
  height: 18px;
  box-shadow: 0px 0px 0px 1px rgb(100, 107, 99, 0.5);
  transition: 0.1s;
}

.section-title img:hover {
  box-shadow: 0px 0px 2px 1px rgb(100, 107, 99, 0.8);
}

.section__content {
  position: absolute;
  left: 0;
  width: 100%;
  display: none;
  transform: translateY(50px);
}

.section__content-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.section h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
}

.section__content-item p {
  margin-bottom: 20px;
  padding: 5px;
  font-size: 15px;
}

.section__content-item a {
  text-decoration: underline;
  color: #194571;
  transition: color 0.2s;
}

.section__content-item a:hover {
  color: #E7650F;
  text-decoration: none;
}





@media (max-width: 700px) {
  .logo {
    margin-right: 170px;
  }
}

@media (max-width: 600px) {
  .logo {
    margin-right: 100px;
  }

  .section h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section__content-item p {
    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {
  .logo {
    margin-right: 10px;
  }

  .section h1 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .section__content-item p {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .section {
    height: 550px;
  }

  .section__inner {
    height: 530px;
  }
}

@media (max-width: 400px) {
  body {
    padding: 15px;
  }

  .section {
    padding: 5px;
  }

  .section-title {
    padding: 8px;
  }

  .section__content {
    transform: translateY(15px);
  }

  .section h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .section__content-item p {
    margin-bottom: 5px;
    font-size: 14px;
  }
}

@media (max-width: 300px) {
  .logo {
    width: 130px;
    margin-right: 5px;
  }

  .section h1 {
    font-size: 22px;
  }

  .section-title {
    padding: 5px;
  }

  .section {
    height: 630px;
  }

  .section__inner {
    height: 630px;
  }
}


@media (max-width: 270px) {
  .logo {}

  .section {
    height: 700px;
  }

  .section__content-item p {
    font-size: 12px;
  }

  .section h1 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .section {
    height: 600px;
  }

  .section__inner {
    height: 600px;
  }

  .section__content {
    transform: translateY(0px);
  }
}