* {
  box-sizing: border-box;

  margin: 0;
  padding: 0;
}

::selection {
  background: #ffbf80;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}





/* -------Header------- */

.main-logo{
  display: inline-block;
  width: 150px;
  height: 150px;
  padding: 0.5rem;
}

.title{
  display: inline-block;
  font-size: 70px;
  padding: 0.5em;
  text-align: center;
  font-family: 'Lobster', cursive;
  color: #404040;
}

header {
  background-color: #ffad5c;
  
}

.header-top{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

header {
  background-color: #ffad5c;
  
}

/* ------------------------------- */






body {
  font-family: 'Alegreya Sans', sans-serif;
}

h1 {
  color: #404040;
  text-align: center;

  padding: 0.5em;
}

h2 {
  color: #404040;
  margin: 10px;
  font-size: 28px;
}

h3 {
  color: #404040;
  font-size: 26px;
}

p{
  font-size: 25px;
}

img {
  vertical-align: middle;
}





/* -------Раздел Въведение------- */

.introduction-body{
  background-color: #52A8FF;
}

.introduction-image{
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.introduction-h2{
  padding-top: 10px;
}

.p-text-introduction{
  background-color:#f2f2f2;
  width: 90%;
  height: 30%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.intro {
  text-indent: 50px;

  padding: 10px;
  margin: 10px;
}

/* ------------------------------- */










/* -------Раздел Любопитно------- */

.intriguing-body{
  background-color:#52A8FF;
}

.intriguing-content{
  padding: 0 18px;
  background-color: #f1f1f1;
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 8px;
  padding-top: 18px;
}

.collapsible-opened{
  background-color: #777;
  color: white;
  padding: 18px;
  width: 90%;
  text-align: left;
  font-size: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 20px;
}

.text-margintop{
  margin-top: 30px;
}

.text-div-intriguing{
  background-color: #f2f2f2;
  width: 90%;
  height: 30%;
  padding: 10px;
  font-size: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;

}


.intriguing-flex{
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}

.intriguing-timg{
  width: 62%;
  margin-left: 20px;
  margin-top: 20px;
}

.table1,
.table2,
.table3{
  margin-left: 3%;
}

.text2 {
  margin-bottom: 20px;
}

.table-div{
  display: flex;
  flex-direction: row;
}

table, th, td {
  text-align: center;
  border: 1px solid black;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
}

.table{
  background-color: white;
  width: 32%;
  margin-left: 10px;
  margin-top: 20px;
  font-size: 20px;
}

/* ------------------------------- */








/* -------Раздел Съдържание------- */

.collapsible-content{
  display: inline-block;
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 40%;
  text-align: left;
  font-size: 30px;
  margin-left: 0;
  margin-right: 0;
}

.content-iframe{
  display: none;
  float: right;
  width: 40%;
  height: 50vh;
  margin: 10px 0px;
  border: none;
  background-color: #f2f2f2;
}

.h2-section-content{
  width: 90%;
  text-align: left;
  display: block;
  margin-left: auto;
  margin-right: auto; 
}

.content-body{
  text-align: center;
  background-color: #52A8FF;
  margin-bottom: 20px;
  /*\ display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  width: 90%; */
  
}

.collapsible-content:hover{
  background-color:#555;
}

.content-image{
  width: 90%;
}

.content-text {
  padding: 10px;
  margin: 10px;   
}

.margin-top{
  margin-top: 20px;
}

.padding-bottom{
  padding-bottom: 25px;
}

/* ------------------------------- */








/* -------Раздел Самоконтрол------- */

.self-control-body{
  background-color: #52A8FF;
}

.task {
  margin-left: auto;
  margin-right: auto;
}

.self-control-div{
  background-color: #f1f1f1;
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
}

.self-control-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s;
  background-color: #f1f1f1;
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.task-section{
  margin: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.self-control-collapsible{
  margin: 10px;
}

.self-control-img{
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}


/* ------------------------------- */









/* -------Раздел Поглед към езиците------- */

.latl-body{
  background-color: #52A8FF;
}

.latl-picture{
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.latl-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s;
  background-color: #f1f1f1;
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.table-picture {
  text-indent: 50px;

  padding: 10px;
  margin: 10px;
}

.table-picture{
  padding: 20px;
  width: 60%;
}

.language-text {
  padding: 10px;
  margin: 10px;
}

.language-text2{
  padding-left: 10px;
  padding-right: 10px;
  margin: 10px;
}

.collapsible{
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 90%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.active, .collapsible:hover {
  background-color: #555;
}

.collapsible:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

/* ------------------------------- */









/* -------Раздел Нашият архив------- */

.archive-body{
  background-color: #52A8FF;
}

.archive-div{
  background-color: #f2f2f2;
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;

}

.archive-h2{
  padding: 10px;
}

.archive-link:hover{
  background-color: #86c2ff;
}

.pdf {
  width: 50px;
}

.archive {
  color: #52A8FF;
}

/* ------------------------------- */







/* -------Footer------- */


.footer-title{
  display: inline-block;
  font-size: 70px;
  padding: 0.5em;
  text-align: center;
  font-family: 'Lobster', cursive;
  color: #404040;
}

footer {
  background-color: #ffad5c;
}

.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  padding-bottom: 3rem;
}

.email:hover {
  background-color: white;
}

.email_img {
  width: 45px;
}

.pmg-photo{
  width: 600px;
  height: 175px;
}

.map{
  width: 45vw;
  height: 100%;
}

.footer-logo {
  width: 150px;
  text-align: center;
}

.right-footer{
  margin: 10px;
}

.right-footer-p{
  padding: 10px;
}

.bottom-footer {
  display: flex; 
  flex-direction: row;
  justify-content: space-around;

  padding-bottom: 3rem;
}

/* ------------------------------- */









/* -------Responsive design------- */

@media (max-width: 1200px) {
  .bottom-footer {
    flex-direction: column;
    justify-content: center;
  }

  .map{
    width: 80%;
    height: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .pmg-photo{
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-text{
    padding-left: 100px;
    font-size: 22px;
  }

  .right-footer-p{
    font-size: 22px;
    text-align: left;
    padding-left: 100px;
  }

  .right-footer-h1{
    padding-left: 100px;
    font-size: 50px;
    text-align: left;
  }

}

@media (max-width: 1500px){
  .intriguing-flex{
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
  }
  
  .intriguing-timg{
    visibility: hidden;
    height: 1px;
  }

  .table{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
}

@media (max-width: 1550px){
  .content-iframe{
    height: 75vh;
  }
}

@media (max-width: 1440px){
  .collapsible-content{
    display: block;
  }
  .inline-block-h2{
    display: inline-block;
  }
}

@media (max-width: 1400px){
  .archive-p{
    padding: 10px;
  }
}

@media (max-width: 1000px){
  .content-body{
    display: flex;
    flex-direction: column;
  }

  .collapsible-content,
  .content-iframe{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }

  .inline-block-h2{
    display: block;
  }
}

@media (max-height: 723px){
  .content-iframe{
    height: 78vh;
}
}

@media (max-width: 600px){
  .archive-p{
    padding: 20px;
  }
}

/* ------------------------------- */


