html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}
body {
    line-height: 1.4;
    font-family: "Anek Tamil";
    background-image: linear-gradient(#1f003d, rgb(24, 2, 21));
    color: rgb(255, 255, 255);
    margin: 0;
}
.center {
    text-align: center;
}
.topnav {
    overflow: hidden;
    background-color: #180421;
  }

  .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: #ffffff;
    color: black;
  }
  
  .topnav a.active {
    background-color: #5204aa;
    color: white;
  }
.weblink {
    background-color: rgb(208, 0, 255);
    margin: 0px 1em 20px 1em;
    border-radius: 25px;
    padding: 3px;
}
.weblink:hover {
    background-color: rgb(46, 0, 48);
}
.review {
    padding-bottom: 30px;
}
.catalogue {
    padding-top: 30px;
}
img{
    max-width: 100%;
    height: auto;
    display:block;
    margin:10px;
    box-shadow:0 0 10px 5px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
}
h2, h4 {
    color: rgb(255, 206, 100);
    text-shadow: 3px 3px 3px, rgb(31, 3, 27,);
}
figure {
    margin: 0;
}
.bg-grunnur {
    background-image: linear-gradient(rgb(47, 17, 87), rgb(113, 1, 141), rgb(113, 1, 141), rgb(255, 24, 217), rgb(187, 0, 156), rgb(145, 20, 20), rgb(117, 6, 6), rgba(80, 191, 255, 0.343), rgb(22, 146, 218), rgb(0, 86, 177), rgb(172, 21, 170), rgb(139, 6, 137), rgb(118, 0, 116), rgb(81, 0, 81));
}
.header h1, div h1 {
    font-size: 1.5em;
    position: relative;
    text-align: center;
    font-family: Montserrat;
    text-shadow: none
}

.promo a {
    display: block;
    color: rgb(88, 121, 233);
    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(255, 67, 255);
    text-decoration: none;
}
.promo a:visited {
    color:rgb(112, 6, 103)
}
.promo a:hover, a:active {
    text-decoration: underline;
}
.verkefni {
    display: none;
}
.main, .main a {
    color: rgb(255, 255, 255);
    text-shadow:  3px 2px 2px rgb(36, 36, 36);
}
.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;
}
.topbutt {
    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;
}
.lucyd {
    text-decoration: underline;
}
.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 1fr;
        gap: 2em;
        row-gap: .3em;
    }
    .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;
    }
    .verkefni {
        display: block;
        text-align: right;
    }
    .col-2 {
        grid-template-columns: 1fr 1fr;
        gap: 2em;
    }
    .col-3 {
        grid-template-columns: 1fr 1fr 1fr;
        /*gap: 2em;*/
    }
    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;
    }
    .col-1 img {
        width: 50%;
    }
    .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;
    }
}
}