.container{
    background-color: white;
}

#main-info{
    margin: 0 15%;
    padding-top: 15px;
    display: flex;
    flex-direction: row;
}

#animal-photo{
    width:362px;
    margin-right: 30px;
}

.animal-id-img{
    width: 100px;
}

#animal-name{
    margin-top: 0;
    font-size: 30px;
}

#details{
    margin-right: 30px;
}

#detail{
    display: flex;
    flex-direction: row;
}

#detail > div{
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
}

#detail > div:first-child{
    margin-right: 30px;
}

#detail > div > p{
    margin-top: 0;
    margin-bottom: 5px;
}

#detail > div > label{
    margin-bottom: 5px;
}

#adopt-buttom{
    /*width: 305px;*/
    /*border: solid black;*/
    height: fit-content;
    margin: auto 0;
    margin-left: 20px;
    padding: 20px 20px;
    border: 1px solid rgba(0, 0, 0, .125);
}

#adopt-buttom > p{
    margin:0;
    margin-bottom: 5px;
}

#first-text{
    color: darkgray;

}

#last-text{
    color: #97cb45;

}

#adopt-buttom > button{
    color: #fff;
    background-color: #97cb45;
    border-color: #97cb45;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

#adopt-buttom > button:hover{
    background-color: #009cd9;
}

#detail > div:first-child > p{
    color: darkgray;
}

#profile{
    color: darkgray;
}

#logo-image{
    width:100px;
}

#add-info{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 15%;
}

.addition-info{
    border-bottom: 1px solid #eee;
}

.addition-info > p{
    margin: 0;
    margin-bottom: 5px;
}

.addition-info > p:first-child{
    margin-top: 15px;
    font-size: 18px;
}

.addition-info > p:last-child{
    /*margin: 0;*/
}

/*Візитка*/

.organization-card {
    margin-top:10px;
    border: 1px solid #cfcfcf;
    padding: 10px;
    width: 50%;
}

.card {
    background-color: #a8cf45;
    padding: 15px;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;

}

.card h3 {
    margin: 0;
    color: white;
}

.description {
    margin: 15px 0;
    padding: 0 10px;
}

.contact-button {
    text-align: center;
    margin-top: 10px;
}

.contact-button button {
    background-color: #a8cf45;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.contact-button button:hover {
    background-color: #009cd9;
}

.organization-link {
    margin-top: 10px;
}

.organization-link a {
    color: #0095ff;
    padding-left: 10px;
}

.information{
    padding-left: 10px;
}

@media (max-width: 930px) {
    #main-info{
        flex-direction: column;
        align-items: center;
    }

    #animal-photo{
        margin-right: 0;
    }

    #details{
        margin-right: 0;
    }

    #adopt-buttom{
        margin-left: 0;
    }

    #add-info{
        flex-direction: column;
        align-items: center;
    }

    .organization-card{
        width: 100%;
    }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  padding-right: 40px;
  border-radius: 8px;
  width: 50%;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content h3 {
  margin-top: 0;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
}

.modal-content button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
}
