body{
    background-color: rgb(46, 106, 226);
    font-size: 20px;
    font-family: josefin;
}
h1, h2 {
    font-family: 'Open Sans', sans-serif;
}
p {
    color: white;
}

#home {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 5vw;
}
#landing, #page {
    display: inline-block;
    text-align: center;
}
#landing {
    max-width: 600px;
    padding: 10px;
}
#page {
    position: relative;
    max-width: 500px;
}
#urlShortener, #generateqr {
    position: relative;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.15);
}
#generateqr, #shortened {
    margin-top: 20px;
}
#shortened {
    display: none;
}
#shortened input{
    width: calc(100% - 70px);
}
button {
    display: inline-block;
    border: none;
    border-radius: 10px;
    padding: 15px;
    background-color: rgb(69, 69, 217);
    color: white;
    cursor: pointer;
}

#chrmExtn {
    padding: 20px;
    margin-top: 20px;
    background-image: linear-gradient(125deg, teal, rgb(238, 0, 255));
    border-radius: 20px;
    text-align: left;
    box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
#chrmExtn p {
    color: black;
}

input, .btn{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    padding: 15px;
    border: none;
    outline: none;
}
.inputTab {
    background-color: rgb(225, 225, 225);
    border-radius: 10px;
}
.btn{
    margin-top: 10px;
    background-color: teal;
    color: white;
    border-radius: 10px;
    cursor: pointer;
}

.extensionContent {
    text-align: center;
    font-size: larger;
}
.help {
    display: block;
    background-color: gray;
    color: black;
    text-align: left;
    padding: 15px;
    margin: auto;
    max-width: 1080px;
}
#dropInstructions {
    cursor: pointer;
}
#instructions {
    display:none;
}
#files {
    margin-top: 20px;
    margin-bottom: 20px;
    border:1px solid silver;
}
section img {
    width: 100%;
    max-width: 500px;
}

#message, #message2 {
    display:none;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: orange;
    color: black;
    animation-name: msg;
    animation-duration: 1s;
}
@keyframes msg {
    from { top: -60px;}
    to { top: -40px;}
}

.loadAnimation::after {
    content: '';
    animation: loading 2s infinite;
}
@keyframes loading {
    25% { content:"."; }
    50% { content:".."; }
    75% { content:"..."; }
    100% { content:"...."; }
}

@font-face {
    font-family: josefin;
    src: url(/public/fonts/JosefinSans-Regular.ttf);
}

@media only screen and (max-width: 1000px) {
    #home {
        display: grid;
        place-items: center;
    }
    #page {
        margin-top: 20px;
        width: 100%;
    }
}