
* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body 
{
    line-height: 1.6;
    background: #e0dcd3;
    color: #383024;
        
}

img {
    max-width: 100%;
    height: auto;
    
}
.video 
{
    margin: 2rem;
}
.serv
{
    margin-bottom: 2rem;
}

header 
{
    background: #362e25;
    color: #d7d5d1;
    padding: 0;
    text-align: center;
    border-bottom: 1px solid #2f2823;
    position: relative;   
    overflow: hidden; 
}

header p 
{
    position: relative;
    z-index: 2;        
    margin: 0;
    padding: 2rem;
    color: #d7d5d1;
}

.front 
 {
    background-color: #4a3e32;
    color: rgb(146, 89, 89);
    padding: 0; 
    text-align: center;
    position: relative;
    min-height: 100vh;
}

#myVideo 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
 }

.front h2 
{
    font-size: 2.5rem;
     margin-bottom: 15px; 
}

.front p 
{
    color: #bbb;
}

.parent 
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 0 2rem;
}


.parent > *:first-child 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

 .texti 
{
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.mynda 
{
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
 
.maps {
    
    text-align: center;
    max-width: 100%;
}

.video {
	width: 90%; 

}

.video iframe {
	width: 90%;             /* ath! hér er hægt að stjórna breiddinni*/
	height: 100%;
	aspect-ratio: 16 / 9;   /* keeps 16:9 */
	display: block;
	border: 0;
	margin: 0 auto 1rem auto;         /* iframe miðjusett í .video */
}

footer 
{
    background: #2c2720;
    color: #b09d88;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    border-top: 1px solid #392f26;
}

.texti 
{ 
    text-align: justify;
    padding-left: 1rem;
    padding-right: 1rem;
}  

  h1 
{
    text-align: center; 
    margin-top: 2rem;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
}
.front h1 
{
    font-size: 2rem;
}
    
footer iframe {
    max-width:700px;
    margin:auto;
}
@media screen and (max-width: 768px) 
{
    .parent 
    {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
}





                 
