html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}
.theory {
    color: rgb(71, 51, 255);
}

body {
    line-height: 1.4;
    font-family: "Anek Tamil";
    background-image: url(hauntyou.mp4);
    background-image: linear-gradient(rgb(24, 32, 18), rgb(7, 8, 6));
    color: rgb(255, 255, 255);
    margin: 0;
}
.title {
    color: rgb(0, 186, 0);
}
h2 {
    color: white;
}
p {
    color: #ffffff;
}
b {
    color: rgba(0, 0, 0, 0.5);
}
.box {
    color:#ffffff;
    background-color: rgb(2, 70, 27);
    border-radius: 5px;
}
.catalogue h1 {
    background-color: rgb(20, 68, 36);
    margin: 10px 1em 30px 1em;
    border-radius: 10px;
}
.catalogue h1:hover {
    background-color: rgb(8, 27, 16); 
}
.footer1 {
    text-align: center;
}
.fav {
    color:rgb(0, 148, 0);
}
.bad {
    color:rgb(155, 0, 0);
}
.bad10 {
    color:rgb(155, 0, 0);
    text-decoration: line-through;
}
figcaption {
    text-align: center;
}
.rating {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1px;
    font-size: 300%;
}
.linktext {
    color: #ffffff;
}
.link {
    color: #ffffff;
    background-color: #212121;
    border-radius: 5px;
    padding: 1px;
    text-decoration: none;
}
.ten {
    background-color: #212121;
    margin: 0px 3em 20px 3em;
    border-radius: 10px;
    padding: 1px;
    font-size: 300%;
    color: rgb(255, 242, 0);
}
img {
    max-width: 100%;
    height: auto;
    display:block;
    margin:10px;
    box-shadow:-5px 5px 3px rgba(0, 0, 0, 0.4);
    margin-left: auto;
    margin-right: auto;
}
.bg-grunnur img:hover {
    box-shadow:0 0 10px 5px rgb(255, 255, 255);
}
.text {
    background-color: #142115;
    border-radius: 2%;
    padding: 2em;
    box-shadow:-5px 5px 3px rgba(0, 0, 0, 0.4);
}
.lyric {
    color: rgb(76, 139, 91);
}
h4 {
    color: rgb(0, 0, 0);
    text-shadow: 3px 3px 3px, rgb(255, 255, 255);
}
figure {
    margin: 0;
}
.header, .main, .footer {
    padding: .5em;
}
h1 {
    text-shadow: 3px 3px 3px black;
}
.header h1, div h1 {
    font-size: 1.5em;
    position: relative;
    text-align: center;
    font-family: Montserrat;
}
.topnav {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
}
.promo a {
    display: block;
    color: rgb(235, 210, 143);
    text-shadow: 2px 2px 2px black;
    text-decoration: none;
}
div a {
    color:rgb(255, 255, 255);
    text-decoration: none;
}
.footer {
    line-height: 1.8;
}
.promo a {
    color: rgb(235, 210, 143);
    text-decoration: none;
}
.promo a:visited {
    color:rgb(255, 170, 170)
}
.promo a:hover, a:active {
    text-decoration: underline;
}
.verkefni {
    display: none;
}
.main, .main a {
    color: rgb(0, 0, 0);
}
.col-2, .col-3, .col-4 {
    display: grid;
}
.col-4 {
    text-align: center;
}
.copy {
    text-align: center;
}
blockquote {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
}
.back {
    display: block;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 0 .4em;
    text-decoration: none;
    font-size: 1.5em;
    position: fixed;
    top: .4em;
    right: .4em;
}
.white {
    color: white;
    text-shadow: 2px 2px 3px black;
}
.video {
    display: grid;
    text-align: center;
    gap: 2em;
}
@media screen and (min-width:37.5em){
    .col-2, .col-3 {
        grid-template-columns: 1fr;
        gap: 2em;
        row-gap: .3em;
    }
    .topnav {
        margin-top: 3.5em;
    }
    .innerlinks {
        display: flex;
        flex-flow: row wrap;
    }
    .innerlinks a {
        border: 0;
    }
    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (min-width:48em) {
    body {
        line-height: 1.5;
    }
    .header h1 {
        font-size: 4em;
    }
    .rating {
        margin: 0px 8em 20px 8em;
    }
    .text {
        margin: 0px 4em 20px 4em;
    }
    .verkefni {
        display: block;
        text-align: right;
    }
    .topnav {
        display: flex;
        flex-flow: row;
        justify-content: end;
    }
    .topnav a {
        padding-left: 3em;
    }
    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .topbutt {
        padding: 0 .4em;
        font-size: 2em;
        top: auto;
        bottom: 1em;
        right: 1em;
}
@media screen and (min-width:60em){
    .main {
        display: grid;
        gap: 2em;
    }
    .header, .main, .footer {
        max-width: 60em;
        margin: 0 auto;
    }
    .innerlinks a {
        border-right: 1px solid white;
    }
    .innerlinks a:last-child {
        border:0;
    }
    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
}