@import url("master.css");

header section#intro {
	text-align: center;
	margin-top: 80px;
    padding: 0 20px;
}

header section#intro h1 {
	font-size: clamp(32px, 8vw, 40px);
	width: 100%;
    max-width: 600px;
	margin: 0 auto;
}

header section#intro p {
	font-size: clamp(18px, 4vw, 22px);
	width: 100%;
    max-width: 600px;
	margin: 20px auto;
}
header section#screenshot {
	text-align: center;
    padding: 0 20px;
}
header section#screenshot img {
	width: 100%;
    max-width: 900px;
    height: auto;
}
section#connect {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to bottom, #a72222, rgb(94, 25, 25));
	color: white;
    padding: 100px 20px;
    flex-wrap: wrap;
    gap: 40px;
}

section#connect section:nth-of-type(1) {
	width: 100%;
    max-width: 600px;
}
section#connect section:nth-of-type(1) h1{
	font-size: clamp(40px, 8vw, 64px);
}
section#connect section:nth-of-type(1) p{
	font-size: clamp(18px, 4vw, 24px);
    margin-top: 20px;
}
section#connect section:nth-of-type(2) {
	width: 100%;
    max-width: 600px;
	display: flex;
	justify-content: center;
}
section#connect section:nth-of-type(2) img {
	width: 100%;
    max-width: 600px;
    height: auto;
}
section#school{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
    max-width: 1200px;
	margin: 100px auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 50px;
}
section#school section:nth-of-type(1) {
    width: 100%;
    max-width: 600px;
}
section#school section:nth-of-type(1) h1 {
	width: 100%;
	font-size: clamp(28px, 5vw, 35px);
}
section#school section:nth-of-type(1) p{
	width: 100%;
	font-size: 16px;
	margin-top: 30px;
}
section#school section:nth-of-type(1) button{
	margin-top: 40px;
}
section#school section:nth-of-type(2) {
	width: 100%;
    max-width: 500px;
}
section#school section:nth-of-type(2) img{
	width: 100%;
    height: auto;
} 
section#home{
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
    align-items: center;
	width: 100%;
    max-width: 1200px;
	margin: 100px auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 50px;
}
section#home section:nth-of-type(1) {
    width: 100%;
    max-width: 600px;
}
section#home section:nth-of-type(1) h1 {
	width: 100%;
	font-size: clamp(28px, 5vw, 35px);
}
section#home section:nth-of-type(1) p{
	width: 100%;
	font-size: 16px;
	margin-top: 20px;
}
section#home section:nth-of-type(2) {
	width: 100%;
    max-width: 500px;
}
section#home section:nth-of-type(2) img {
	width: 100%;
    height: auto;
} 
section#home section:nth-of-type(1) button{
	margin-top: 40px;
}

@media (max-width: 1100px) {
    header section#screenshot {
        margin-bottom: 40px;
    }

    section#connect {
        text-align: center;
        margin: 0 auto;
        padding: 80px 20px;
    }

    section#school, section#home {
        text-align: center;
        margin: 80px auto;
    }

    section#connect section:nth-of-type(1), 
    section#school section:nth-of-type(1), 
    section#home section:nth-of-type(1) {
        text-align: center;
    }
}
