body{
	margin: 0;
	background-color: black;
	min-width: 700px;
	overflow-x: hidden;
}

main{
	margin: auto;
	font-family: Comic Relief, sans-serif;
}

#container{
	display: flex;
	flex-direction: row;
	height: 10%;
	background-color: orange;
	gap: 10px;
	justify-content: space-between;
	position: fixed;
	top: 0;
	width: 100%;
	align-items: center;
	z-index: 1;
}

div img{
	height: 65px;
	width: 75px;
	
}

#MenyRubrik{
	margin: 0;
	justify-self: center;
	font-family: Bungee Spice, sans-serif;
	font-size: 45px;
}

#VemareamiSidaP{
	margin: 0;
	justify-self: center;
	font-family: Coral Pixels, sans-serif;
	font-size: 45px;
}


ul{
	list-style-type: none;
	margin-right: 20px;
}


li a{
	display: block;
	width: 70px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: white;
	text-decoration: none;
	color: black;
	font-size: 16px;
	font-family: sans-serif;
	text-align: center;
	border: 2px solid black;
}

ul li ul{
	display: none;
	position: absolute;
	right: 0;
	
}

li a:hover{
	background-color: rgb(186, 94, 25);
	transition: 0.5s;
}


li:focus-within > ul{
	display: block;
}

#cointainerWhoIsAmiVideo{
	display: flex;
	flex-direction: column;
	margin-top: 65px;
	z-index: 0;
}

video{
	flex: 1;
}


#AmiBackground {
    overflow: hidden;
}

#AmiBackground img {
    width: 100%;
    height: 800px;
    
    display: block;
}

#TextOmAmi{
	margin-top: 65px;
	flex: 5;
	background-color: whitesmoke;
	padding-top: 40px;
	border-left: 4px solid black;
	border-right: 4px solid black;
	margin-left: 20px;
	margin-right: 20px;
}

#textStorlek{
	margin-right: 50px;
	margin-left: 50px;
	margin-bottom: 25px;
}

#containerAfrica{
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	height: 150px;
	gap: 100px;
	margin-left: 60px;
	margin-right: 60px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.amiFrågaKnapp {
  flex: 1;
  background-color: gray;
  border: 3px solid black;
  cursor: pointer;
  transition: background-color 0.3s;
}
.amiFrågaKnapp:hover {
  background-color: darkgray;
}


.AmiFrågorText {
  text-align: center;
  font-size: 40px;
}

#VartAmiRandBilderVisas{
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	height: 250px;
	gap: 100px;
	margin-right: 60px;
	margin-left: 60px;
	margin-top: 10px;
	margin-bottom: 30px;
	

}

.amiBildContainer {
  flex: 1;
  background-color: whitesmoke;
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.amiBildContainer img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

#footer{
	background-color: black;
	height: 200px;
	border-top: 4px solid grey;

}

#footerText{
	display: flex;
	gap: 20px;
	justify-content: center;
	padding-top:80px;
	color: grey;
}



@media (max-width: 768px) {
  #mobilWrapper {
    flex-direction: column;
    position: relative;
  }

  #containerAfrica{
  	flex-direction: column;
    width: 150px;
    align-items: center;
    display: flex;
    gap: 0;
    height: 50px;

  }

  #VartAmiRandBilderVisas {
    flex-direction: column;
    width: 250px;
    align-items: center;
    display: flex;
    gap: 20px;
    position: absolute;
    top: 25px;
    left: 150px;
    height: 700px;
  }

  #footer{
  	margin-top: 700px;
  }

  

  
}

