body {
    font-family: Arial;
    background: white;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    margin: 0; /*margin and padding 0 deletes all the default margins. */
    padding: 0;
}
.content {
    text-align: center;
}

.button {
    transition-duration: 0.4s;
    padding: 10px 20px;
    width: fit-content;
    text-align: center;
    align-content: center;
    color: black;
    text-decoration: none; /* remove underline */
    border-radius: 40px;
    background: lightgrey;
    border: 3px solid transparent;
    cursor: pointer;
    margin-right: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
}

.button:hover {
    background: white;
    transform: scale(0.95);
    box-shadow: 0 8px 16px 0 rgba(0,151,178,1);
}
.btn-top {
    transition-duration: 0.5s;
    width: fit-content;
    text-align: center;
    align-content: center;
    color: #3f3f3f;
    background: solid transparent;
    text-decoration: none; /* remove underline */
    cursor: pointer;
    margin-right: 20px;
    margin-left: 20px;
}

.btn-top:hover {
    color: black;
    transform: scale(1.1);
}
div.fixed {
    position: fixed;
    bottom: 0;
    right: 1;
    text-align: center;
    padding: 10px;
    color: white;
    background-color: solid transparent;
}
.about {
    background: white;
    align-content: center;
    color: black;
    padding-left: 5%;
}

.top-bar {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    background-color: white;
    align-content: left;
    justify-content: left;
}

.top-bar > div {
    padding: 10px;
    font-size: 16px;
}

.fade-in-container {
    padding: 0;
    text-align: center;
    background: solid transparent;
    color: white;
    border-radius: 10px;
}

.fade-in-text {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.delay-1 {
    animation-delay: 0.25s;
}

.delay-2 {
    animation-delay: 0.5s;
}

.delay-3 {
    animation-delay: 0.75s;
}

.delay-4 {
    animation-delay: 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-container h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.fade-in-container h3 {
    margin-bottom: 0;
}

/*hover effects*/
.hover-container {
    text-align: center;
}

.hover-text {
    font-size: 7em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-text:hover {
    transform: translateY(-10px);
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hover-scale {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hover-scale:hover {
    transform: scale(1.2);
}

.hover-rotate {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-glow {
    font-size: 7em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-glow:hover {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
    color: #5e00ffff;
}

/*slide*/
.slide-container {
    overflow: hidden;
    color: white;
}

.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-container h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.slide-container h3 {
    color: white;
    margin-bottom: 10px;
}

.device {
    color: white;
    display: grid;
    background: rgb(94 0 255 / 96%);
    align-content: center;
    text-align: left;
    border-radius: 40px;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-right: 20%;
    margin-left: 20%;
    border: 5px solid white;
}

.device > div {
}
.device-title {
    color: white;
    margin-left: 5%;
}
.device-specs {
    color: white;
    margin-left: 5%;
}

.accounts {
    display: grid;
    grid-template-columns: auto auto auto auto;
    background-color: white;
    align-content: center;
    justify-content: center;
    border-radius: 40px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.accounts > div {
    padding: 10px;
    font-size: 16px;
}

.ac-button {
    transition-duration: 0.5s;
    padding: 10px 20px;
    width: fit-content;
    text-align: center;
    align-content: center;
    color: white;
    text-decoration: none; /* remove underline */
    background: solid transparent;
    border: 3px solid transparent;
    cursor: pointer;
    margin-right: 0px;
    margin-left: 0px;
}

.ac-button:hover {
    transform: scale(1.3);
}

/* unvisited link */
.ab:link {
    color: blue;
}

/* visited link */
.ab:visited {
    color: blue;
}

/* mouse over link */
.ab:hover {
    color: grey;
}

/* selected link */
.ab:active {
    color: grey;
}

.stcontainer {
  display: flex;
  gap: 10px;
  padding: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.stats {
    flex: 1;
    color: white;
    text-align: center;
    box-sizing: border-box;
    width: 11em;
    border-radius: 40px;
    margin-top: 10px;
    background: rgb(94 0 255 / 96%);
}

.stat-title {
    padding-left: 10px;
    padding-right: 10px;
}

.topcontainer {
    background: floralwhite;
    height: auto;
}
.topimg {
    display: flex;
    gap: 20px;
    padding: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}



.t1 {
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 60px;
}

.t2 {
    text-align: center;
    padding: 0;
    margin: 0;
}

.h1-2nd {
    font-size: 50px;
}

.h2-2nd {
    font-size: 30px;
}

.h3-2nd {
    font-size: 21px;
}
.p-2nd {
    font-size: 18px;
}

.archive-grid {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.archivmg {
    border-radius: 40px;
}
* {box-sizing: border-box}

.overlaycontainer {
    position: relative;
    width: 50%;
    max-width: 300px;
}

.bookcover {
    cursor: pointer;
    transition-duration: 0.5s;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    color: black;
    width: 100%;
    transition: .5s ease;
    opacity:0;
    font-size: 20px;
    padding: 20px;
    text-align: center;
    border-radius: 40px;
}

.overlaycontainer:hover .overlay {
    opacity: 1;
}

.overlaycontainer:hover .bookcover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px 0 rgba(0,151,178,1);
}
