* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}






#oscarname{
	position: absolute;
	color: white;
	font-family: "Arial", monospace;
	font-size: 6rem;
	left: 50px;
	top: 10%;
	
}
#title {
	position: relative;
	font-family: "Arial", monospace;
	top: 50px;
	left: 40%;
	color: black;
	font-size: 3rem;
	
}
.subtitle {
	position: relative;
	font-family: "Arial", monospace;
	top: 50px;
	left: 40%;
	color: black;
	
}
h2{
	color: black;
	font-family: "Arial";
}
.titletext {
	color: black;
	font-family: "Arial", monospace;
	font-size: 3rem;
}
.generaltext {
	color: black;
	font-family: "Arial",Helvetica, sans-serif;
}
#title1 {
	position: relative;
	left: 320px; 
}
#title2 {
	position: relative;
	left: 620px;
}
.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 40px;
	text-align: center;
}
.card img {
	width: 600px;
	height: 360px;
	
	
}
.card h2 {
	margin-bottom: 10px;
}
.linkimgs {
	position: relative;
	bottom: -5px;
	left: 50%;
	
	display: flex;
	justify-content: center;
	gap: 20px;
}
#miniimage1 {
	position: relative;
	left: 300px;
}
#miniimage2 {
	position: relative;
	left: 320px;
}
.banner {
	width: 100%;
	height: 300px;
	background-image: url("images/oscarcamera.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
header {
	position: relative;
	
}
#homebutton {
	position: absolute;
	top: 10px;
	left: 20px;
	width: 80px;
	height: auto;
}
#plug {
	position: relative;
	color: black;
	left: 50%;
}


@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;  
        gap: 20px;
		padding: 20px;
		margin: 0 auto;
		width: 100%;
		box-sizing: border-box;
    }
    
    .card img {
        width: 100%;
        height: 250px;
    }
    
    
}


@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr; 
        gap: 15px;
		padding: 20px;
		width: 100%;
		box-sizing: border-box;
    }
    
	
    #oscarname {
        font-size: 1.5rem;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
    }
    
    
    .gallery-container {
        gap: 8px;
    }
    
    #homebutton {
        width: 60px;
        top: 10px;
        right: 10px;
    }
}





@media (max-width: 768px) {
    .grid-container,
    .gallery-container,
    .projects-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    
    .home-button,
    #homebutton {
        width: 50px;
        height: auto;
    }
    
    
    .gallery-container {
        gap: 8px;
    }
    
    
    .project-card {
        padding: 15px;
    }
    
    
    
}




@media (max-width: 768px) {
    
    .banner {
        width: 100%; 
		height: 200px;
		background-size: cover;
		background-position: center;
        margin: 0;  
        
        
    }
    
    
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden; 
    }
    
    .banner img,
    div[class*="banner"] {
        width: 100%;
        object-fit: cover;
    }
}


