* {
    margin: 0;
    box-sizing: border-box;
  }

body {
    background-color:#f0f8ff;
    max-width: 800px;
    margin: auto;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

hr {
    max-width: 30%;
}

h1, p {
    color: #000000;
}

nav {
    margin-top: 30px;
    margin-bottom: 30px;
}

nav a {
    text-decoration: none;
    border-radius: 10px;
  background-color: rgb(1, 37, 73);
  color: rgb(255, 255, 255);
  padding: 14px 28px;
  font-size: 16px;
  opacity: 80%;
}

nav a:hover {
    opacity: 35%;
}

p {
    color:#000000;
    max-width: 500px;
    margin: auto;
    padding-bottom: 35px;
}

img {
    width: 400px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.dove {
    margin-top: 10px;
}

footer {
    margin-top: 20px;
    margin-bottom: 20px;
}


@media screen and (max-width:800px) {
    
    img {
        width: 50%;
    }

    p {
        font-size: medium;
    }
}

.fadein {
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tooltip {
    position: relative;
    
}

.tooltip::after {
    content: attr(data-tooltip); 
    position: absolute;
    visibility: hidden;
    opacity: 0;
    background-color: #e4e4e4;
    color: #000000;
    padding: 5px;
    border-radius: 2px;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120%; 
    transition: opacity 0.3s ease; 
}

.tooltip:hover::after {
    visibility: visible;
    opacity: 1;
}

.topbtn {
    color: #ffffff;
    background-color: rgb(1, 37, 73);
    text-decoration: none;
    border-radius: 150px;
    padding: 10px;
    margin-top: 25px;
    opacity: 80%;
}

.topbtn:hover {
    opacity: 35%;

}
