* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 97%;
}
@media print {
     nav,button,.navigation,.rateme {
         display: none;
     }
     @page {size: landscape}
}

body {
	padding: 25px 25px 25px 75px;
	font-family: 'open sans';
	background-color: #f0f0f0;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#dropHover {
	display: none;
	position: fixed;
	z-index: 5;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 250px;
	color: hsla(0, 0%, 100%, 0.8);
	font-size: 25vmax;
	text-align: center;
	background-color: hsla(0, 0%, 0%, 0.5);
}

/* header */

header {
	height: 50px;
}

header img {
	height: 50px;
}

nav {
	position: fixed;
	z-index: 1;
	top: 25px;
	left: 25px;
}

nav a {
	display: block;
	height: 40px;
	width: 40px;
	padding: 8px;
	margin: 8px 0;
	border-radius: 4px;
	text-align: center;
	color: #d22200;
	text-decoration: none;
	background-color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

nav a:hover {
	background-color: #d22200;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(210, 34, 0, 0.3);
}

/* main - SWOT grid */

main {
	height: calc(100% - 50px);
}

.swot-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 10px;
	height: 100%;
	width: 100%;
}

/* SWOT sections */
section {
	float: left;
	position: relative;
	padding: 10px;
	padding-top: 35px;
	overflow: hidden;
}

section h1 {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 5px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	cursor: help;
}

section i.fa {
	position: absolute;
	z-index: 0;
	bottom: 0;
	right: 0;
	font-size: 100px;
	color: hsla(0, 0%, 0%, 0.1);
}

section button {
	position: absolute;
	top: 35px;
	right: 5px;
	border: none;
	background-color: hsla(0, 0%, 100%, 0.5);
	padding: 5px 8px;
	cursor: pointer;
	font-size: 11px;
	font-family: inherit;
	border-radius: 4px;
	transition: all 0.3s ease;
}

section button:hover {
	background-color: hsla(0, 0%, 100%, 0.9);
}

section ul {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 30px;
}

section li {
	display: inline-block;
	position: relative;
	z-index: 2;
	padding: 5px 8px;
	margin: 2px;
	cursor: pointer;
	font-family: 'coming soon';
	font-size: 12px;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	transition: all ease 0.3s;
}

section li:hover {
	text-decoration: line-through;
	opacity: 0.6;
}

/* SWOT Colors */
.strengths {
	background-color: #27ae60;
}

.strengths h1 {
	background-color: #1e8449;
}

.weaknesses {
	background-color: #e74c3c;
}

.weaknesses h1 {
	background-color: #c0392b;
}

.opportunities {
	background-color: #3498db;
}

.opportunities h1 {
	background-color: #2980b9;
}

.threats {
	background-color: #f39c12;
}

.threats h1 {
	background-color: #d68910;
}

/* Modals */
.subscription-modal,
.info-modal,
.add-item-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
}

.subscription-modal-content,
.info-modal-content,
.add-item-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 35px 40px;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #d22200;
    overflow-y: auto;
}

.info-modal-content {
    max-width: 550px;
}

.modal-icon {
    background-color: #d22200;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon i {
    font-size: 28px;
    color: #fff;
}

.subscription-modal-content h2,
.info-modal-content h2,
.add-item-modal-content h2 {
    margin: 0 0 10px;
    color: #2c3e50;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.info-modal-content h2 i,
.add-item-modal-content h2 i {
    margin-right: 10px;
    color: #d22200;
}

.modal-subtitle {
    color: #7f8c8d;
    font-size: 14px;
    text-align: center;
    margin: 0 0 25px;
    line-height: 1.5;
}

#subscription-form {
    margin-bottom: 15px;
}

#subscription-form input[type="email"],
#subscription-form input[type="text"],
#subscription-form select,
#add-item-form input[type="text"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 12px;
}

#subscription-form input[type="email"]:focus,
#subscription-form input[type="text"]:focus,
#subscription-form select:focus,
#add-item-form input[type="text"]:focus {
    outline: none;
    border-color: #d22200;
    background-color: #fff;
}

#subscription-form label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.subscribe-btn,
.add-item-btn {
    width: 100%;
    padding: 14px;
    background-color: #d22200;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.subscribe-btn:hover,
.add-item-btn:hover {
    background-color: #a81b00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 34, 0, 0.3);
}

.subscribe-btn:active,
.add-item-btn:active {
    transform: translateY(0);
}

.subscribe-btn i,
.add-item-btn i {
    font-size: 14px;
}

.privacy-note {
    color: #95a5a6;
    font-size: 12px;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.privacy-note i {
    margin-right: 4px;
    color: #27ae60;
}

.close-subscription,
.close-info,
.close-add-item {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-subscription:hover,
.close-subscription:focus,
.close-info:hover,
.close-info:focus,
.close-add-item:hover,
.close-add-item:focus {
    color: #000;
}

.info-body h3 {
    color: #2c3e50;
    font-size: 16px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.info-body p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 15px 15px 15px 60px;
    }
    
    .swot-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    
    nav {
        left: 10px;
    }
    
    nav a {
        height: 35px;
        width: 35px;
        padding: 6px;
        margin: 5px 0;
    }
}

@media print {
    .swot-grid {
        gap: 5px;
    }
    
    section h1 {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .strengths,
    .weaknesses,
    .opportunities,
    .threats {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
